GaetanMichelet
commited on
Commit
•
63d4cff
1
Parent(s):
2cb00e9
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 +662 -0
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: google/gemma-2-2b-it
|
3 |
+
library_name: peft
|
4 |
+
license: gemma
|
5 |
+
tags:
|
6 |
+
- trl
|
7 |
+
- sft
|
8 |
+
- generated_from_trainer
|
9 |
+
model-index:
|
10 |
+
- name: Gemma-2-2B_task-2_180-samples_config-2_full_auto
|
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 |
+
# Gemma-2-2B_task-2_180-samples_config-2_full_auto
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [google/gemma-2-2b-it](https://huggingface.co/google/gemma-2-2b-it) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.0305
|
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 |
+
| 1.3006 | 0.9412 | 8 | 1.2976 |
|
57 |
+
| 1.2057 | 2.0 | 17 | 1.1583 |
|
58 |
+
| 1.1024 | 2.9412 | 25 | 1.0637 |
|
59 |
+
| 0.9139 | 4.0 | 34 | 0.9544 |
|
60 |
+
| 0.8515 | 4.9412 | 42 | 0.9081 |
|
61 |
+
| 0.863 | 6.0 | 51 | 0.8835 |
|
62 |
+
| 0.8439 | 6.9412 | 59 | 0.8703 |
|
63 |
+
| 0.7927 | 8.0 | 68 | 0.8620 |
|
64 |
+
| 0.7343 | 8.9412 | 76 | 0.8584 |
|
65 |
+
| 0.7243 | 10.0 | 85 | 0.8591 |
|
66 |
+
| 0.6957 | 10.9412 | 93 | 0.8661 |
|
67 |
+
| 0.6372 | 12.0 | 102 | 0.8781 |
|
68 |
+
| 0.6342 | 12.9412 | 110 | 0.8993 |
|
69 |
+
| 0.6126 | 14.0 | 119 | 0.9278 |
|
70 |
+
| 0.5304 | 14.9412 | 127 | 0.9825 |
|
71 |
+
| 0.4754 | 16.0 | 136 | 1.0305 |
|
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 83115256
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5386ce073a492bc4d3de5af2c60b3f075f1b4ac9528a948e2d1ccd66fc4262c0
|
3 |
size 83115256
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 16.0,
|
3 |
+
"total_flos": 7.332060624584704e+16,
|
4 |
+
"train_loss": 0.8212331099545255,
|
5 |
+
"train_runtime": 3120.3597,
|
6 |
+
"train_samples": 136,
|
7 |
+
"train_samples_per_second": 2.179,
|
8 |
+
"train_steps_per_second": 0.128
|
9 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 16.0,
|
3 |
+
"total_flos": 7.332060624584704e+16,
|
4 |
+
"train_loss": 0.8212331099545255,
|
5 |
+
"train_runtime": 3120.3597,
|
6 |
+
"train_samples": 136,
|
7 |
+
"train_samples_per_second": 2.179,
|
8 |
+
"train_steps_per_second": 0.128
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,662 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.8584259152412415,
|
3 |
+
"best_model_checkpoint": "data/Gemma-2-2B_task-2_180-samples_config-2_full_auto/checkpoint-76",
|
4 |
+
"epoch": 16.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 136,
|
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.11764705882352941,
|
13 |
+
"grad_norm": 0.4396458864212036,
|
14 |
+
"learning_rate": 2.5e-06,
|
15 |
+
"loss": 1.3119,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.23529411764705882,
|
20 |
+
"grad_norm": 0.46355336904525757,
|
21 |
+
"learning_rate": 5e-06,
|
22 |
+
"loss": 1.3371,
|
23 |
+
"step": 2
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.47058823529411764,
|
27 |
+
"grad_norm": 0.42811518907546997,
|
28 |
+
"learning_rate": 1e-05,
|
29 |
+
"loss": 1.3332,
|
30 |
+
"step": 4
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.7058823529411765,
|
34 |
+
"grad_norm": 0.4657036364078522,
|
35 |
+
"learning_rate": 1.5e-05,
|
36 |
+
"loss": 1.2805,
|
37 |
+
"step": 6
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.9411764705882353,
|
41 |
+
"grad_norm": 0.39682307839393616,
|
42 |
+
"learning_rate": 2e-05,
|
43 |
+
"loss": 1.3006,
|
44 |
+
"step": 8
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.9411764705882353,
|
48 |
+
"eval_loss": 1.2976187467575073,
|
49 |
+
"eval_runtime": 14.3225,
|
50 |
+
"eval_samples_per_second": 2.514,
|
51 |
+
"eval_steps_per_second": 2.514,
|
52 |
+
"step": 8
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 1.1764705882352942,
|
56 |
+
"grad_norm": 0.4378485083580017,
|
57 |
+
"learning_rate": 2.5e-05,
|
58 |
+
"loss": 1.3197,
|
59 |
+
"step": 10
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 1.4117647058823528,
|
63 |
+
"grad_norm": 0.3689347505569458,
|
64 |
+
"learning_rate": 3e-05,
|
65 |
+
"loss": 1.2581,
|
66 |
+
"step": 12
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"epoch": 1.6470588235294117,
|
70 |
+
"grad_norm": 0.34312155842781067,
|
71 |
+
"learning_rate": 3.5e-05,
|
72 |
+
"loss": 1.2346,
|
73 |
+
"step": 14
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 1.8823529411764706,
|
77 |
+
"grad_norm": 0.32624560594558716,
|
78 |
+
"learning_rate": 4e-05,
|
79 |
+
"loss": 1.2057,
|
80 |
+
"step": 16
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 2.0,
|
84 |
+
"eval_loss": 1.15829336643219,
|
85 |
+
"eval_runtime": 14.3185,
|
86 |
+
"eval_samples_per_second": 2.514,
|
87 |
+
"eval_steps_per_second": 2.514,
|
88 |
+
"step": 17
|
89 |
+
},
|
90 |
+
{
|
91 |
+
"epoch": 2.1176470588235294,
|
92 |
+
"grad_norm": 0.26776188611984253,
|
93 |
+
"learning_rate": 4.5e-05,
|
94 |
+
"loss": 1.1749,
|
95 |
+
"step": 18
|
96 |
+
},
|
97 |
+
{
|
98 |
+
"epoch": 2.3529411764705883,
|
99 |
+
"grad_norm": 0.22213858366012573,
|
100 |
+
"learning_rate": 5e-05,
|
101 |
+
"loss": 1.1029,
|
102 |
+
"step": 20
|
103 |
+
},
|
104 |
+
{
|
105 |
+
"epoch": 2.588235294117647,
|
106 |
+
"grad_norm": 0.2549532949924469,
|
107 |
+
"learning_rate": 5.500000000000001e-05,
|
108 |
+
"loss": 1.1084,
|
109 |
+
"step": 22
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"epoch": 2.8235294117647056,
|
113 |
+
"grad_norm": 0.27232280373573303,
|
114 |
+
"learning_rate": 6e-05,
|
115 |
+
"loss": 1.1024,
|
116 |
+
"step": 24
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 2.9411764705882355,
|
120 |
+
"eval_loss": 1.0637497901916504,
|
121 |
+
"eval_runtime": 14.3197,
|
122 |
+
"eval_samples_per_second": 2.514,
|
123 |
+
"eval_steps_per_second": 2.514,
|
124 |
+
"step": 25
|
125 |
+
},
|
126 |
+
{
|
127 |
+
"epoch": 3.0588235294117645,
|
128 |
+
"grad_norm": 0.2522396445274353,
|
129 |
+
"learning_rate": 6.500000000000001e-05,
|
130 |
+
"loss": 1.0387,
|
131 |
+
"step": 26
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"epoch": 3.2941176470588234,
|
135 |
+
"grad_norm": 0.21561956405639648,
|
136 |
+
"learning_rate": 7e-05,
|
137 |
+
"loss": 1.0127,
|
138 |
+
"step": 28
|
139 |
+
},
|
140 |
+
{
|
141 |
+
"epoch": 3.5294117647058822,
|
142 |
+
"grad_norm": 0.23440401256084442,
|
143 |
+
"learning_rate": 7.500000000000001e-05,
|
144 |
+
"loss": 1.004,
|
145 |
+
"step": 30
|
146 |
+
},
|
147 |
+
{
|
148 |
+
"epoch": 3.764705882352941,
|
149 |
+
"grad_norm": 0.2635060250759125,
|
150 |
+
"learning_rate": 8e-05,
|
151 |
+
"loss": 0.9906,
|
152 |
+
"step": 32
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 4.0,
|
156 |
+
"grad_norm": 0.25140380859375,
|
157 |
+
"learning_rate": 8.5e-05,
|
158 |
+
"loss": 0.9139,
|
159 |
+
"step": 34
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 4.0,
|
163 |
+
"eval_loss": 0.9544374942779541,
|
164 |
+
"eval_runtime": 14.3239,
|
165 |
+
"eval_samples_per_second": 2.513,
|
166 |
+
"eval_steps_per_second": 2.513,
|
167 |
+
"step": 34
|
168 |
+
},
|
169 |
+
{
|
170 |
+
"epoch": 4.235294117647059,
|
171 |
+
"grad_norm": 0.20246362686157227,
|
172 |
+
"learning_rate": 9e-05,
|
173 |
+
"loss": 0.9272,
|
174 |
+
"step": 36
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"epoch": 4.470588235294118,
|
178 |
+
"grad_norm": 0.1751442700624466,
|
179 |
+
"learning_rate": 9.5e-05,
|
180 |
+
"loss": 0.8889,
|
181 |
+
"step": 38
|
182 |
+
},
|
183 |
+
{
|
184 |
+
"epoch": 4.705882352941177,
|
185 |
+
"grad_norm": 0.1525234431028366,
|
186 |
+
"learning_rate": 0.0001,
|
187 |
+
"loss": 0.8834,
|
188 |
+
"step": 40
|
189 |
+
},
|
190 |
+
{
|
191 |
+
"epoch": 4.9411764705882355,
|
192 |
+
"grad_norm": 0.16081523895263672,
|
193 |
+
"learning_rate": 9.999238475781957e-05,
|
194 |
+
"loss": 0.8515,
|
195 |
+
"step": 42
|
196 |
+
},
|
197 |
+
{
|
198 |
+
"epoch": 4.9411764705882355,
|
199 |
+
"eval_loss": 0.9081065058708191,
|
200 |
+
"eval_runtime": 14.3093,
|
201 |
+
"eval_samples_per_second": 2.516,
|
202 |
+
"eval_steps_per_second": 2.516,
|
203 |
+
"step": 42
|
204 |
+
},
|
205 |
+
{
|
206 |
+
"epoch": 5.176470588235294,
|
207 |
+
"grad_norm": 0.15286272764205933,
|
208 |
+
"learning_rate": 9.99695413509548e-05,
|
209 |
+
"loss": 0.8256,
|
210 |
+
"step": 44
|
211 |
+
},
|
212 |
+
{
|
213 |
+
"epoch": 5.411764705882353,
|
214 |
+
"grad_norm": 0.134580597281456,
|
215 |
+
"learning_rate": 9.99314767377287e-05,
|
216 |
+
"loss": 0.861,
|
217 |
+
"step": 46
|
218 |
+
},
|
219 |
+
{
|
220 |
+
"epoch": 5.647058823529412,
|
221 |
+
"grad_norm": 0.1375444233417511,
|
222 |
+
"learning_rate": 9.987820251299122e-05,
|
223 |
+
"loss": 0.8197,
|
224 |
+
"step": 48
|
225 |
+
},
|
226 |
+
{
|
227 |
+
"epoch": 5.882352941176471,
|
228 |
+
"grad_norm": 0.15164963901042938,
|
229 |
+
"learning_rate": 9.980973490458728e-05,
|
230 |
+
"loss": 0.863,
|
231 |
+
"step": 50
|
232 |
+
},
|
233 |
+
{
|
234 |
+
"epoch": 6.0,
|
235 |
+
"eval_loss": 0.8835119605064392,
|
236 |
+
"eval_runtime": 14.3145,
|
237 |
+
"eval_samples_per_second": 2.515,
|
238 |
+
"eval_steps_per_second": 2.515,
|
239 |
+
"step": 51
|
240 |
+
},
|
241 |
+
{
|
242 |
+
"epoch": 6.117647058823529,
|
243 |
+
"grad_norm": 0.1275659203529358,
|
244 |
+
"learning_rate": 9.972609476841367e-05,
|
245 |
+
"loss": 0.8009,
|
246 |
+
"step": 52
|
247 |
+
},
|
248 |
+
{
|
249 |
+
"epoch": 6.352941176470588,
|
250 |
+
"grad_norm": 0.12862518429756165,
|
251 |
+
"learning_rate": 9.962730758206611e-05,
|
252 |
+
"loss": 0.7995,
|
253 |
+
"step": 54
|
254 |
+
},
|
255 |
+
{
|
256 |
+
"epoch": 6.588235294117647,
|
257 |
+
"grad_norm": 0.13512417674064636,
|
258 |
+
"learning_rate": 9.951340343707852e-05,
|
259 |
+
"loss": 0.8078,
|
260 |
+
"step": 56
|
261 |
+
},
|
262 |
+
{
|
263 |
+
"epoch": 6.823529411764706,
|
264 |
+
"grad_norm": 0.12700602412223816,
|
265 |
+
"learning_rate": 9.938441702975689e-05,
|
266 |
+
"loss": 0.8439,
|
267 |
+
"step": 58
|
268 |
+
},
|
269 |
+
{
|
270 |
+
"epoch": 6.9411764705882355,
|
271 |
+
"eval_loss": 0.8702912926673889,
|
272 |
+
"eval_runtime": 14.3215,
|
273 |
+
"eval_samples_per_second": 2.514,
|
274 |
+
"eval_steps_per_second": 2.514,
|
275 |
+
"step": 59
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"epoch": 7.0588235294117645,
|
279 |
+
"grad_norm": 0.1407477855682373,
|
280 |
+
"learning_rate": 9.924038765061042e-05,
|
281 |
+
"loss": 0.8221,
|
282 |
+
"step": 60
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 7.294117647058823,
|
286 |
+
"grad_norm": 0.13812792301177979,
|
287 |
+
"learning_rate": 9.908135917238321e-05,
|
288 |
+
"loss": 0.7923,
|
289 |
+
"step": 62
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"epoch": 7.529411764705882,
|
293 |
+
"grad_norm": 0.1376505196094513,
|
294 |
+
"learning_rate": 9.890738003669029e-05,
|
295 |
+
"loss": 0.7691,
|
296 |
+
"step": 64
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 7.764705882352941,
|
300 |
+
"grad_norm": 0.14402402937412262,
|
301 |
+
"learning_rate": 9.871850323926177e-05,
|
302 |
+
"loss": 0.7609,
|
303 |
+
"step": 66
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"epoch": 8.0,
|
307 |
+
"grad_norm": 0.15684427320957184,
|
308 |
+
"learning_rate": 9.851478631379982e-05,
|
309 |
+
"loss": 0.7927,
|
310 |
+
"step": 68
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"epoch": 8.0,
|
314 |
+
"eval_loss": 0.8620401620864868,
|
315 |
+
"eval_runtime": 14.314,
|
316 |
+
"eval_samples_per_second": 2.515,
|
317 |
+
"eval_steps_per_second": 2.515,
|
318 |
+
"step": 68
|
319 |
+
},
|
320 |
+
{
|
321 |
+
"epoch": 8.235294117647058,
|
322 |
+
"grad_norm": 0.14633484184741974,
|
323 |
+
"learning_rate": 9.829629131445342e-05,
|
324 |
+
"loss": 0.7506,
|
325 |
+
"step": 70
|
326 |
+
},
|
327 |
+
{
|
328 |
+
"epoch": 8.470588235294118,
|
329 |
+
"grad_norm": 0.14848043024539948,
|
330 |
+
"learning_rate": 9.806308479691595e-05,
|
331 |
+
"loss": 0.7807,
|
332 |
+
"step": 72
|
333 |
+
},
|
334 |
+
{
|
335 |
+
"epoch": 8.705882352941176,
|
336 |
+
"grad_norm": 0.14178834855556488,
|
337 |
+
"learning_rate": 9.781523779815179e-05,
|
338 |
+
"loss": 0.7781,
|
339 |
+
"step": 74
|
340 |
+
},
|
341 |
+
{
|
342 |
+
"epoch": 8.941176470588236,
|
343 |
+
"grad_norm": 0.1646076738834381,
|
344 |
+
"learning_rate": 9.755282581475769e-05,
|
345 |
+
"loss": 0.7343,
|
346 |
+
"step": 76
|
347 |
+
},
|
348 |
+
{
|
349 |
+
"epoch": 8.941176470588236,
|
350 |
+
"eval_loss": 0.8584259152412415,
|
351 |
+
"eval_runtime": 14.3158,
|
352 |
+
"eval_samples_per_second": 2.515,
|
353 |
+
"eval_steps_per_second": 2.515,
|
354 |
+
"step": 76
|
355 |
+
},
|
356 |
+
{
|
357 |
+
"epoch": 9.176470588235293,
|
358 |
+
"grad_norm": 0.15060319006443024,
|
359 |
+
"learning_rate": 9.727592877996585e-05,
|
360 |
+
"loss": 0.7412,
|
361 |
+
"step": 78
|
362 |
+
},
|
363 |
+
{
|
364 |
+
"epoch": 9.411764705882353,
|
365 |
+
"grad_norm": 0.1598275899887085,
|
366 |
+
"learning_rate": 9.698463103929542e-05,
|
367 |
+
"loss": 0.7429,
|
368 |
+
"step": 80
|
369 |
+
},
|
370 |
+
{
|
371 |
+
"epoch": 9.647058823529411,
|
372 |
+
"grad_norm": 0.17243456840515137,
|
373 |
+
"learning_rate": 9.667902132486009e-05,
|
374 |
+
"loss": 0.7363,
|
375 |
+
"step": 82
|
376 |
+
},
|
377 |
+
{
|
378 |
+
"epoch": 9.882352941176471,
|
379 |
+
"grad_norm": 0.18578656017780304,
|
380 |
+
"learning_rate": 9.635919272833938e-05,
|
381 |
+
"loss": 0.7243,
|
382 |
+
"step": 84
|
383 |
+
},
|
384 |
+
{
|
385 |
+
"epoch": 10.0,
|
386 |
+
"eval_loss": 0.8590600490570068,
|
387 |
+
"eval_runtime": 14.313,
|
388 |
+
"eval_samples_per_second": 2.515,
|
389 |
+
"eval_steps_per_second": 2.515,
|
390 |
+
"step": 85
|
391 |
+
},
|
392 |
+
{
|
393 |
+
"epoch": 10.117647058823529,
|
394 |
+
"grad_norm": 0.18428955972194672,
|
395 |
+
"learning_rate": 9.602524267262203e-05,
|
396 |
+
"loss": 0.7048,
|
397 |
+
"step": 86
|
398 |
+
},
|
399 |
+
{
|
400 |
+
"epoch": 10.352941176470589,
|
401 |
+
"grad_norm": 0.2186216115951538,
|
402 |
+
"learning_rate": 9.567727288213005e-05,
|
403 |
+
"loss": 0.7212,
|
404 |
+
"step": 88
|
405 |
+
},
|
406 |
+
{
|
407 |
+
"epoch": 10.588235294117647,
|
408 |
+
"grad_norm": 0.19397258758544922,
|
409 |
+
"learning_rate": 9.53153893518325e-05,
|
410 |
+
"loss": 0.6943,
|
411 |
+
"step": 90
|
412 |
+
},
|
413 |
+
{
|
414 |
+
"epoch": 10.823529411764707,
|
415 |
+
"grad_norm": 0.2317022830247879,
|
416 |
+
"learning_rate": 9.493970231495835e-05,
|
417 |
+
"loss": 0.6957,
|
418 |
+
"step": 92
|
419 |
+
},
|
420 |
+
{
|
421 |
+
"epoch": 10.941176470588236,
|
422 |
+
"eval_loss": 0.8660648465156555,
|
423 |
+
"eval_runtime": 14.3176,
|
424 |
+
"eval_samples_per_second": 2.514,
|
425 |
+
"eval_steps_per_second": 2.514,
|
426 |
+
"step": 93
|
427 |
+
},
|
428 |
+
{
|
429 |
+
"epoch": 11.058823529411764,
|
430 |
+
"grad_norm": 0.209140807390213,
|
431 |
+
"learning_rate": 9.45503262094184e-05,
|
432 |
+
"loss": 0.7243,
|
433 |
+
"step": 94
|
434 |
+
},
|
435 |
+
{
|
436 |
+
"epoch": 11.294117647058824,
|
437 |
+
"grad_norm": 0.22573913633823395,
|
438 |
+
"learning_rate": 9.414737964294636e-05,
|
439 |
+
"loss": 0.7136,
|
440 |
+
"step": 96
|
441 |
+
},
|
442 |
+
{
|
443 |
+
"epoch": 11.529411764705882,
|
444 |
+
"grad_norm": 0.23610715568065643,
|
445 |
+
"learning_rate": 9.373098535696979e-05,
|
446 |
+
"loss": 0.649,
|
447 |
+
"step": 98
|
448 |
+
},
|
449 |
+
{
|
450 |
+
"epoch": 11.764705882352942,
|
451 |
+
"grad_norm": 0.26594263315200806,
|
452 |
+
"learning_rate": 9.330127018922194e-05,
|
453 |
+
"loss": 0.6808,
|
454 |
+
"step": 100
|
455 |
+
},
|
456 |
+
{
|
457 |
+
"epoch": 12.0,
|
458 |
+
"grad_norm": 0.272132009267807,
|
459 |
+
"learning_rate": 9.285836503510562e-05,
|
460 |
+
"loss": 0.6372,
|
461 |
+
"step": 102
|
462 |
+
},
|
463 |
+
{
|
464 |
+
"epoch": 12.0,
|
465 |
+
"eval_loss": 0.8780656456947327,
|
466 |
+
"eval_runtime": 14.3181,
|
467 |
+
"eval_samples_per_second": 2.514,
|
468 |
+
"eval_steps_per_second": 2.514,
|
469 |
+
"step": 102
|
470 |
+
},
|
471 |
+
{
|
472 |
+
"epoch": 12.235294117647058,
|
473 |
+
"grad_norm": 0.29550257325172424,
|
474 |
+
"learning_rate": 9.24024048078213e-05,
|
475 |
+
"loss": 0.6356,
|
476 |
+
"step": 104
|
477 |
+
},
|
478 |
+
{
|
479 |
+
"epoch": 12.470588235294118,
|
480 |
+
"grad_norm": 0.3006047308444977,
|
481 |
+
"learning_rate": 9.193352839727121e-05,
|
482 |
+
"loss": 0.6283,
|
483 |
+
"step": 106
|
484 |
+
},
|
485 |
+
{
|
486 |
+
"epoch": 12.705882352941176,
|
487 |
+
"grad_norm": 0.3633236587047577,
|
488 |
+
"learning_rate": 9.145187862775209e-05,
|
489 |
+
"loss": 0.6436,
|
490 |
+
"step": 108
|
491 |
+
},
|
492 |
+
{
|
493 |
+
"epoch": 12.941176470588236,
|
494 |
+
"grad_norm": 0.3862960636615753,
|
495 |
+
"learning_rate": 9.09576022144496e-05,
|
496 |
+
"loss": 0.6342,
|
497 |
+
"step": 110
|
498 |
+
},
|
499 |
+
{
|
500 |
+
"epoch": 12.941176470588236,
|
501 |
+
"eval_loss": 0.8992895483970642,
|
502 |
+
"eval_runtime": 14.321,
|
503 |
+
"eval_samples_per_second": 2.514,
|
504 |
+
"eval_steps_per_second": 2.514,
|
505 |
+
"step": 110
|
506 |
+
},
|
507 |
+
{
|
508 |
+
"epoch": 13.176470588235293,
|
509 |
+
"grad_norm": 0.3040759861469269,
|
510 |
+
"learning_rate": 9.045084971874738e-05,
|
511 |
+
"loss": 0.6252,
|
512 |
+
"step": 112
|
513 |
+
},
|
514 |
+
{
|
515 |
+
"epoch": 13.411764705882353,
|
516 |
+
"grad_norm": 0.37966129183769226,
|
517 |
+
"learning_rate": 8.993177550236464e-05,
|
518 |
+
"loss": 0.5624,
|
519 |
+
"step": 114
|
520 |
+
},
|
521 |
+
{
|
522 |
+
"epoch": 13.647058823529411,
|
523 |
+
"grad_norm": 0.4189399182796478,
|
524 |
+
"learning_rate": 8.940053768033609e-05,
|
525 |
+
"loss": 0.5971,
|
526 |
+
"step": 116
|
527 |
+
},
|
528 |
+
{
|
529 |
+
"epoch": 13.882352941176471,
|
530 |
+
"grad_norm": 0.4090847969055176,
|
531 |
+
"learning_rate": 8.885729807284856e-05,
|
532 |
+
"loss": 0.6126,
|
533 |
+
"step": 118
|
534 |
+
},
|
535 |
+
{
|
536 |
+
"epoch": 14.0,
|
537 |
+
"eval_loss": 0.9277560114860535,
|
538 |
+
"eval_runtime": 14.3205,
|
539 |
+
"eval_samples_per_second": 2.514,
|
540 |
+
"eval_steps_per_second": 2.514,
|
541 |
+
"step": 119
|
542 |
+
},
|
543 |
+
{
|
544 |
+
"epoch": 14.117647058823529,
|
545 |
+
"grad_norm": 0.3958241939544678,
|
546 |
+
"learning_rate": 8.83022221559489e-05,
|
547 |
+
"loss": 0.6097,
|
548 |
+
"step": 120
|
549 |
+
},
|
550 |
+
{
|
551 |
+
"epoch": 14.352941176470589,
|
552 |
+
"grad_norm": 0.5418867468833923,
|
553 |
+
"learning_rate": 8.773547901113862e-05,
|
554 |
+
"loss": 0.514,
|
555 |
+
"step": 122
|
556 |
+
},
|
557 |
+
{
|
558 |
+
"epoch": 14.588235294117647,
|
559 |
+
"grad_norm": 0.49185261130332947,
|
560 |
+
"learning_rate": 8.715724127386972e-05,
|
561 |
+
"loss": 0.579,
|
562 |
+
"step": 124
|
563 |
+
},
|
564 |
+
{
|
565 |
+
"epoch": 14.823529411764707,
|
566 |
+
"grad_norm": 0.51872718334198,
|
567 |
+
"learning_rate": 8.656768508095853e-05,
|
568 |
+
"loss": 0.5304,
|
569 |
+
"step": 126
|
570 |
+
},
|
571 |
+
{
|
572 |
+
"epoch": 14.941176470588236,
|
573 |
+
"eval_loss": 0.9825281500816345,
|
574 |
+
"eval_runtime": 14.319,
|
575 |
+
"eval_samples_per_second": 2.514,
|
576 |
+
"eval_steps_per_second": 2.514,
|
577 |
+
"step": 127
|
578 |
+
},
|
579 |
+
{
|
580 |
+
"epoch": 15.058823529411764,
|
581 |
+
"grad_norm": 0.5219426155090332,
|
582 |
+
"learning_rate": 8.596699001693255e-05,
|
583 |
+
"loss": 0.5779,
|
584 |
+
"step": 128
|
585 |
+
},
|
586 |
+
{
|
587 |
+
"epoch": 15.294117647058824,
|
588 |
+
"grad_norm": 0.5088827013969421,
|
589 |
+
"learning_rate": 8.535533905932738e-05,
|
590 |
+
"loss": 0.5208,
|
591 |
+
"step": 130
|
592 |
+
},
|
593 |
+
{
|
594 |
+
"epoch": 15.529411764705882,
|
595 |
+
"grad_norm": 0.5148976445198059,
|
596 |
+
"learning_rate": 8.473291852294987e-05,
|
597 |
+
"loss": 0.5362,
|
598 |
+
"step": 132
|
599 |
+
},
|
600 |
+
{
|
601 |
+
"epoch": 15.764705882352942,
|
602 |
+
"grad_norm": 0.5440108180046082,
|
603 |
+
"learning_rate": 8.409991800312493e-05,
|
604 |
+
"loss": 0.5373,
|
605 |
+
"step": 134
|
606 |
+
},
|
607 |
+
{
|
608 |
+
"epoch": 16.0,
|
609 |
+
"grad_norm": 0.6404002904891968,
|
610 |
+
"learning_rate": 8.345653031794292e-05,
|
611 |
+
"loss": 0.4754,
|
612 |
+
"step": 136
|
613 |
+
},
|
614 |
+
{
|
615 |
+
"epoch": 16.0,
|
616 |
+
"eval_loss": 1.0304640531539917,
|
617 |
+
"eval_runtime": 14.3147,
|
618 |
+
"eval_samples_per_second": 2.515,
|
619 |
+
"eval_steps_per_second": 2.515,
|
620 |
+
"step": 136
|
621 |
+
},
|
622 |
+
{
|
623 |
+
"epoch": 16.0,
|
624 |
+
"step": 136,
|
625 |
+
"total_flos": 7.332060624584704e+16,
|
626 |
+
"train_loss": 0.8212331099545255,
|
627 |
+
"train_runtime": 3120.3597,
|
628 |
+
"train_samples_per_second": 2.179,
|
629 |
+
"train_steps_per_second": 0.128
|
630 |
+
}
|
631 |
+
],
|
632 |
+
"logging_steps": 2,
|
633 |
+
"max_steps": 400,
|
634 |
+
"num_input_tokens_seen": 0,
|
635 |
+
"num_train_epochs": 50,
|
636 |
+
"save_steps": 25,
|
637 |
+
"stateful_callbacks": {
|
638 |
+
"EarlyStoppingCallback": {
|
639 |
+
"args": {
|
640 |
+
"early_stopping_patience": 7,
|
641 |
+
"early_stopping_threshold": 0.0
|
642 |
+
},
|
643 |
+
"attributes": {
|
644 |
+
"early_stopping_patience_counter": 0
|
645 |
+
}
|
646 |
+
},
|
647 |
+
"TrainerControl": {
|
648 |
+
"args": {
|
649 |
+
"should_epoch_stop": false,
|
650 |
+
"should_evaluate": false,
|
651 |
+
"should_log": false,
|
652 |
+
"should_save": true,
|
653 |
+
"should_training_stop": true
|
654 |
+
},
|
655 |
+
"attributes": {}
|
656 |
+
}
|
657 |
+
},
|
658 |
+
"total_flos": 7.332060624584704e+16,
|
659 |
+
"train_batch_size": 1,
|
660 |
+
"trial_name": null,
|
661 |
+
"trial_params": null
|
662 |
+
}
|