fernandals
commited on
Commit
•
4a9399c
1
Parent(s):
bcc818b
Upload model
Browse files- README.md +100 -0
- adapter_config.json +32 -0
- adapter_model.safetensors +3 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +41 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
tags:
|
4 |
+
- trl
|
5 |
+
- sft
|
6 |
+
- generated_from_trainer
|
7 |
+
base_model: NousResearch/Llama-2-13b-hf
|
8 |
+
model-index:
|
9 |
+
- name: results
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# results
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [NousResearch/Llama-2-13b-hf](https://huggingface.co/NousResearch/Llama-2-13b-hf) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.7605
|
21 |
+
|
22 |
+
## Model description
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
+
|
36 |
+
### Training hyperparameters
|
37 |
+
|
38 |
+
The following hyperparameters were used during training:
|
39 |
+
- learning_rate: 0.0002
|
40 |
+
- train_batch_size: 8
|
41 |
+
- eval_batch_size: 8
|
42 |
+
- seed: 42
|
43 |
+
- gradient_accumulation_steps: 2
|
44 |
+
- total_train_batch_size: 16
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- lr_scheduler_warmup_steps: 10
|
48 |
+
- num_epochs: 4
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
53 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
54 |
+
| 1.6794 | 0.1 | 25 | 1.6358 |
|
55 |
+
| 1.6218 | 0.21 | 50 | 1.5895 |
|
56 |
+
| 1.6211 | 0.31 | 75 | 1.5559 |
|
57 |
+
| 1.5658 | 0.41 | 100 | 1.5291 |
|
58 |
+
| 1.5722 | 0.52 | 125 | 1.5006 |
|
59 |
+
| 1.5555 | 0.62 | 150 | 1.4762 |
|
60 |
+
| 1.5135 | 0.72 | 175 | 1.4504 |
|
61 |
+
| 1.5607 | 0.82 | 200 | 1.4317 |
|
62 |
+
| 1.5449 | 0.93 | 225 | 1.4058 |
|
63 |
+
| 1.4032 | 1.03 | 250 | 1.3746 |
|
64 |
+
| 1.3898 | 1.13 | 275 | 1.3365 |
|
65 |
+
| 1.3305 | 1.24 | 300 | 1.3098 |
|
66 |
+
| 1.3502 | 1.34 | 325 | 1.2836 |
|
67 |
+
| 1.3796 | 1.44 | 350 | 1.2635 |
|
68 |
+
| 1.3519 | 1.55 | 375 | 1.2330 |
|
69 |
+
| 1.3051 | 1.65 | 400 | 1.2084 |
|
70 |
+
| 1.3192 | 1.75 | 425 | 1.1841 |
|
71 |
+
| 1.3232 | 1.86 | 450 | 1.1621 |
|
72 |
+
| 1.3408 | 1.96 | 475 | 1.1412 |
|
73 |
+
| 1.1116 | 2.06 | 500 | 1.0925 |
|
74 |
+
| 1.107 | 2.16 | 525 | 1.0628 |
|
75 |
+
| 1.0926 | 2.27 | 550 | 1.0387 |
|
76 |
+
| 1.0772 | 2.37 | 575 | 1.0121 |
|
77 |
+
| 1.0742 | 2.47 | 600 | 0.9918 |
|
78 |
+
| 1.109 | 2.58 | 625 | 0.9706 |
|
79 |
+
| 1.0826 | 2.68 | 650 | 0.9479 |
|
80 |
+
| 1.0857 | 2.78 | 675 | 0.9281 |
|
81 |
+
| 1.0705 | 2.89 | 700 | 0.9112 |
|
82 |
+
| 1.0742 | 2.99 | 725 | 0.8928 |
|
83 |
+
| 0.8945 | 3.09 | 750 | 0.8542 |
|
84 |
+
| 0.861 | 3.2 | 775 | 0.8344 |
|
85 |
+
| 0.8869 | 3.3 | 800 | 0.8198 |
|
86 |
+
| 0.8357 | 3.4 | 825 | 0.8039 |
|
87 |
+
| 0.8726 | 3.51 | 850 | 0.7924 |
|
88 |
+
| 0.8857 | 3.61 | 875 | 0.7809 |
|
89 |
+
| 0.8437 | 3.71 | 900 | 0.7702 |
|
90 |
+
| 0.8384 | 3.81 | 925 | 0.7637 |
|
91 |
+
| 0.819 | 3.92 | 950 | 0.7605 |
|
92 |
+
|
93 |
+
|
94 |
+
### Framework versions
|
95 |
+
|
96 |
+
- PEFT 0.8.2
|
97 |
+
- Transformers 4.37.2
|
98 |
+
- Pytorch 2.2.0+cu121
|
99 |
+
- Datasets 2.17.0
|
100 |
+
- Tokenizers 0.15.1
|
adapter_config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "NousResearch/Llama-2-13b-hf",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"loftq_config": {},
|
12 |
+
"lora_alpha": 32,
|
13 |
+
"lora_dropout": 0.05,
|
14 |
+
"megatron_config": null,
|
15 |
+
"megatron_core": "megatron.core",
|
16 |
+
"modules_to_save": null,
|
17 |
+
"peft_type": "LORA",
|
18 |
+
"r": 16,
|
19 |
+
"rank_pattern": {},
|
20 |
+
"revision": null,
|
21 |
+
"target_modules": [
|
22 |
+
"gate_proj",
|
23 |
+
"q_proj",
|
24 |
+
"v_proj",
|
25 |
+
"down_proj",
|
26 |
+
"o_proj",
|
27 |
+
"k_proj",
|
28 |
+
"up_proj"
|
29 |
+
],
|
30 |
+
"task_type": "CAUSAL_LM",
|
31 |
+
"use_rslora": false
|
32 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c14cd94fe1a3554110cb940fee1140cc8b68fbaeb37434ac69e40c575a648f9f
|
3 |
+
size 134
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "<unk>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": true,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1a8f238a200be6c23fbba0f9a999ab4fe3c09ca303b29805e68cf6659bfb7d89
|
3 |
+
size 131
|
tokenizer_config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": true,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": true,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"bos_token": "<s>",
|
31 |
+
"clean_up_tokenization_spaces": false,
|
32 |
+
"eos_token": "</s>",
|
33 |
+
"legacy": false,
|
34 |
+
"model_max_length": 1000000000000000019884624838656,
|
35 |
+
"pad_token": "<unk>",
|
36 |
+
"sp_model_kwargs": {},
|
37 |
+
"spaces_between_special_tokens": false,
|
38 |
+
"tokenizer_class": "LlamaTokenizer",
|
39 |
+
"unk_token": "<unk>",
|
40 |
+
"use_default_system_prompt": false
|
41 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:73e277323f0a3e5fda543769bbb0ffcf2b85771f74b7b3625a6573ed56ea1bab
|
3 |
+
size 129
|