llama2-13B-supervised-ft-5epochs-411
Browse files- README.md +17 -30
- adapter_config.json +7 -7
- adapter_model.safetensors +2 -2
- tokenizer.json +6 -1
- tokenizer_config.json +3 -3
- training_args.bin +2 -2
README.md
CHANGED
@@ -4,7 +4,7 @@ tags:
|
|
4 |
- trl
|
5 |
- sft
|
6 |
- generated_from_trainer
|
7 |
-
base_model:
|
8 |
model-index:
|
9 |
- name: outputs
|
10 |
results: []
|
@@ -15,9 +15,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# outputs
|
17 |
|
18 |
-
This model
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
- Loss: 2.
|
21 |
|
22 |
## Model description
|
23 |
|
@@ -40,44 +40,31 @@ The following hyperparameters were used during training:
|
|
40 |
- train_batch_size: 1
|
41 |
- eval_batch_size: 1
|
42 |
- seed: 42
|
43 |
-
- gradient_accumulation_steps:
|
44 |
-
- total_train_batch_size:
|
45 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
- lr_scheduler_type: linear
|
47 |
-
- num_epochs:
|
48 |
- mixed_precision_training: Native AMP
|
49 |
|
50 |
### Training results
|
51 |
|
52 |
| Training Loss | Epoch | Step | Validation Loss |
|
53 |
|:-------------:|:-----:|:----:|:---------------:|
|
54 |
-
| 2.
|
55 |
-
| 2.
|
56 |
-
| 2.
|
57 |
-
| 2.
|
58 |
-
| 2.
|
59 |
-
| 2.
|
60 |
-
| 2.
|
61 |
-
| 2.
|
62 |
-
| 2.1723 | 2.12 | 36 | 2.1790 |
|
63 |
-
| 2.1742 | 2.35 | 40 | 2.1687 |
|
64 |
-
| 2.0336 | 2.59 | 44 | 2.1597 |
|
65 |
-
| 2.1124 | 2.82 | 48 | 2.1518 |
|
66 |
-
| 2.1201 | 3.06 | 52 | 2.1449 |
|
67 |
-
| 2.1692 | 3.29 | 56 | 2.1387 |
|
68 |
-
| 2.2336 | 3.53 | 60 | 2.1334 |
|
69 |
-
| 2.0764 | 3.76 | 64 | 2.1288 |
|
70 |
-
| 2.1874 | 4.0 | 68 | 2.1250 |
|
71 |
-
| 2.1178 | 4.24 | 72 | 2.1220 |
|
72 |
-
| 2.1511 | 4.47 | 76 | 2.1199 |
|
73 |
-
| 2.1382 | 4.71 | 80 | 2.1184 |
|
74 |
-
| 2.1022 | 4.94 | 84 | 2.1177 |
|
75 |
|
76 |
|
77 |
### Framework versions
|
78 |
|
79 |
- PEFT 0.8.2
|
80 |
-
- Transformers 4.
|
81 |
-
- Pytorch 2.
|
82 |
-
- Datasets 2.
|
83 |
- Tokenizers 0.15.1
|
|
|
4 |
- trl
|
5 |
- sft
|
6 |
- generated_from_trainer
|
7 |
+
base_model: LLama_weights/tmp
|
8 |
model-index:
|
9 |
- name: outputs
|
10 |
results: []
|
|
|
15 |
|
16 |
# outputs
|
17 |
|
18 |
+
This model was trained from scratch on the None dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 2.1290
|
21 |
|
22 |
## Model description
|
23 |
|
|
|
40 |
- train_batch_size: 1
|
41 |
- eval_batch_size: 1
|
42 |
- seed: 42
|
43 |
+
- gradient_accumulation_steps: 8
|
44 |
+
- total_train_batch_size: 8
|
45 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
- lr_scheduler_type: linear
|
47 |
+
- num_epochs: 1
|
48 |
- mixed_precision_training: Native AMP
|
49 |
|
50 |
### Training results
|
51 |
|
52 |
| Training Loss | Epoch | Step | Validation Loss |
|
53 |
|:-------------:|:-----:|:----:|:---------------:|
|
54 |
+
| 2.3285 | 0.12 | 4 | 2.1680 |
|
55 |
+
| 2.2299 | 0.24 | 8 | 2.1595 |
|
56 |
+
| 2.0283 | 0.35 | 12 | 2.1514 |
|
57 |
+
| 2.3197 | 0.47 | 16 | 2.1442 |
|
58 |
+
| 2.1502 | 0.59 | 20 | 2.1382 |
|
59 |
+
| 2.1846 | 0.71 | 24 | 2.1336 |
|
60 |
+
| 2.2649 | 0.82 | 28 | 2.1306 |
|
61 |
+
| 2.252 | 0.94 | 32 | 2.1290 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
|
63 |
|
64 |
### Framework versions
|
65 |
|
66 |
- PEFT 0.8.2
|
67 |
+
- Transformers 4.37.2
|
68 |
+
- Pytorch 2.2.0+cu118
|
69 |
+
- Datasets 2.17.0
|
70 |
- Tokenizers 0.15.1
|
adapter_config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"alpha_pattern": {},
|
3 |
"auto_mapping": null,
|
4 |
-
"base_model_name_or_path": "
|
5 |
"bias": "none",
|
6 |
"fan_in_fan_out": false,
|
7 |
"inference_mode": true,
|
@@ -9,23 +9,23 @@
|
|
9 |
"layers_pattern": null,
|
10 |
"layers_to_transform": null,
|
11 |
"loftq_config": {},
|
12 |
-
"lora_alpha":
|
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":
|
19 |
"rank_pattern": {},
|
20 |
"revision": null,
|
21 |
"target_modules": [
|
22 |
-
"gate_proj",
|
23 |
"o_proj",
|
24 |
"up_proj",
|
25 |
-
"
|
26 |
-
"
|
27 |
"k_proj",
|
28 |
-
"
|
|
|
29 |
],
|
30 |
"task_type": "CAUSAL_LM",
|
31 |
"use_rslora": false
|
|
|
1 |
{
|
2 |
"alpha_pattern": {},
|
3 |
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "LLama_weights/tmp",
|
5 |
"bias": "none",
|
6 |
"fan_in_fan_out": false,
|
7 |
"inference_mode": 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": 64,
|
19 |
"rank_pattern": {},
|
20 |
"revision": null,
|
21 |
"target_modules": [
|
|
|
22 |
"o_proj",
|
23 |
"up_proj",
|
24 |
+
"v_proj",
|
25 |
+
"gate_proj",
|
26 |
"k_proj",
|
27 |
+
"q_proj",
|
28 |
+
"down_proj"
|
29 |
],
|
30 |
"task_type": "CAUSAL_LM",
|
31 |
"use_rslora": false
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5ca6b86293e72e448256ba721c6cb6d98e35653723bb8c580906d1823fe13d7e
|
3 |
+
size 1001465824
|
tokenizer.json
CHANGED
@@ -1,6 +1,11 @@
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
-
"truncation":
|
|
|
|
|
|
|
|
|
|
|
4 |
"padding": null,
|
5 |
"added_tokens": [
|
6 |
{
|
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
+
"truncation": {
|
4 |
+
"direction": "Right",
|
5 |
+
"max_length": 3200,
|
6 |
+
"strategy": "LongestFirst",
|
7 |
+
"stride": 0
|
8 |
+
},
|
9 |
"padding": null,
|
10 |
"added_tokens": [
|
11 |
{
|
tokenizer_config.json
CHANGED
@@ -38,12 +38,12 @@
|
|
38 |
"bos_token": "<s>",
|
39 |
"clean_up_tokenization_spaces": false,
|
40 |
"eos_token": "</s>",
|
41 |
-
"legacy":
|
42 |
"model_max_length": 1000000000000000019884624838656,
|
43 |
"pad_token": "[PAD]",
|
44 |
"sp_model_kwargs": {},
|
|
|
45 |
"tokenizer_class": "LlamaTokenizer",
|
46 |
"unk_token": "<unk>",
|
47 |
-
"use_default_system_prompt": false
|
48 |
-
"use_fast": false
|
49 |
}
|
|
|
38 |
"bos_token": "<s>",
|
39 |
"clean_up_tokenization_spaces": false,
|
40 |
"eos_token": "</s>",
|
41 |
+
"legacy": true,
|
42 |
"model_max_length": 1000000000000000019884624838656,
|
43 |
"pad_token": "[PAD]",
|
44 |
"sp_model_kwargs": {},
|
45 |
+
"spaces_between_special_tokens": false,
|
46 |
"tokenizer_class": "LlamaTokenizer",
|
47 |
"unk_token": "<unk>",
|
48 |
+
"use_default_system_prompt": false
|
|
|
49 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:665d0f5d76ff011650e9b363c0eeb92bde61fffd61ab1cd09a959010d6ff6457
|
3 |
+
size 4664
|