GaetanMichelet
commited on
Commit
•
5c9fb34
1
Parent(s):
17519aa
Model save
Browse files- README.md +80 -0
- adapter_model.safetensors +1 -1
- all_results.json +9 -0
- train_results.json +9 -0
- trainer_state.json +494 -0
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: meta-llama/Meta-Llama-3.1-8B-Instruct
|
3 |
+
library_name: peft
|
4 |
+
license: llama3.1
|
5 |
+
tags:
|
6 |
+
- trl
|
7 |
+
- sft
|
8 |
+
- generated_from_trainer
|
9 |
+
model-index:
|
10 |
+
- name: Llama-31-8B_task-3_120-samples_config-2
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# Llama-31-8B_task-3_120-samples_config-2
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [meta-llama/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.8608
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 0.0001
|
41 |
+
- train_batch_size: 1
|
42 |
+
- eval_batch_size: 1
|
43 |
+
- seed: 42
|
44 |
+
- distributed_type: multi-GPU
|
45 |
+
- gradient_accumulation_steps: 16
|
46 |
+
- total_train_batch_size: 16
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: cosine
|
49 |
+
- lr_scheduler_warmup_ratio: 0.1
|
50 |
+
- num_epochs: 50
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
55 |
+
|:-------------:|:-------:|:----:|:---------------:|
|
56 |
+
| 2.4469 | 0.9091 | 5 | 2.3539 |
|
57 |
+
| 1.8346 | 2.0 | 11 | 1.4922 |
|
58 |
+
| 0.7576 | 2.9091 | 16 | 0.7652 |
|
59 |
+
| 0.6409 | 4.0 | 22 | 0.5627 |
|
60 |
+
| 0.4304 | 4.9091 | 27 | 0.5238 |
|
61 |
+
| 0.3624 | 6.0 | 33 | 0.4705 |
|
62 |
+
| 0.3967 | 6.9091 | 38 | 0.4452 |
|
63 |
+
| 0.3293 | 8.0 | 44 | 0.4328 |
|
64 |
+
| 0.2432 | 8.9091 | 49 | 0.4302 |
|
65 |
+
| 0.2102 | 10.0 | 55 | 0.4359 |
|
66 |
+
| 0.2004 | 10.9091 | 60 | 0.4583 |
|
67 |
+
| 0.1634 | 12.0 | 66 | 0.4724 |
|
68 |
+
| 0.1177 | 12.9091 | 71 | 0.5530 |
|
69 |
+
| 0.0376 | 14.0 | 77 | 0.7361 |
|
70 |
+
| 0.0204 | 14.9091 | 82 | 0.7768 |
|
71 |
+
| 0.0118 | 16.0 | 88 | 0.8608 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- PEFT 0.12.0
|
77 |
+
- Transformers 4.44.0
|
78 |
+
- Pytorch 2.1.2+cu121
|
79 |
+
- Datasets 2.20.0
|
80 |
+
- Tokenizers 0.19.1
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 167832240
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e12413b31e99e1f61f8453dcb437a5b28b1ad7900debf41e8e009f29eee2f7d0
|
3 |
size 167832240
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 16.0,
|
3 |
+
"total_flos": 1.098992984302551e+17,
|
4 |
+
"train_loss": 0.54680911203931,
|
5 |
+
"train_runtime": 4057.6932,
|
6 |
+
"train_samples": 88,
|
7 |
+
"train_samples_per_second": 1.084,
|
8 |
+
"train_steps_per_second": 0.062
|
9 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 16.0,
|
3 |
+
"total_flos": 1.098992984302551e+17,
|
4 |
+
"train_loss": 0.54680911203931,
|
5 |
+
"train_runtime": 4057.6932,
|
6 |
+
"train_samples": 88,
|
7 |
+
"train_samples_per_second": 1.084,
|
8 |
+
"train_steps_per_second": 0.062
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,494 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.4301711618900299,
|
3 |
+
"best_model_checkpoint": "data/Llama-31-8B_task-3_120-samples_config-2/checkpoint-49",
|
4 |
+
"epoch": 16.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 88,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.18181818181818182,
|
13 |
+
"grad_norm": 3.1685640811920166,
|
14 |
+
"learning_rate": 4.000000000000001e-06,
|
15 |
+
"loss": 2.8174,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.36363636363636365,
|
20 |
+
"grad_norm": 2.785682201385498,
|
21 |
+
"learning_rate": 8.000000000000001e-06,
|
22 |
+
"loss": 2.5884,
|
23 |
+
"step": 2
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.7272727272727273,
|
27 |
+
"grad_norm": 2.4684979915618896,
|
28 |
+
"learning_rate": 1.6000000000000003e-05,
|
29 |
+
"loss": 2.4469,
|
30 |
+
"step": 4
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.9090909090909091,
|
34 |
+
"eval_loss": 2.3539235591888428,
|
35 |
+
"eval_runtime": 21.0038,
|
36 |
+
"eval_samples_per_second": 1.143,
|
37 |
+
"eval_steps_per_second": 1.143,
|
38 |
+
"step": 5
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 1.0909090909090908,
|
42 |
+
"grad_norm": 2.485983371734619,
|
43 |
+
"learning_rate": 2.4e-05,
|
44 |
+
"loss": 2.2775,
|
45 |
+
"step": 6
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 1.4545454545454546,
|
49 |
+
"grad_norm": 3.0354607105255127,
|
50 |
+
"learning_rate": 3.2000000000000005e-05,
|
51 |
+
"loss": 2.253,
|
52 |
+
"step": 8
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 1.8181818181818183,
|
56 |
+
"grad_norm": 2.2072792053222656,
|
57 |
+
"learning_rate": 4e-05,
|
58 |
+
"loss": 1.8346,
|
59 |
+
"step": 10
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 2.0,
|
63 |
+
"eval_loss": 1.4921633005142212,
|
64 |
+
"eval_runtime": 21.0005,
|
65 |
+
"eval_samples_per_second": 1.143,
|
66 |
+
"eval_steps_per_second": 1.143,
|
67 |
+
"step": 11
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"epoch": 2.1818181818181817,
|
71 |
+
"grad_norm": 2.2485885620117188,
|
72 |
+
"learning_rate": 4.8e-05,
|
73 |
+
"loss": 1.5834,
|
74 |
+
"step": 12
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 2.5454545454545454,
|
78 |
+
"grad_norm": 1.686313509941101,
|
79 |
+
"learning_rate": 5.6000000000000006e-05,
|
80 |
+
"loss": 1.2001,
|
81 |
+
"step": 14
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 2.909090909090909,
|
85 |
+
"grad_norm": 1.5054450035095215,
|
86 |
+
"learning_rate": 6.400000000000001e-05,
|
87 |
+
"loss": 0.7576,
|
88 |
+
"step": 16
|
89 |
+
},
|
90 |
+
{
|
91 |
+
"epoch": 2.909090909090909,
|
92 |
+
"eval_loss": 0.7652478218078613,
|
93 |
+
"eval_runtime": 20.9987,
|
94 |
+
"eval_samples_per_second": 1.143,
|
95 |
+
"eval_steps_per_second": 1.143,
|
96 |
+
"step": 16
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 3.2727272727272725,
|
100 |
+
"grad_norm": 0.7856181263923645,
|
101 |
+
"learning_rate": 7.2e-05,
|
102 |
+
"loss": 0.53,
|
103 |
+
"step": 18
|
104 |
+
},
|
105 |
+
{
|
106 |
+
"epoch": 3.6363636363636362,
|
107 |
+
"grad_norm": 1.1085258722305298,
|
108 |
+
"learning_rate": 8e-05,
|
109 |
+
"loss": 0.6365,
|
110 |
+
"step": 20
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 4.0,
|
114 |
+
"grad_norm": 1.0253838300704956,
|
115 |
+
"learning_rate": 8.800000000000001e-05,
|
116 |
+
"loss": 0.6409,
|
117 |
+
"step": 22
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 4.0,
|
121 |
+
"eval_loss": 0.5626702308654785,
|
122 |
+
"eval_runtime": 21.0032,
|
123 |
+
"eval_samples_per_second": 1.143,
|
124 |
+
"eval_steps_per_second": 1.143,
|
125 |
+
"step": 22
|
126 |
+
},
|
127 |
+
{
|
128 |
+
"epoch": 4.363636363636363,
|
129 |
+
"grad_norm": 1.1476973295211792,
|
130 |
+
"learning_rate": 9.6e-05,
|
131 |
+
"loss": 0.4895,
|
132 |
+
"step": 24
|
133 |
+
},
|
134 |
+
{
|
135 |
+
"epoch": 4.7272727272727275,
|
136 |
+
"grad_norm": 0.519312858581543,
|
137 |
+
"learning_rate": 9.999512620046522e-05,
|
138 |
+
"loss": 0.4304,
|
139 |
+
"step": 26
|
140 |
+
},
|
141 |
+
{
|
142 |
+
"epoch": 4.909090909090909,
|
143 |
+
"eval_loss": 0.5238025784492493,
|
144 |
+
"eval_runtime": 21.0026,
|
145 |
+
"eval_samples_per_second": 1.143,
|
146 |
+
"eval_steps_per_second": 1.143,
|
147 |
+
"step": 27
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"epoch": 5.090909090909091,
|
151 |
+
"grad_norm": 2.1630260944366455,
|
152 |
+
"learning_rate": 9.995614150494293e-05,
|
153 |
+
"loss": 0.4678,
|
154 |
+
"step": 28
|
155 |
+
},
|
156 |
+
{
|
157 |
+
"epoch": 5.454545454545454,
|
158 |
+
"grad_norm": 0.2825535237789154,
|
159 |
+
"learning_rate": 9.987820251299122e-05,
|
160 |
+
"loss": 0.3661,
|
161 |
+
"step": 30
|
162 |
+
},
|
163 |
+
{
|
164 |
+
"epoch": 5.818181818181818,
|
165 |
+
"grad_norm": 0.2835836708545685,
|
166 |
+
"learning_rate": 9.976136999909156e-05,
|
167 |
+
"loss": 0.3624,
|
168 |
+
"step": 32
|
169 |
+
},
|
170 |
+
{
|
171 |
+
"epoch": 6.0,
|
172 |
+
"eval_loss": 0.470536470413208,
|
173 |
+
"eval_runtime": 20.9986,
|
174 |
+
"eval_samples_per_second": 1.143,
|
175 |
+
"eval_steps_per_second": 1.143,
|
176 |
+
"step": 33
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"epoch": 6.181818181818182,
|
180 |
+
"grad_norm": 1.6048427820205688,
|
181 |
+
"learning_rate": 9.96057350657239e-05,
|
182 |
+
"loss": 0.3769,
|
183 |
+
"step": 34
|
184 |
+
},
|
185 |
+
{
|
186 |
+
"epoch": 6.545454545454545,
|
187 |
+
"grad_norm": 0.4334805905818939,
|
188 |
+
"learning_rate": 9.941141907232765e-05,
|
189 |
+
"loss": 0.4372,
|
190 |
+
"step": 36
|
191 |
+
},
|
192 |
+
{
|
193 |
+
"epoch": 6.909090909090909,
|
194 |
+
"grad_norm": 0.33416426181793213,
|
195 |
+
"learning_rate": 9.917857354066931e-05,
|
196 |
+
"loss": 0.3967,
|
197 |
+
"step": 38
|
198 |
+
},
|
199 |
+
{
|
200 |
+
"epoch": 6.909090909090909,
|
201 |
+
"eval_loss": 0.4451916515827179,
|
202 |
+
"eval_runtime": 20.9951,
|
203 |
+
"eval_samples_per_second": 1.143,
|
204 |
+
"eval_steps_per_second": 1.143,
|
205 |
+
"step": 38
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 7.2727272727272725,
|
209 |
+
"grad_norm": 0.2907244861125946,
|
210 |
+
"learning_rate": 9.890738003669029e-05,
|
211 |
+
"loss": 0.3551,
|
212 |
+
"step": 40
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 7.636363636363637,
|
216 |
+
"grad_norm": 0.22854046523571014,
|
217 |
+
"learning_rate": 9.859805002892732e-05,
|
218 |
+
"loss": 0.2277,
|
219 |
+
"step": 42
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 8.0,
|
223 |
+
"grad_norm": 0.2439097911119461,
|
224 |
+
"learning_rate": 9.825082472361557e-05,
|
225 |
+
"loss": 0.3293,
|
226 |
+
"step": 44
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 8.0,
|
230 |
+
"eval_loss": 0.4328186511993408,
|
231 |
+
"eval_runtime": 20.9972,
|
232 |
+
"eval_samples_per_second": 1.143,
|
233 |
+
"eval_steps_per_second": 1.143,
|
234 |
+
"step": 44
|
235 |
+
},
|
236 |
+
{
|
237 |
+
"epoch": 8.363636363636363,
|
238 |
+
"grad_norm": 0.2829444110393524,
|
239 |
+
"learning_rate": 9.786597487660337e-05,
|
240 |
+
"loss": 0.3193,
|
241 |
+
"step": 46
|
242 |
+
},
|
243 |
+
{
|
244 |
+
"epoch": 8.727272727272727,
|
245 |
+
"grad_norm": 0.5520598292350769,
|
246 |
+
"learning_rate": 9.744380058222483e-05,
|
247 |
+
"loss": 0.2432,
|
248 |
+
"step": 48
|
249 |
+
},
|
250 |
+
{
|
251 |
+
"epoch": 8.909090909090908,
|
252 |
+
"eval_loss": 0.4301711618900299,
|
253 |
+
"eval_runtime": 21.2227,
|
254 |
+
"eval_samples_per_second": 1.131,
|
255 |
+
"eval_steps_per_second": 1.131,
|
256 |
+
"step": 49
|
257 |
+
},
|
258 |
+
{
|
259 |
+
"epoch": 9.090909090909092,
|
260 |
+
"grad_norm": 0.37884312868118286,
|
261 |
+
"learning_rate": 9.698463103929542e-05,
|
262 |
+
"loss": 0.3439,
|
263 |
+
"step": 50
|
264 |
+
},
|
265 |
+
{
|
266 |
+
"epoch": 9.454545454545455,
|
267 |
+
"grad_norm": 0.4332423508167267,
|
268 |
+
"learning_rate": 9.648882429441257e-05,
|
269 |
+
"loss": 0.283,
|
270 |
+
"step": 52
|
271 |
+
},
|
272 |
+
{
|
273 |
+
"epoch": 9.818181818181818,
|
274 |
+
"grad_norm": 0.306794673204422,
|
275 |
+
"learning_rate": 9.595676696276172e-05,
|
276 |
+
"loss": 0.2102,
|
277 |
+
"step": 54
|
278 |
+
},
|
279 |
+
{
|
280 |
+
"epoch": 10.0,
|
281 |
+
"eval_loss": 0.43588265776634216,
|
282 |
+
"eval_runtime": 21.2262,
|
283 |
+
"eval_samples_per_second": 1.131,
|
284 |
+
"eval_steps_per_second": 1.131,
|
285 |
+
"step": 55
|
286 |
+
},
|
287 |
+
{
|
288 |
+
"epoch": 10.181818181818182,
|
289 |
+
"grad_norm": 0.4354619085788727,
|
290 |
+
"learning_rate": 9.538887392664544e-05,
|
291 |
+
"loss": 0.184,
|
292 |
+
"step": 56
|
293 |
+
},
|
294 |
+
{
|
295 |
+
"epoch": 10.545454545454545,
|
296 |
+
"grad_norm": 0.3915146291255951,
|
297 |
+
"learning_rate": 9.478558801197065e-05,
|
298 |
+
"loss": 0.2344,
|
299 |
+
"step": 58
|
300 |
+
},
|
301 |
+
{
|
302 |
+
"epoch": 10.909090909090908,
|
303 |
+
"grad_norm": 0.35923001170158386,
|
304 |
+
"learning_rate": 9.414737964294636e-05,
|
305 |
+
"loss": 0.2004,
|
306 |
+
"step": 60
|
307 |
+
},
|
308 |
+
{
|
309 |
+
"epoch": 10.909090909090908,
|
310 |
+
"eval_loss": 0.4582943022251129,
|
311 |
+
"eval_runtime": 21.2266,
|
312 |
+
"eval_samples_per_second": 1.131,
|
313 |
+
"eval_steps_per_second": 1.131,
|
314 |
+
"step": 60
|
315 |
+
},
|
316 |
+
{
|
317 |
+
"epoch": 11.272727272727273,
|
318 |
+
"grad_norm": 0.5079478621482849,
|
319 |
+
"learning_rate": 9.347474647526095e-05,
|
320 |
+
"loss": 0.149,
|
321 |
+
"step": 62
|
322 |
+
},
|
323 |
+
{
|
324 |
+
"epoch": 11.636363636363637,
|
325 |
+
"grad_norm": 0.5917227864265442,
|
326 |
+
"learning_rate": 9.276821300802534e-05,
|
327 |
+
"loss": 0.1587,
|
328 |
+
"step": 64
|
329 |
+
},
|
330 |
+
{
|
331 |
+
"epoch": 12.0,
|
332 |
+
"grad_norm": 0.5818120837211609,
|
333 |
+
"learning_rate": 9.202833017478422e-05,
|
334 |
+
"loss": 0.1634,
|
335 |
+
"step": 66
|
336 |
+
},
|
337 |
+
{
|
338 |
+
"epoch": 12.0,
|
339 |
+
"eval_loss": 0.47242483496665955,
|
340 |
+
"eval_runtime": 20.9934,
|
341 |
+
"eval_samples_per_second": 1.143,
|
342 |
+
"eval_steps_per_second": 1.143,
|
343 |
+
"step": 66
|
344 |
+
},
|
345 |
+
{
|
346 |
+
"epoch": 12.363636363636363,
|
347 |
+
"grad_norm": 0.4436568319797516,
|
348 |
+
"learning_rate": 9.125567491391476e-05,
|
349 |
+
"loss": 0.0713,
|
350 |
+
"step": 68
|
351 |
+
},
|
352 |
+
{
|
353 |
+
"epoch": 12.727272727272727,
|
354 |
+
"grad_norm": 1.2484676837921143,
|
355 |
+
"learning_rate": 9.045084971874738e-05,
|
356 |
+
"loss": 0.1177,
|
357 |
+
"step": 70
|
358 |
+
},
|
359 |
+
{
|
360 |
+
"epoch": 12.909090909090908,
|
361 |
+
"eval_loss": 0.5530457496643066,
|
362 |
+
"eval_runtime": 21.002,
|
363 |
+
"eval_samples_per_second": 1.143,
|
364 |
+
"eval_steps_per_second": 1.143,
|
365 |
+
"step": 71
|
366 |
+
},
|
367 |
+
{
|
368 |
+
"epoch": 13.090909090909092,
|
369 |
+
"grad_norm": 0.6471790671348572,
|
370 |
+
"learning_rate": 8.961448216775954e-05,
|
371 |
+
"loss": 0.0837,
|
372 |
+
"step": 72
|
373 |
+
},
|
374 |
+
{
|
375 |
+
"epoch": 13.454545454545455,
|
376 |
+
"grad_norm": 0.5037362575531006,
|
377 |
+
"learning_rate": 8.874722443520899e-05,
|
378 |
+
"loss": 0.0458,
|
379 |
+
"step": 74
|
380 |
+
},
|
381 |
+
{
|
382 |
+
"epoch": 13.818181818181818,
|
383 |
+
"grad_norm": 1.0372614860534668,
|
384 |
+
"learning_rate": 8.784975278258783e-05,
|
385 |
+
"loss": 0.0376,
|
386 |
+
"step": 76
|
387 |
+
},
|
388 |
+
{
|
389 |
+
"epoch": 14.0,
|
390 |
+
"eval_loss": 0.7361419796943665,
|
391 |
+
"eval_runtime": 20.9955,
|
392 |
+
"eval_samples_per_second": 1.143,
|
393 |
+
"eval_steps_per_second": 1.143,
|
394 |
+
"step": 77
|
395 |
+
},
|
396 |
+
{
|
397 |
+
"epoch": 14.181818181818182,
|
398 |
+
"grad_norm": 0.38053688406944275,
|
399 |
+
"learning_rate": 8.692276703129421e-05,
|
400 |
+
"loss": 0.0366,
|
401 |
+
"step": 78
|
402 |
+
},
|
403 |
+
{
|
404 |
+
"epoch": 14.545454545454545,
|
405 |
+
"grad_norm": 0.38170501589775085,
|
406 |
+
"learning_rate": 8.596699001693255e-05,
|
407 |
+
"loss": 0.0225,
|
408 |
+
"step": 80
|
409 |
+
},
|
410 |
+
{
|
411 |
+
"epoch": 14.909090909090908,
|
412 |
+
"grad_norm": 0.6007455587387085,
|
413 |
+
"learning_rate": 8.498316702566828e-05,
|
414 |
+
"loss": 0.0204,
|
415 |
+
"step": 82
|
416 |
+
},
|
417 |
+
{
|
418 |
+
"epoch": 14.909090909090908,
|
419 |
+
"eval_loss": 0.7768494486808777,
|
420 |
+
"eval_runtime": 21.0007,
|
421 |
+
"eval_samples_per_second": 1.143,
|
422 |
+
"eval_steps_per_second": 1.143,
|
423 |
+
"step": 82
|
424 |
+
},
|
425 |
+
{
|
426 |
+
"epoch": 15.272727272727273,
|
427 |
+
"grad_norm": 0.11449413001537323,
|
428 |
+
"learning_rate": 8.397206521307584e-05,
|
429 |
+
"loss": 0.01,
|
430 |
+
"step": 84
|
431 |
+
},
|
432 |
+
{
|
433 |
+
"epoch": 15.636363636363637,
|
434 |
+
"grad_norm": 0.4309659004211426,
|
435 |
+
"learning_rate": 8.293447300593402e-05,
|
436 |
+
"loss": 0.0103,
|
437 |
+
"step": 86
|
438 |
+
},
|
439 |
+
{
|
440 |
+
"epoch": 16.0,
|
441 |
+
"grad_norm": 0.4790915250778198,
|
442 |
+
"learning_rate": 8.18711994874345e-05,
|
443 |
+
"loss": 0.0118,
|
444 |
+
"step": 88
|
445 |
+
},
|
446 |
+
{
|
447 |
+
"epoch": 16.0,
|
448 |
+
"eval_loss": 0.8608195185661316,
|
449 |
+
"eval_runtime": 21.0029,
|
450 |
+
"eval_samples_per_second": 1.143,
|
451 |
+
"eval_steps_per_second": 1.143,
|
452 |
+
"step": 88
|
453 |
+
},
|
454 |
+
{
|
455 |
+
"epoch": 16.0,
|
456 |
+
"step": 88,
|
457 |
+
"total_flos": 1.098992984302551e+17,
|
458 |
+
"train_loss": 0.54680911203931,
|
459 |
+
"train_runtime": 4057.6932,
|
460 |
+
"train_samples_per_second": 1.084,
|
461 |
+
"train_steps_per_second": 0.062
|
462 |
+
}
|
463 |
+
],
|
464 |
+
"logging_steps": 2,
|
465 |
+
"max_steps": 250,
|
466 |
+
"num_input_tokens_seen": 0,
|
467 |
+
"num_train_epochs": 50,
|
468 |
+
"save_steps": 25,
|
469 |
+
"stateful_callbacks": {
|
470 |
+
"EarlyStoppingCallback": {
|
471 |
+
"args": {
|
472 |
+
"early_stopping_patience": 7,
|
473 |
+
"early_stopping_threshold": 0.0
|
474 |
+
},
|
475 |
+
"attributes": {
|
476 |
+
"early_stopping_patience_counter": 0
|
477 |
+
}
|
478 |
+
},
|
479 |
+
"TrainerControl": {
|
480 |
+
"args": {
|
481 |
+
"should_epoch_stop": false,
|
482 |
+
"should_evaluate": false,
|
483 |
+
"should_log": false,
|
484 |
+
"should_save": true,
|
485 |
+
"should_training_stop": true
|
486 |
+
},
|
487 |
+
"attributes": {}
|
488 |
+
}
|
489 |
+
},
|
490 |
+
"total_flos": 1.098992984302551e+17,
|
491 |
+
"train_batch_size": 1,
|
492 |
+
"trial_name": null,
|
493 |
+
"trial_params": null
|
494 |
+
}
|