GaetanMichelet commited on
Commit
7e9a50f
1 Parent(s): fcc9070

Model save

Browse files
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_120-samples_config-1_full
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_120-samples_config-1_full
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.2480
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: 8
46
+ - total_train_batch_size: 8
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.2764 | 1.0 | 11 | 1.3024 |
57
+ | 1.0771 | 2.0 | 22 | 1.1453 |
58
+ | 1.0212 | 3.0 | 33 | 1.0337 |
59
+ | 0.9453 | 4.0 | 44 | 0.9333 |
60
+ | 0.8729 | 5.0 | 55 | 0.8991 |
61
+ | 0.8348 | 6.0 | 66 | 0.8805 |
62
+ | 0.8039 | 7.0 | 77 | 0.8735 |
63
+ | 0.7673 | 8.0 | 88 | 0.8720 |
64
+ | 0.7032 | 9.0 | 99 | 0.8838 |
65
+ | 0.6184 | 10.0 | 110 | 0.9229 |
66
+ | 0.6169 | 11.0 | 121 | 0.9628 |
67
+ | 0.4972 | 12.0 | 132 | 1.0208 |
68
+ | 0.5106 | 13.0 | 143 | 1.0691 |
69
+ | 0.3363 | 14.0 | 154 | 1.1944 |
70
+ | 0.2612 | 15.0 | 165 | 1.2480 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - PEFT 0.12.0
76
+ - Transformers 4.44.0
77
+ - Pytorch 2.1.2+cu121
78
+ - Datasets 2.20.0
79
+ - Tokenizers 0.19.1
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fd6b781266c02625dfafe592b6ebc75ab15bf34d7a2207cd9a55c8631416bef7
3
  size 83115256
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20a84754a8c08060c4c1d7066e7603ba19d72d9b215d9dadfaeb230cbc9024b4
3
  size 83115256
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 15.0,
3
+ "total_flos": 4.301791910114099e+16,
4
+ "train_loss": 0.7604246639844143,
5
+ "train_runtime": 1840.0416,
6
+ "train_samples": 88,
7
+ "train_samples_per_second": 2.391,
8
+ "train_steps_per_second": 0.299
9
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 15.0,
3
+ "total_flos": 4.301791910114099e+16,
4
+ "train_loss": 0.7604246639844143,
5
+ "train_runtime": 1840.0416,
6
+ "train_samples": 88,
7
+ "train_samples_per_second": 2.391,
8
+ "train_steps_per_second": 0.299
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,752 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.8720391392707825,
3
+ "best_model_checkpoint": "data/Gemma-2-2B_task-2_120-samples_config-1_full/checkpoint-88",
4
+ "epoch": 15.0,
5
+ "eval_steps": 500,
6
+ "global_step": 165,
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.09090909090909091,
13
+ "grad_norm": 0.452947199344635,
14
+ "learning_rate": 1.818181818181818e-06,
15
+ "loss": 1.2338,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.18181818181818182,
20
+ "grad_norm": 0.61541348695755,
21
+ "learning_rate": 3.636363636363636e-06,
22
+ "loss": 1.481,
23
+ "step": 2
24
+ },
25
+ {
26
+ "epoch": 0.36363636363636365,
27
+ "grad_norm": 0.44616082310676575,
28
+ "learning_rate": 7.272727272727272e-06,
29
+ "loss": 1.276,
30
+ "step": 4
31
+ },
32
+ {
33
+ "epoch": 0.5454545454545454,
34
+ "grad_norm": 0.48986655473709106,
35
+ "learning_rate": 1.0909090909090909e-05,
36
+ "loss": 1.3132,
37
+ "step": 6
38
+ },
39
+ {
40
+ "epoch": 0.7272727272727273,
41
+ "grad_norm": 0.476570725440979,
42
+ "learning_rate": 1.4545454545454545e-05,
43
+ "loss": 1.3946,
44
+ "step": 8
45
+ },
46
+ {
47
+ "epoch": 0.9090909090909091,
48
+ "grad_norm": 0.4344302713871002,
49
+ "learning_rate": 1.8181818181818182e-05,
50
+ "loss": 1.2764,
51
+ "step": 10
52
+ },
53
+ {
54
+ "epoch": 1.0,
55
+ "eval_loss": 1.3023805618286133,
56
+ "eval_runtime": 9.4008,
57
+ "eval_samples_per_second": 2.553,
58
+ "eval_steps_per_second": 2.553,
59
+ "step": 11
60
+ },
61
+ {
62
+ "epoch": 1.0909090909090908,
63
+ "grad_norm": 0.4747586250305176,
64
+ "learning_rate": 2.1818181818181818e-05,
65
+ "loss": 1.3399,
66
+ "step": 12
67
+ },
68
+ {
69
+ "epoch": 1.2727272727272727,
70
+ "grad_norm": 0.37917423248291016,
71
+ "learning_rate": 2.5454545454545454e-05,
72
+ "loss": 1.2474,
73
+ "step": 14
74
+ },
75
+ {
76
+ "epoch": 1.4545454545454546,
77
+ "grad_norm": 0.4670597016811371,
78
+ "learning_rate": 2.909090909090909e-05,
79
+ "loss": 1.2943,
80
+ "step": 16
81
+ },
82
+ {
83
+ "epoch": 1.6363636363636362,
84
+ "grad_norm": 0.39248985052108765,
85
+ "learning_rate": 3.272727272727273e-05,
86
+ "loss": 1.2822,
87
+ "step": 18
88
+ },
89
+ {
90
+ "epoch": 1.8181818181818183,
91
+ "grad_norm": 0.31525546312332153,
92
+ "learning_rate": 3.6363636363636364e-05,
93
+ "loss": 1.1788,
94
+ "step": 20
95
+ },
96
+ {
97
+ "epoch": 2.0,
98
+ "grad_norm": 0.25972259044647217,
99
+ "learning_rate": 4e-05,
100
+ "loss": 1.0771,
101
+ "step": 22
102
+ },
103
+ {
104
+ "epoch": 2.0,
105
+ "eval_loss": 1.1453038454055786,
106
+ "eval_runtime": 9.1233,
107
+ "eval_samples_per_second": 2.631,
108
+ "eval_steps_per_second": 2.631,
109
+ "step": 22
110
+ },
111
+ {
112
+ "epoch": 2.1818181818181817,
113
+ "grad_norm": 0.22562259435653687,
114
+ "learning_rate": 4.3636363636363636e-05,
115
+ "loss": 1.1234,
116
+ "step": 24
117
+ },
118
+ {
119
+ "epoch": 2.3636363636363638,
120
+ "grad_norm": 0.2746324837207794,
121
+ "learning_rate": 4.7272727272727275e-05,
122
+ "loss": 1.1209,
123
+ "step": 26
124
+ },
125
+ {
126
+ "epoch": 2.5454545454545454,
127
+ "grad_norm": 0.26194456219673157,
128
+ "learning_rate": 5.090909090909091e-05,
129
+ "loss": 1.051,
130
+ "step": 28
131
+ },
132
+ {
133
+ "epoch": 2.7272727272727275,
134
+ "grad_norm": 0.2589878439903259,
135
+ "learning_rate": 5.4545454545454546e-05,
136
+ "loss": 1.0704,
137
+ "step": 30
138
+ },
139
+ {
140
+ "epoch": 2.909090909090909,
141
+ "grad_norm": 0.24663648009300232,
142
+ "learning_rate": 5.818181818181818e-05,
143
+ "loss": 1.0212,
144
+ "step": 32
145
+ },
146
+ {
147
+ "epoch": 3.0,
148
+ "eval_loss": 1.0336965322494507,
149
+ "eval_runtime": 9.1289,
150
+ "eval_samples_per_second": 2.629,
151
+ "eval_steps_per_second": 2.629,
152
+ "step": 33
153
+ },
154
+ {
155
+ "epoch": 3.090909090909091,
156
+ "grad_norm": 0.25568827986717224,
157
+ "learning_rate": 6.181818181818182e-05,
158
+ "loss": 1.0464,
159
+ "step": 34
160
+ },
161
+ {
162
+ "epoch": 3.2727272727272725,
163
+ "grad_norm": 0.2431456297636032,
164
+ "learning_rate": 6.545454545454546e-05,
165
+ "loss": 0.9742,
166
+ "step": 36
167
+ },
168
+ {
169
+ "epoch": 3.4545454545454546,
170
+ "grad_norm": 0.3365744948387146,
171
+ "learning_rate": 6.90909090909091e-05,
172
+ "loss": 0.9662,
173
+ "step": 38
174
+ },
175
+ {
176
+ "epoch": 3.6363636363636362,
177
+ "grad_norm": 0.2173662930727005,
178
+ "learning_rate": 7.272727272727273e-05,
179
+ "loss": 0.888,
180
+ "step": 40
181
+ },
182
+ {
183
+ "epoch": 3.8181818181818183,
184
+ "grad_norm": 0.30230048298835754,
185
+ "learning_rate": 7.636363636363637e-05,
186
+ "loss": 0.8718,
187
+ "step": 42
188
+ },
189
+ {
190
+ "epoch": 4.0,
191
+ "grad_norm": 0.1980254054069519,
192
+ "learning_rate": 8e-05,
193
+ "loss": 0.9453,
194
+ "step": 44
195
+ },
196
+ {
197
+ "epoch": 4.0,
198
+ "eval_loss": 0.9333186745643616,
199
+ "eval_runtime": 9.1213,
200
+ "eval_samples_per_second": 2.631,
201
+ "eval_steps_per_second": 2.631,
202
+ "step": 44
203
+ },
204
+ {
205
+ "epoch": 4.181818181818182,
206
+ "grad_norm": 0.20102132856845856,
207
+ "learning_rate": 8.363636363636364e-05,
208
+ "loss": 0.8602,
209
+ "step": 46
210
+ },
211
+ {
212
+ "epoch": 4.363636363636363,
213
+ "grad_norm": 0.1937635838985443,
214
+ "learning_rate": 8.727272727272727e-05,
215
+ "loss": 0.8762,
216
+ "step": 48
217
+ },
218
+ {
219
+ "epoch": 4.545454545454545,
220
+ "grad_norm": 0.18033844232559204,
221
+ "learning_rate": 9.090909090909092e-05,
222
+ "loss": 0.8414,
223
+ "step": 50
224
+ },
225
+ {
226
+ "epoch": 4.7272727272727275,
227
+ "grad_norm": 0.23296000063419342,
228
+ "learning_rate": 9.454545454545455e-05,
229
+ "loss": 0.8604,
230
+ "step": 52
231
+ },
232
+ {
233
+ "epoch": 4.909090909090909,
234
+ "grad_norm": 0.16760317981243134,
235
+ "learning_rate": 9.818181818181818e-05,
236
+ "loss": 0.8729,
237
+ "step": 54
238
+ },
239
+ {
240
+ "epoch": 5.0,
241
+ "eval_loss": 0.8990704417228699,
242
+ "eval_runtime": 9.1197,
243
+ "eval_samples_per_second": 2.632,
244
+ "eval_steps_per_second": 2.632,
245
+ "step": 55
246
+ },
247
+ {
248
+ "epoch": 5.090909090909091,
249
+ "grad_norm": 0.16476240754127502,
250
+ "learning_rate": 9.999899300364532e-05,
251
+ "loss": 0.8126,
252
+ "step": 56
253
+ },
254
+ {
255
+ "epoch": 5.2727272727272725,
256
+ "grad_norm": 0.18971236050128937,
257
+ "learning_rate": 9.99909372761763e-05,
258
+ "loss": 0.8493,
259
+ "step": 58
260
+ },
261
+ {
262
+ "epoch": 5.454545454545454,
263
+ "grad_norm": 0.17847785353660583,
264
+ "learning_rate": 9.997482711915927e-05,
265
+ "loss": 0.7891,
266
+ "step": 60
267
+ },
268
+ {
269
+ "epoch": 5.636363636363637,
270
+ "grad_norm": 0.1838752031326294,
271
+ "learning_rate": 9.99506651282272e-05,
272
+ "loss": 0.8154,
273
+ "step": 62
274
+ },
275
+ {
276
+ "epoch": 5.818181818181818,
277
+ "grad_norm": 0.18833479285240173,
278
+ "learning_rate": 9.991845519630678e-05,
279
+ "loss": 0.796,
280
+ "step": 64
281
+ },
282
+ {
283
+ "epoch": 6.0,
284
+ "grad_norm": 0.18303559720516205,
285
+ "learning_rate": 9.987820251299122e-05,
286
+ "loss": 0.8348,
287
+ "step": 66
288
+ },
289
+ {
290
+ "epoch": 6.0,
291
+ "eval_loss": 0.8805074691772461,
292
+ "eval_runtime": 9.1239,
293
+ "eval_samples_per_second": 2.63,
294
+ "eval_steps_per_second": 2.63,
295
+ "step": 66
296
+ },
297
+ {
298
+ "epoch": 6.181818181818182,
299
+ "grad_norm": 0.19952966272830963,
300
+ "learning_rate": 9.982991356370404e-05,
301
+ "loss": 0.7571,
302
+ "step": 68
303
+ },
304
+ {
305
+ "epoch": 6.363636363636363,
306
+ "grad_norm": 0.19458475708961487,
307
+ "learning_rate": 9.977359612865423e-05,
308
+ "loss": 0.8026,
309
+ "step": 70
310
+ },
311
+ {
312
+ "epoch": 6.545454545454545,
313
+ "grad_norm": 0.1982027292251587,
314
+ "learning_rate": 9.970925928158274e-05,
315
+ "loss": 0.7319,
316
+ "step": 72
317
+ },
318
+ {
319
+ "epoch": 6.7272727272727275,
320
+ "grad_norm": 0.21019749343395233,
321
+ "learning_rate": 9.963691338830044e-05,
322
+ "loss": 0.7757,
323
+ "step": 74
324
+ },
325
+ {
326
+ "epoch": 6.909090909090909,
327
+ "grad_norm": 0.1921709179878235,
328
+ "learning_rate": 9.955657010501806e-05,
329
+ "loss": 0.8039,
330
+ "step": 76
331
+ },
332
+ {
333
+ "epoch": 7.0,
334
+ "eval_loss": 0.8735120892524719,
335
+ "eval_runtime": 9.1246,
336
+ "eval_samples_per_second": 2.63,
337
+ "eval_steps_per_second": 2.63,
338
+ "step": 77
339
+ },
340
+ {
341
+ "epoch": 7.090909090909091,
342
+ "grad_norm": 0.19705022871494293,
343
+ "learning_rate": 9.946824237646824e-05,
344
+ "loss": 0.8284,
345
+ "step": 78
346
+ },
347
+ {
348
+ "epoch": 7.2727272727272725,
349
+ "grad_norm": 0.2406872808933258,
350
+ "learning_rate": 9.937194443381972e-05,
351
+ "loss": 0.7087,
352
+ "step": 80
353
+ },
354
+ {
355
+ "epoch": 7.454545454545454,
356
+ "grad_norm": 0.25308042764663696,
357
+ "learning_rate": 9.926769179238466e-05,
358
+ "loss": 0.7085,
359
+ "step": 82
360
+ },
361
+ {
362
+ "epoch": 7.636363636363637,
363
+ "grad_norm": 0.24140937626361847,
364
+ "learning_rate": 9.915550124911866e-05,
365
+ "loss": 0.7387,
366
+ "step": 84
367
+ },
368
+ {
369
+ "epoch": 7.818181818181818,
370
+ "grad_norm": 0.2606413662433624,
371
+ "learning_rate": 9.903539087991462e-05,
372
+ "loss": 0.7332,
373
+ "step": 86
374
+ },
375
+ {
376
+ "epoch": 8.0,
377
+ "grad_norm": 0.23610040545463562,
378
+ "learning_rate": 9.890738003669029e-05,
379
+ "loss": 0.7673,
380
+ "step": 88
381
+ },
382
+ {
383
+ "epoch": 8.0,
384
+ "eval_loss": 0.8720391392707825,
385
+ "eval_runtime": 9.1304,
386
+ "eval_samples_per_second": 2.629,
387
+ "eval_steps_per_second": 2.629,
388
+ "step": 88
389
+ },
390
+ {
391
+ "epoch": 8.181818181818182,
392
+ "grad_norm": 0.2393406331539154,
393
+ "learning_rate": 9.877148934427037e-05,
394
+ "loss": 0.7244,
395
+ "step": 90
396
+ },
397
+ {
398
+ "epoch": 8.363636363636363,
399
+ "grad_norm": 0.28168681263923645,
400
+ "learning_rate": 9.862774069706346e-05,
401
+ "loss": 0.6773,
402
+ "step": 92
403
+ },
404
+ {
405
+ "epoch": 8.545454545454545,
406
+ "grad_norm": 0.2992963492870331,
407
+ "learning_rate": 9.847615725553456e-05,
408
+ "loss": 0.7183,
409
+ "step": 94
410
+ },
411
+ {
412
+ "epoch": 8.727272727272727,
413
+ "grad_norm": 0.34102120995521545,
414
+ "learning_rate": 9.831676344247342e-05,
415
+ "loss": 0.6492,
416
+ "step": 96
417
+ },
418
+ {
419
+ "epoch": 8.909090909090908,
420
+ "grad_norm": 0.3424055278301239,
421
+ "learning_rate": 9.814958493905963e-05,
422
+ "loss": 0.7032,
423
+ "step": 98
424
+ },
425
+ {
426
+ "epoch": 9.0,
427
+ "eval_loss": 0.8838250041007996,
428
+ "eval_runtime": 9.1248,
429
+ "eval_samples_per_second": 2.63,
430
+ "eval_steps_per_second": 2.63,
431
+ "step": 99
432
+ },
433
+ {
434
+ "epoch": 9.090909090909092,
435
+ "grad_norm": 0.33258163928985596,
436
+ "learning_rate": 9.797464868072488e-05,
437
+ "loss": 0.7071,
438
+ "step": 100
439
+ },
440
+ {
441
+ "epoch": 9.272727272727273,
442
+ "grad_norm": 0.3306954503059387,
443
+ "learning_rate": 9.779198285281325e-05,
444
+ "loss": 0.6222,
445
+ "step": 102
446
+ },
447
+ {
448
+ "epoch": 9.454545454545455,
449
+ "grad_norm": 0.49372628331184387,
450
+ "learning_rate": 9.760161688604008e-05,
451
+ "loss": 0.6265,
452
+ "step": 104
453
+ },
454
+ {
455
+ "epoch": 9.636363636363637,
456
+ "grad_norm": 0.4013664424419403,
457
+ "learning_rate": 9.740358145174998e-05,
458
+ "loss": 0.6911,
459
+ "step": 106
460
+ },
461
+ {
462
+ "epoch": 9.818181818181818,
463
+ "grad_norm": 0.40040650963783264,
464
+ "learning_rate": 9.719790845697533e-05,
465
+ "loss": 0.6452,
466
+ "step": 108
467
+ },
468
+ {
469
+ "epoch": 10.0,
470
+ "grad_norm": 0.4965708255767822,
471
+ "learning_rate": 9.698463103929542e-05,
472
+ "loss": 0.6184,
473
+ "step": 110
474
+ },
475
+ {
476
+ "epoch": 10.0,
477
+ "eval_loss": 0.9229183793067932,
478
+ "eval_runtime": 9.1339,
479
+ "eval_samples_per_second": 2.628,
480
+ "eval_steps_per_second": 2.628,
481
+ "step": 110
482
+ },
483
+ {
484
+ "epoch": 10.181818181818182,
485
+ "grad_norm": 0.4577091634273529,
486
+ "learning_rate": 9.676378356149734e-05,
487
+ "loss": 0.5792,
488
+ "step": 112
489
+ },
490
+ {
491
+ "epoch": 10.363636363636363,
492
+ "grad_norm": 0.5148481130599976,
493
+ "learning_rate": 9.653540160603956e-05,
494
+ "loss": 0.5688,
495
+ "step": 114
496
+ },
497
+ {
498
+ "epoch": 10.545454545454545,
499
+ "grad_norm": 0.6189824938774109,
500
+ "learning_rate": 9.629952196931901e-05,
501
+ "loss": 0.5794,
502
+ "step": 116
503
+ },
504
+ {
505
+ "epoch": 10.727272727272727,
506
+ "grad_norm": 0.5784375071525574,
507
+ "learning_rate": 9.60561826557425e-05,
508
+ "loss": 0.5668,
509
+ "step": 118
510
+ },
511
+ {
512
+ "epoch": 10.909090909090908,
513
+ "grad_norm": 0.5274057984352112,
514
+ "learning_rate": 9.580542287160348e-05,
515
+ "loss": 0.6169,
516
+ "step": 120
517
+ },
518
+ {
519
+ "epoch": 11.0,
520
+ "eval_loss": 0.9627707600593567,
521
+ "eval_runtime": 9.1334,
522
+ "eval_samples_per_second": 2.628,
523
+ "eval_steps_per_second": 2.628,
524
+ "step": 121
525
+ },
526
+ {
527
+ "epoch": 11.090909090909092,
528
+ "grad_norm": 0.6668625473976135,
529
+ "learning_rate": 9.554728301876526e-05,
530
+ "loss": 0.5574,
531
+ "step": 122
532
+ },
533
+ {
534
+ "epoch": 11.272727272727273,
535
+ "grad_norm": 0.7610654830932617,
536
+ "learning_rate": 9.528180468815155e-05,
537
+ "loss": 0.512,
538
+ "step": 124
539
+ },
540
+ {
541
+ "epoch": 11.454545454545455,
542
+ "grad_norm": 0.6925037503242493,
543
+ "learning_rate": 9.50090306530454e-05,
544
+ "loss": 0.5262,
545
+ "step": 126
546
+ },
547
+ {
548
+ "epoch": 11.636363636363637,
549
+ "grad_norm": 0.7486491203308105,
550
+ "learning_rate": 9.472900486219769e-05,
551
+ "loss": 0.5556,
552
+ "step": 128
553
+ },
554
+ {
555
+ "epoch": 11.818181818181818,
556
+ "grad_norm": 0.7763406038284302,
557
+ "learning_rate": 9.444177243274618e-05,
558
+ "loss": 0.5267,
559
+ "step": 130
560
+ },
561
+ {
562
+ "epoch": 12.0,
563
+ "grad_norm": 0.7108902931213379,
564
+ "learning_rate": 9.414737964294636e-05,
565
+ "loss": 0.4972,
566
+ "step": 132
567
+ },
568
+ {
569
+ "epoch": 12.0,
570
+ "eval_loss": 1.0208110809326172,
571
+ "eval_runtime": 9.1282,
572
+ "eval_samples_per_second": 2.629,
573
+ "eval_steps_per_second": 2.629,
574
+ "step": 132
575
+ },
576
+ {
577
+ "epoch": 12.181818181818182,
578
+ "grad_norm": 0.7493733167648315,
579
+ "learning_rate": 9.384587392471515e-05,
580
+ "loss": 0.4876,
581
+ "step": 134
582
+ },
583
+ {
584
+ "epoch": 12.363636363636363,
585
+ "grad_norm": 0.8020772337913513,
586
+ "learning_rate": 9.353730385598887e-05,
587
+ "loss": 0.4389,
588
+ "step": 136
589
+ },
590
+ {
591
+ "epoch": 12.545454545454545,
592
+ "grad_norm": 0.7725638151168823,
593
+ "learning_rate": 9.322171915289635e-05,
594
+ "loss": 0.454,
595
+ "step": 138
596
+ },
597
+ {
598
+ "epoch": 12.727272727272727,
599
+ "grad_norm": 0.7995460629463196,
600
+ "learning_rate": 9.289917066174886e-05,
601
+ "loss": 0.4439,
602
+ "step": 140
603
+ },
604
+ {
605
+ "epoch": 12.909090909090908,
606
+ "grad_norm": 0.8994494080543518,
607
+ "learning_rate": 9.256971035084785e-05,
608
+ "loss": 0.5106,
609
+ "step": 142
610
+ },
611
+ {
612
+ "epoch": 13.0,
613
+ "eval_loss": 1.069113850593567,
614
+ "eval_runtime": 9.1248,
615
+ "eval_samples_per_second": 2.63,
616
+ "eval_steps_per_second": 2.63,
617
+ "step": 143
618
+ },
619
+ {
620
+ "epoch": 13.090909090909092,
621
+ "grad_norm": 0.9180720448493958,
622
+ "learning_rate": 9.223339130211192e-05,
623
+ "loss": 0.3659,
624
+ "step": 144
625
+ },
626
+ {
627
+ "epoch": 13.272727272727273,
628
+ "grad_norm": 1.7244093418121338,
629
+ "learning_rate": 9.189026770252436e-05,
630
+ "loss": 0.4182,
631
+ "step": 146
632
+ },
633
+ {
634
+ "epoch": 13.454545454545455,
635
+ "grad_norm": 0.8965930342674255,
636
+ "learning_rate": 9.154039483540273e-05,
637
+ "loss": 0.4605,
638
+ "step": 148
639
+ },
640
+ {
641
+ "epoch": 13.636363636363637,
642
+ "grad_norm": 0.8466988205909729,
643
+ "learning_rate": 9.118382907149165e-05,
644
+ "loss": 0.4053,
645
+ "step": 150
646
+ },
647
+ {
648
+ "epoch": 13.818181818181818,
649
+ "grad_norm": 1.2914624214172363,
650
+ "learning_rate": 9.082062785988049e-05,
651
+ "loss": 0.3835,
652
+ "step": 152
653
+ },
654
+ {
655
+ "epoch": 14.0,
656
+ "grad_norm": 1.0132311582565308,
657
+ "learning_rate": 9.045084971874738e-05,
658
+ "loss": 0.3363,
659
+ "step": 154
660
+ },
661
+ {
662
+ "epoch": 14.0,
663
+ "eval_loss": 1.1943873167037964,
664
+ "eval_runtime": 9.1313,
665
+ "eval_samples_per_second": 2.628,
666
+ "eval_steps_per_second": 2.628,
667
+ "step": 154
668
+ },
669
+ {
670
+ "epoch": 14.181818181818182,
671
+ "grad_norm": 0.9961689114570618,
672
+ "learning_rate": 9.007455422593077e-05,
673
+ "loss": 0.3357,
674
+ "step": 156
675
+ },
676
+ {
677
+ "epoch": 14.363636363636363,
678
+ "grad_norm": 1.5857237577438354,
679
+ "learning_rate": 8.969180200933047e-05,
680
+ "loss": 0.3513,
681
+ "step": 158
682
+ },
683
+ {
684
+ "epoch": 14.545454545454545,
685
+ "grad_norm": 1.0027860403060913,
686
+ "learning_rate": 8.930265473713938e-05,
687
+ "loss": 0.4078,
688
+ "step": 160
689
+ },
690
+ {
691
+ "epoch": 14.727272727272727,
692
+ "grad_norm": 1.1034413576126099,
693
+ "learning_rate": 8.890717510790763e-05,
694
+ "loss": 0.3256,
695
+ "step": 162
696
+ },
697
+ {
698
+ "epoch": 14.909090909090908,
699
+ "grad_norm": 0.9977664351463318,
700
+ "learning_rate": 8.850542684044078e-05,
701
+ "loss": 0.2612,
702
+ "step": 164
703
+ },
704
+ {
705
+ "epoch": 15.0,
706
+ "eval_loss": 1.2479809522628784,
707
+ "eval_runtime": 9.1352,
708
+ "eval_samples_per_second": 2.627,
709
+ "eval_steps_per_second": 2.627,
710
+ "step": 165
711
+ },
712
+ {
713
+ "epoch": 15.0,
714
+ "step": 165,
715
+ "total_flos": 4.301791910114099e+16,
716
+ "train_loss": 0.7604246639844143,
717
+ "train_runtime": 1840.0416,
718
+ "train_samples_per_second": 2.391,
719
+ "train_steps_per_second": 0.299
720
+ }
721
+ ],
722
+ "logging_steps": 2,
723
+ "max_steps": 550,
724
+ "num_input_tokens_seen": 0,
725
+ "num_train_epochs": 50,
726
+ "save_steps": 25,
727
+ "stateful_callbacks": {
728
+ "EarlyStoppingCallback": {
729
+ "args": {
730
+ "early_stopping_patience": 7,
731
+ "early_stopping_threshold": 0.0
732
+ },
733
+ "attributes": {
734
+ "early_stopping_patience_counter": 0
735
+ }
736
+ },
737
+ "TrainerControl": {
738
+ "args": {
739
+ "should_epoch_stop": false,
740
+ "should_evaluate": false,
741
+ "should_log": false,
742
+ "should_save": true,
743
+ "should_training_stop": true
744
+ },
745
+ "attributes": {}
746
+ }
747
+ },
748
+ "total_flos": 4.301791910114099e+16,
749
+ "train_batch_size": 1,
750
+ "trial_name": null,
751
+ "trial_params": null
752
+ }