GaetanMichelet commited on
Commit
dc0bdc9
1 Parent(s): 45edb80

Model save

Browse files
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_180-samples_config-1
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_180-samples_config-1
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.8358
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.9354 | 1.0 | 17 | 1.7708 |
57
+ | 0.6268 | 2.0 | 34 | 0.6221 |
58
+ | 0.3923 | 3.0 | 51 | 0.5086 |
59
+ | 0.2943 | 4.0 | 68 | 0.4581 |
60
+ | 0.3006 | 5.0 | 85 | 0.4390 |
61
+ | 0.3831 | 6.0 | 102 | 0.4377 |
62
+ | 0.2878 | 7.0 | 119 | 0.4980 |
63
+ | 0.1028 | 8.0 | 136 | 0.6312 |
64
+ | 0.0608 | 9.0 | 153 | 0.6599 |
65
+ | 0.0272 | 10.0 | 170 | 0.7522 |
66
+ | 0.0172 | 11.0 | 187 | 0.8401 |
67
+ | 0.0086 | 12.0 | 204 | 0.8499 |
68
+ | 0.0078 | 13.0 | 221 | 0.8358 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - PEFT 0.12.0
74
+ - Transformers 4.44.0
75
+ - Pytorch 2.1.2+cu121
76
+ - Datasets 2.20.0
77
+ - Tokenizers 0.19.1
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:747f6c27bba6d25acd4530d5a31d875469ad4ea7733b7ebd747f4a9f7d2b1bc7
3
  size 167832240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bafcb65ba984271fd1ecbd8601e87bcb7b2c348a94cdecdae7134bdc93a55e4d
3
  size 167832240
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 13.0,
3
+ "total_flos": 1.386613776014377e+17,
4
+ "train_loss": 0.40950302978265374,
5
+ "train_runtime": 5089.6281,
6
+ "train_samples": 136,
7
+ "train_samples_per_second": 1.336,
8
+ "train_steps_per_second": 0.167
9
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 13.0,
3
+ "total_flos": 1.386613776014377e+17,
4
+ "train_loss": 0.40950302978265374,
5
+ "train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och": 13.0,
5
+ "eval_steps": 500,
6
+ "global_step": 221,
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.058823529411764705,
13
+ "grad_norm": 2.9806036949157715,
14
+ "learning_rate": 1.1764705882352942e-06,
15
+ "loss": 2.6305,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.11764705882352941,
20
+ "grad_norm": 1.5811554193496704,
21
+ "learning_rate": 2.3529411764705885e-06,
22
+ "loss": 2.0227,
23
+ "step": 2
24
+ },
25
+ {
26
+ "epoch": 0.23529411764705882,
27
+ "grad_norm": 3.059112310409546,
28
+ "learning_rate": 4.705882352941177e-06,
29
+ "loss": 2.8006,
30
+ "step": 4
31
+ },
32
+ {
33
+ "epoch": 0.35294117647058826,
34
+ "grad_norm": 1.5905879735946655,
35
+ "learning_rate": 7.058823529411765e-06,
36
+ "loss": 2.5659,
37
+ "step": 6
38
+ },
39
+ {
40
+ "epoch": 0.47058823529411764,
41
+ "grad_norm": 2.937735080718994,
42
+ "learning_rate": 9.411764705882354e-06,
43
+ "loss": 2.3172,
44
+ "step": 8
45
+ },
46
+ {
47
+ "epoch": 0.5882352941176471,
48
+ "grad_norm": 2.908135175704956,
49
+ "learning_rate": 1.1764705882352942e-05,
50
+ "loss": 2.4708,
51
+ "step": 10
52
+ },
53
+ {
54
+ "epoch": 0.7058823529411765,
55
+ "grad_norm": 2.5028913021087646,
56
+ "learning_rate": 1.411764705882353e-05,
57
+ "loss": 2.0215,
58
+ "step": 12
59
+ },
60
+ {
61
+ "epoch": 0.8235294117647058,
62
+ "grad_norm": 3.3263680934906006,
63
+ "learning_rate": 1.647058823529412e-05,
64
+ "loss": 2.2979,
65
+ "step": 14
66
+ },
67
+ {
68
+ "epoch": 0.9411764705882353,
69
+ "grad_norm": 1.5710484981536865,
70
+ "learning_rate": 1.8823529411764708e-05,
71
+ "loss": 1.9354,
72
+ "step": 16
73
+ },
74
+ {
75
+ "epoch": 1.0,
76
+ "eval_loss": 1.7708439826965332,
77
+ "eval_runtime": 31.8772,
78
+ "eval_samples_per_second": 1.129,
79
+ "eval_steps_per_second": 1.129,
80
+ "step": 17
81
+ },
82
+ {
83
+ "epoch": 1.0588235294117647,
84
+ "grad_norm": 1.1524016857147217,
85
+ "learning_rate": 2.1176470588235296e-05,
86
+ "loss": 1.7289,
87
+ "step": 18
88
+ },
89
+ {
90
+ "epoch": 1.1764705882352942,
91
+ "grad_norm": 2.096369981765747,
92
+ "learning_rate": 2.3529411764705884e-05,
93
+ "loss": 1.6079,
94
+ "step": 20
95
+ },
96
+ {
97
+ "epoch": 1.2941176470588236,
98
+ "grad_norm": 1.5421291589736938,
99
+ "learning_rate": 2.5882352941176475e-05,
100
+ "loss": 1.3783,
101
+ "step": 22
102
+ },
103
+ {
104
+ "epoch": 1.4117647058823528,
105
+ "grad_norm": 2.0535740852355957,
106
+ "learning_rate": 2.823529411764706e-05,
107
+ "loss": 1.1007,
108
+ "step": 24
109
+ },
110
+ {
111
+ "epoch": 1.5294117647058822,
112
+ "grad_norm": 1.7358132600784302,
113
+ "learning_rate": 3.058823529411765e-05,
114
+ "loss": 0.8679,
115
+ "step": 26
116
+ },
117
+ {
118
+ "epoch": 1.6470588235294117,
119
+ "grad_norm": 1.2015416622161865,
120
+ "learning_rate": 3.294117647058824e-05,
121
+ "loss": 0.7215,
122
+ "step": 28
123
+ },
124
+ {
125
+ "epoch": 1.7647058823529411,
126
+ "grad_norm": 1.3056217432022095,
127
+ "learning_rate": 3.529411764705883e-05,
128
+ "loss": 0.959,
129
+ "step": 30
130
+ },
131
+ {
132
+ "epoch": 1.8823529411764706,
133
+ "grad_norm": 1.081710934638977,
134
+ "learning_rate": 3.7647058823529415e-05,
135
+ "loss": 0.4937,
136
+ "step": 32
137
+ },
138
+ {
139
+ "epoch": 2.0,
140
+ "grad_norm": 0.6709741353988647,
141
+ "learning_rate": 4e-05,
142
+ "loss": 0.6268,
143
+ "step": 34
144
+ },
145
+ {
146
+ "epoch": 2.0,
147
+ "eval_loss": 0.6220616102218628,
148
+ "eval_runtime": 31.8809,
149
+ "eval_samples_per_second": 1.129,
150
+ "eval_steps_per_second": 1.129,
151
+ "step": 34
152
+ },
153
+ {
154
+ "epoch": 2.1176470588235294,
155
+ "grad_norm": 0.6889598369598389,
156
+ "learning_rate": 4.235294117647059e-05,
157
+ "loss": 0.5838,
158
+ "step": 36
159
+ },
160
+ {
161
+ "epoch": 2.235294117647059,
162
+ "grad_norm": 1.135616421699524,
163
+ "learning_rate": 4.470588235294118e-05,
164
+ "loss": 0.6598,
165
+ "step": 38
166
+ },
167
+ {
168
+ "epoch": 2.3529411764705883,
169
+ "grad_norm": 1.0939359664916992,
170
+ "learning_rate": 4.705882352941177e-05,
171
+ "loss": 0.554,
172
+ "step": 40
173
+ },
174
+ {
175
+ "epoch": 2.4705882352941178,
176
+ "grad_norm": 0.9954046607017517,
177
+ "learning_rate": 4.9411764705882355e-05,
178
+ "loss": 0.4145,
179
+ "step": 42
180
+ },
181
+ {
182
+ "epoch": 2.588235294117647,
183
+ "grad_norm": 0.4152926802635193,
184
+ "learning_rate": 5.176470588235295e-05,
185
+ "loss": 0.4579,
186
+ "step": 44
187
+ },
188
+ {
189
+ "epoch": 2.7058823529411766,
190
+ "grad_norm": 0.4777827560901642,
191
+ "learning_rate": 5.411764705882353e-05,
192
+ "loss": 0.5156,
193
+ "step": 46
194
+ },
195
+ {
196
+ "epoch": 2.8235294117647056,
197
+ "grad_norm": 7.0992631912231445,
198
+ "learning_rate": 5.647058823529412e-05,
199
+ "loss": 0.5171,
200
+ "step": 48
201
+ },
202
+ {
203
+ "epoch": 2.9411764705882355,
204
+ "grad_norm": 0.2415984869003296,
205
+ "learning_rate": 5.882352941176471e-05,
206
+ "loss": 0.3923,
207
+ "step": 50
208
+ },
209
+ {
210
+ "epoch": 3.0,
211
+ "eval_loss": 0.5086178183555603,
212
+ "eval_runtime": 31.8697,
213
+ "eval_samples_per_second": 1.13,
214
+ "eval_steps_per_second": 1.13,
215
+ "step": 51
216
+ },
217
+ {
218
+ "epoch": 3.0588235294117645,
219
+ "grad_norm": 0.3886338472366333,
220
+ "learning_rate": 6.11764705882353e-05,
221
+ "loss": 0.3796,
222
+ "step": 52
223
+ },
224
+ {
225
+ "epoch": 3.176470588235294,
226
+ "grad_norm": 0.5336315035820007,
227
+ "learning_rate": 6.352941176470588e-05,
228
+ "loss": 0.6383,
229
+ "step": 54
230
+ },
231
+ {
232
+ "epoch": 3.2941176470588234,
233
+ "grad_norm": 0.5669986009597778,
234
+ "learning_rate": 6.588235294117648e-05,
235
+ "loss": 0.4904,
236
+ "step": 56
237
+ },
238
+ {
239
+ "epoch": 3.411764705882353,
240
+ "grad_norm": 0.2478373944759369,
241
+ "learning_rate": 6.823529411764707e-05,
242
+ "loss": 0.536,
243
+ "step": 58
244
+ },
245
+ {
246
+ "epoch": 3.5294117647058822,
247
+ "grad_norm": 0.16090020537376404,
248
+ "learning_rate": 7.058823529411765e-05,
249
+ "loss": 0.2108,
250
+ "step": 60
251
+ },
252
+ {
253
+ "epoch": 3.6470588235294117,
254
+ "grad_norm": 0.350099116563797,
255
+ "learning_rate": 7.294117647058823e-05,
256
+ "loss": 0.4021,
257
+ "step": 62
258
+ },
259
+ {
260
+ "epoch": 3.764705882352941,
261
+ "grad_norm": 1.6697726249694824,
262
+ "learning_rate": 7.529411764705883e-05,
263
+ "loss": 0.5626,
264
+ "step": 64
265
+ },
266
+ {
267
+ "epoch": 3.8823529411764706,
268
+ "grad_norm": 0.34072333574295044,
269
+ "learning_rate": 7.764705882352942e-05,
270
+ "loss": 0.2934,
271
+ "step": 66
272
+ },
273
+ {
274
+ "epoch": 4.0,
275
+ "grad_norm": 0.7432898283004761,
276
+ "learning_rate": 8e-05,
277
+ "loss": 0.2943,
278
+ "step": 68
279
+ },
280
+ {
281
+ "epoch": 4.0,
282
+ "eval_loss": 0.45811617374420166,
283
+ "eval_runtime": 31.868,
284
+ "eval_samples_per_second": 1.13,
285
+ "eval_steps_per_second": 1.13,
286
+ "step": 68
287
+ },
288
+ {
289
+ "epoch": 4.117647058823529,
290
+ "grad_norm": 0.5389276742935181,
291
+ "learning_rate": 8.23529411764706e-05,
292
+ "loss": 0.3754,
293
+ "step": 70
294
+ },
295
+ {
296
+ "epoch": 4.235294117647059,
297
+ "grad_norm": 0.43829599022865295,
298
+ "learning_rate": 8.470588235294118e-05,
299
+ "loss": 0.3586,
300
+ "step": 72
301
+ },
302
+ {
303
+ "epoch": 4.352941176470588,
304
+ "grad_norm": 0.5614160895347595,
305
+ "learning_rate": 8.705882352941177e-05,
306
+ "loss": 0.5275,
307
+ "step": 74
308
+ },
309
+ {
310
+ "epoch": 4.470588235294118,
311
+ "grad_norm": 0.3643663823604584,
312
+ "learning_rate": 8.941176470588236e-05,
313
+ "loss": 0.342,
314
+ "step": 76
315
+ },
316
+ {
317
+ "epoch": 4.588235294117647,
318
+ "grad_norm": 0.3923664689064026,
319
+ "learning_rate": 9.176470588235295e-05,
320
+ "loss": 0.395,
321
+ "step": 78
322
+ },
323
+ {
324
+ "epoch": 4.705882352941177,
325
+ "grad_norm": 0.44436177611351013,
326
+ "learning_rate": 9.411764705882353e-05,
327
+ "loss": 0.2989,
328
+ "step": 80
329
+ },
330
+ {
331
+ "epoch": 4.823529411764706,
332
+ "grad_norm": 0.4928082227706909,
333
+ "learning_rate": 9.647058823529412e-05,
334
+ "loss": 0.3496,
335
+ "step": 82
336
+ },
337
+ {
338
+ "epoch": 4.9411764705882355,
339
+ "grad_norm": 0.5441502928733826,
340
+ "learning_rate": 9.882352941176471e-05,
341
+ "loss": 0.3006,
342
+ "step": 84
343
+ },
344
+ {
345
+ "epoch": 5.0,
346
+ "eval_loss": 0.4389885663986206,
347
+ "eval_runtime": 31.8626,
348
+ "eval_samples_per_second": 1.13,
349
+ "eval_steps_per_second": 1.13,
350
+ "step": 85
351
+ },
352
+ {
353
+ "epoch": 5.0588235294117645,
354
+ "grad_norm": 0.4954172372817993,
355
+ "learning_rate": 9.99995783847866e-05,
356
+ "loss": 0.3281,
357
+ "step": 86
358
+ },
359
+ {
360
+ "epoch": 5.176470588235294,
361
+ "grad_norm": 0.4600774347782135,
362
+ "learning_rate": 9.999620550574153e-05,
363
+ "loss": 0.3747,
364
+ "step": 88
365
+ },
366
+ {
367
+ "epoch": 5.294117647058823,
368
+ "grad_norm": 0.510309100151062,
369
+ "learning_rate": 9.998945997517956e-05,
370
+ "loss": 0.2751,
371
+ "step": 90
372
+ },
373
+ {
374
+ "epoch": 5.411764705882353,
375
+ "grad_norm": 0.003833649680018425,
376
+ "learning_rate": 9.997934224814173e-05,
377
+ "loss": 0.11,
378
+ "step": 92
379
+ },
380
+ {
381
+ "epoch": 5.529411764705882,
382
+ "grad_norm": 0.9155761003494263,
383
+ "learning_rate": 9.996585300715116e-05,
384
+ "loss": 0.2909,
385
+ "step": 94
386
+ },
387
+ {
388
+ "epoch": 5.647058823529412,
389
+ "grad_norm": 0.5105080008506775,
390
+ "learning_rate": 9.994899316216708e-05,
391
+ "loss": 0.1964,
392
+ "step": 96
393
+ },
394
+ {
395
+ "epoch": 5.764705882352941,
396
+ "grad_norm": 0.6393014192581177,
397
+ "learning_rate": 9.992876385052345e-05,
398
+ "loss": 0.3017,
399
+ "step": 98
400
+ },
401
+ {
402
+ "epoch": 5.882352941176471,
403
+ "grad_norm": 0.4922525882720947,
404
+ "learning_rate": 9.990516643685222e-05,
405
+ "loss": 0.3364,
406
+ "step": 100
407
+ },
408
+ {
409
+ "epoch": 6.0,
410
+ "grad_norm": 0.7725474238395691,
411
+ "learning_rate": 9.987820251299122e-05,
412
+ "loss": 0.3831,
413
+ "step": 102
414
+ },
415
+ {
416
+ "epoch": 6.0,
417
+ "eval_loss": 0.43765950202941895,
418
+ "eval_runtime": 31.8564,
419
+ "eval_samples_per_second": 1.13,
420
+ "eval_steps_per_second": 1.13,
421
+ "step": 102
422
+ },
423
+ {
424
+ "epoch": 6.117647058823529,
425
+ "grad_norm": 0.5879455208778381,
426
+ "learning_rate": 9.984787389787688e-05,
427
+ "loss": 0.1447,
428
+ "step": 104
429
+ },
430
+ {
431
+ "epoch": 6.235294117647059,
432
+ "grad_norm": 0.7769209742546082,
433
+ "learning_rate": 9.981418263742148e-05,
434
+ "loss": 0.2444,
435
+ "step": 106
436
+ },
437
+ {
438
+ "epoch": 6.352941176470588,
439
+ "grad_norm": 1.1724755764007568,
440
+ "learning_rate": 9.977713100437509e-05,
441
+ "loss": 0.2148,
442
+ "step": 108
443
+ },
444
+ {
445
+ "epoch": 6.470588235294118,
446
+ "grad_norm": 0.599888801574707,
447
+ "learning_rate": 9.973672149817232e-05,
448
+ "loss": 0.1624,
449
+ "step": 110
450
+ },
451
+ {
452
+ "epoch": 6.588235294117647,
453
+ "grad_norm": 0.8013498187065125,
454
+ "learning_rate": 9.96929568447637e-05,
455
+ "loss": 0.1627,
456
+ "step": 112
457
+ },
458
+ {
459
+ "epoch": 6.705882352941177,
460
+ "grad_norm": 0.6758402585983276,
461
+ "learning_rate": 9.964583999643174e-05,
462
+ "loss": 0.1462,
463
+ "step": 114
464
+ },
465
+ {
466
+ "epoch": 6.823529411764706,
467
+ "grad_norm": 0.6956180334091187,
468
+ "learning_rate": 9.95953741315919e-05,
469
+ "loss": 0.2132,
470
+ "step": 116
471
+ },
472
+ {
473
+ "epoch": 6.9411764705882355,
474
+ "grad_norm": 1.106181263923645,
475
+ "learning_rate": 9.954156265457801e-05,
476
+ "loss": 0.2878,
477
+ "step": 118
478
+ },
479
+ {
480
+ "epoch": 7.0,
481
+ "eval_loss": 0.49799612164497375,
482
+ "eval_runtime": 31.8667,
483
+ "eval_samples_per_second": 1.13,
484
+ "eval_steps_per_second": 1.13,
485
+ "step": 119
486
+ },
487
+ {
488
+ "epoch": 7.0588235294117645,
489
+ "grad_norm": 0.7827078104019165,
490
+ "learning_rate": 9.948440919541278e-05,
491
+ "loss": 0.2307,
492
+ "step": 120
493
+ },
494
+ {
495
+ "epoch": 7.176470588235294,
496
+ "grad_norm": 1.054808259010315,
497
+ "learning_rate": 9.942391760956277e-05,
498
+ "loss": 0.1359,
499
+ "step": 122
500
+ },
501
+ {
502
+ "epoch": 7.294117647058823,
503
+ "grad_norm": 2.5423500537872314,
504
+ "learning_rate": 9.936009197767845e-05,
505
+ "loss": 0.1569,
506
+ "step": 124
507
+ },
508
+ {
509
+ "epoch": 7.411764705882353,
510
+ "grad_norm": 1.2457938194274902,
511
+ "learning_rate": 9.929293660531888e-05,
512
+ "loss": 0.1147,
513
+ "step": 126
514
+ },
515
+ {
516
+ "epoch": 7.529411764705882,
517
+ "grad_norm": 0.7288180589675903,
518
+ "learning_rate": 9.922245602266118e-05,
519
+ "loss": 0.0994,
520
+ "step": 128
521
+ },
522
+ {
523
+ "epoch": 7.647058823529412,
524
+ "grad_norm": 0.4904559254646301,
525
+ "learning_rate": 9.91486549841951e-05,
526
+ "loss": 0.0794,
527
+ "step": 130
528
+ },
529
+ {
530
+ "epoch": 7.764705882352941,
531
+ "grad_norm": 0.8609570264816284,
532
+ "learning_rate": 9.90715384684021e-05,
533
+ "loss": 0.0841,
534
+ "step": 132
535
+ },
536
+ {
537
+ "epoch": 7.882352941176471,
538
+ "grad_norm": 0.5112635493278503,
539
+ "learning_rate": 9.899111167741966e-05,
540
+ "loss": 0.1191,
541
+ "step": 134
542
+ },
543
+ {
544
+ "epoch": 8.0,
545
+ "grad_norm": 0.8523367047309875,
546
+ "learning_rate": 9.890738003669029e-05,
547
+ "loss": 0.1028,
548
+ "step": 136
549
+ },
550
+ {
551
+ "epoch": 8.0,
552
+ "eval_loss": 0.6311503052711487,
553
+ "eval_runtime": 31.8647,
554
+ "eval_samples_per_second": 1.13,
555
+ "eval_steps_per_second": 1.13,
556
+ "step": 136
557
+ },
558
+ {
559
+ "epoch": 8.117647058823529,
560
+ "grad_norm": 0.8957595229148865,
561
+ "learning_rate": 9.882034919459555e-05,
562
+ "loss": 0.0577,
563
+ "step": 138
564
+ },
565
+ {
566
+ "epoch": 8.235294117647058,
567
+ "grad_norm": 0.7346336841583252,
568
+ "learning_rate": 9.873002502207503e-05,
569
+ "loss": 0.0451,
570
+ "step": 140
571
+ },
572
+ {
573
+ "epoch": 8.352941176470589,
574
+ "grad_norm": 1.4324090480804443,
575
+ "learning_rate": 9.863641361223024e-05,
576
+ "loss": 0.0778,
577
+ "step": 142
578
+ },
579
+ {
580
+ "epoch": 8.470588235294118,
581
+ "grad_norm": 0.000629694142844528,
582
+ "learning_rate": 9.853952127991372e-05,
583
+ "loss": 0.0458,
584
+ "step": 144
585
+ },
586
+ {
587
+ "epoch": 8.588235294117647,
588
+ "grad_norm": 0.9645481705665588,
589
+ "learning_rate": 9.843935456130295e-05,
590
+ "loss": 0.0654,
591
+ "step": 146
592
+ },
593
+ {
594
+ "epoch": 8.705882352941176,
595
+ "grad_norm": 0.697653591632843,
596
+ "learning_rate": 9.833592021345937e-05,
597
+ "loss": 0.0259,
598
+ "step": 148
599
+ },
600
+ {
601
+ "epoch": 8.823529411764707,
602
+ "grad_norm": 1.007393479347229,
603
+ "learning_rate": 9.822922521387276e-05,
604
+ "loss": 0.0572,
605
+ "step": 150
606
+ },
607
+ {
608
+ "epoch": 8.941176470588236,
609
+ "grad_norm": 0.7456847429275513,
610
+ "learning_rate": 9.811927675999036e-05,
611
+ "loss": 0.0608,
612
+ "step": 152
613
+ },
614
+ {
615
+ "epoch": 9.0,
616
+ "eval_loss": 0.6598667502403259,
617
+ "eval_runtime": 31.8676,
618
+ "eval_samples_per_second": 1.13,
619
+ "eval_steps_per_second": 1.13,
620
+ "step": 153
621
+ },
622
+ {
623
+ "epoch": 9.058823529411764,
624
+ "grad_norm": 0.5595569014549255,
625
+ "learning_rate": 9.800608226873142e-05,
626
+ "loss": 0.0279,
627
+ "step": 154
628
+ },
629
+ {
630
+ "epoch": 9.176470588235293,
631
+ "grad_norm": 0.6336766481399536,
632
+ "learning_rate": 9.788964937598689e-05,
633
+ "loss": 0.0309,
634
+ "step": 156
635
+ },
636
+ {
637
+ "epoch": 9.294117647058824,
638
+ "grad_norm": 0.7993122339248657,
639
+ "learning_rate": 9.776998593610428e-05,
640
+ "loss": 0.028,
641
+ "step": 158
642
+ },
643
+ {
644
+ "epoch": 9.411764705882353,
645
+ "grad_norm": 0.8022798895835876,
646
+ "learning_rate": 9.764710002135784e-05,
647
+ "loss": 0.0298,
648
+ "step": 160
649
+ },
650
+ {
651
+ "epoch": 9.529411764705882,
652
+ "grad_norm": 0.6976908445358276,
653
+ "learning_rate": 9.752099992140399e-05,
654
+ "loss": 0.0192,
655
+ "step": 162
656
+ },
657
+ {
658
+ "epoch": 9.647058823529411,
659
+ "grad_norm": 0.6124653220176697,
660
+ "learning_rate": 9.739169414272217e-05,
661
+ "loss": 0.0151,
662
+ "step": 164
663
+ },
664
+ {
665
+ "epoch": 9.764705882352942,
666
+ "grad_norm": 0.6153112053871155,
667
+ "learning_rate": 9.725919140804099e-05,
668
+ "loss": 0.0276,
669
+ "step": 166
670
+ },
671
+ {
672
+ "epoch": 9.882352941176471,
673
+ "grad_norm": 0.6241044402122498,
674
+ "learning_rate": 9.71235006557497e-05,
675
+ "loss": 0.0201,
676
+ "step": 168
677
+ },
678
+ {
679
+ "epoch": 10.0,
680
+ "grad_norm": 0.5975130200386047,
681
+ "learning_rate": 9.698463103929542e-05,
682
+ "loss": 0.0272,
683
+ "step": 170
684
+ },
685
+ {
686
+ "epoch": 10.0,
687
+ "eval_loss": 0.7521817088127136,
688
+ "eval_runtime": 31.8729,
689
+ "eval_samples_per_second": 1.129,
690
+ "eval_steps_per_second": 1.129,
691
+ "step": 170
692
+ },
693
+ {
694
+ "epoch": 10.117647058823529,
695
+ "grad_norm": 0.6075451374053955,
696
+ "learning_rate": 9.684259192656553e-05,
697
+ "loss": 0.0109,
698
+ "step": 172
699
+ },
700
+ {
701
+ "epoch": 10.235294117647058,
702
+ "grad_norm": 0.40531089901924133,
703
+ "learning_rate": 9.669739289925577e-05,
704
+ "loss": 0.0129,
705
+ "step": 174
706
+ },
707
+ {
708
+ "epoch": 10.352941176470589,
709
+ "grad_norm": 0.3455725908279419,
710
+ "learning_rate": 9.654904375222385e-05,
711
+ "loss": 0.0067,
712
+ "step": 176
713
+ },
714
+ {
715
+ "epoch": 10.470588235294118,
716
+ "grad_norm": 0.8923009634017944,
717
+ "learning_rate": 9.639755449282875e-05,
718
+ "loss": 0.0185,
719
+ "step": 178
720
+ },
721
+ {
722
+ "epoch": 10.588235294117647,
723
+ "grad_norm": 0.3538866937160492,
724
+ "learning_rate": 9.62429353402556e-05,
725
+ "loss": 0.009,
726
+ "step": 180
727
+ },
728
+ {
729
+ "epoch": 10.705882352941176,
730
+ "grad_norm": 0.5075867772102356,
731
+ "learning_rate": 9.608519672482636e-05,
732
+ "loss": 0.0121,
733
+ "step": 182
734
+ },
735
+ {
736
+ "epoch": 10.823529411764707,
737
+ "grad_norm": 0.9656047224998474,
738
+ "learning_rate": 9.592434928729616e-05,
739
+ "loss": 0.0263,
740
+ "step": 184
741
+ },
742
+ {
743
+ "epoch": 10.941176470588236,
744
+ "grad_norm": 1.078016996383667,
745
+ "learning_rate": 9.576040387813552e-05,
746
+ "loss": 0.0172,
747
+ "step": 186
748
+ },
749
+ {
750
+ "epoch": 11.0,
751
+ "eval_loss": 0.8401343822479248,
752
+ "eval_runtime": 31.8673,
753
+ "eval_samples_per_second": 1.13,
754
+ "eval_steps_per_second": 1.13,
755
+ "step": 187
756
+ },
757
+ {
758
+ "epoch": 11.058823529411764,
759
+ "grad_norm": 0.16839314997196198,
760
+ "learning_rate": 9.559337155679842e-05,
761
+ "loss": 0.0032,
762
+ "step": 188
763
+ },
764
+ {
765
+ "epoch": 11.176470588235293,
766
+ "grad_norm": 0.3535742461681366,
767
+ "learning_rate": 9.542326359097619e-05,
768
+ "loss": 0.0047,
769
+ "step": 190
770
+ },
771
+ {
772
+ "epoch": 11.294117647058824,
773
+ "grad_norm": 0.2792235314846039,
774
+ "learning_rate": 9.525009145583745e-05,
775
+ "loss": 0.0069,
776
+ "step": 192
777
+ },
778
+ {
779
+ "epoch": 11.411764705882353,
780
+ "grad_norm": 0.28880617022514343,
781
+ "learning_rate": 9.507386683325404e-05,
782
+ "loss": 0.0184,
783
+ "step": 194
784
+ },
785
+ {
786
+ "epoch": 11.529411764705882,
787
+ "grad_norm": 0.496808260679245,
788
+ "learning_rate": 9.489460161101291e-05,
789
+ "loss": 0.0105,
790
+ "step": 196
791
+ },
792
+ {
793
+ "epoch": 11.647058823529411,
794
+ "grad_norm": 0.29307544231414795,
795
+ "learning_rate": 9.471230788201429e-05,
796
+ "loss": 0.0049,
797
+ "step": 198
798
+ },
799
+ {
800
+ "epoch": 11.764705882352942,
801
+ "grad_norm": 0.2909545600414276,
802
+ "learning_rate": 9.452699794345581e-05,
803
+ "loss": 0.0077,
804
+ "step": 200
805
+ },
806
+ {
807
+ "epoch": 11.882352941176471,
808
+ "grad_norm": 0.2807806432247162,
809
+ "learning_rate": 9.43386842960031e-05,
810
+ "loss": 0.0026,
811
+ "step": 202
812
+ },
813
+ {
814
+ "epoch": 12.0,
815
+ "grad_norm": 0.15847039222717285,
816
+ "learning_rate": 9.414737964294636e-05,
817
+ "loss": 0.0086,
818
+ "step": 204
819
+ },
820
+ {
821
+ "epoch": 12.0,
822
+ "eval_loss": 0.8499218821525574,
823
+ "eval_runtime": 31.8689,
824
+ "eval_samples_per_second": 1.13,
825
+ "eval_steps_per_second": 1.13,
826
+ "step": 204
827
+ },
828
+ {
829
+ "epoch": 12.117647058823529,
830
+ "grad_norm": 0.12410937249660492,
831
+ "learning_rate": 9.395309688934351e-05,
832
+ "loss": 0.0014,
833
+ "step": 206
834
+ },
835
+ {
836
+ "epoch": 12.235294117647058,
837
+ "grad_norm": 0.09352313727140427,
838
+ "learning_rate": 9.375584914114963e-05,
839
+ "loss": 0.0031,
840
+ "step": 208
841
+ },
842
+ {
843
+ "epoch": 12.352941176470589,
844
+ "grad_norm": 0.057727377861738205,
845
+ "learning_rate": 9.355564970433288e-05,
846
+ "loss": 0.0019,
847
+ "step": 210
848
+ },
849
+ {
850
+ "epoch": 12.470588235294118,
851
+ "grad_norm": 0.9200026392936707,
852
+ "learning_rate": 9.335251208397684e-05,
853
+ "loss": 0.0123,
854
+ "step": 212
855
+ },
856
+ {
857
+ "epoch": 12.588235294117647,
858
+ "grad_norm": 0.05677800625562668,
859
+ "learning_rate": 9.314644998336949e-05,
860
+ "loss": 0.0036,
861
+ "step": 214
862
+ },
863
+ {
864
+ "epoch": 12.705882352941176,
865
+ "grad_norm": 0.16251857578754425,
866
+ "learning_rate": 9.293747730307889e-05,
867
+ "loss": 0.0025,
868
+ "step": 216
869
+ },
870
+ {
871
+ "epoch": 12.823529411764707,
872
+ "grad_norm": 0.7199786305427551,
873
+ "learning_rate": 9.272560814001539e-05,
874
+ "loss": 0.0043,
875
+ "step": 218
876
+ },
877
+ {
878
+ "epoch": 12.941176470588236,
879
+ "grad_norm": 0.8885202407836914,
880
+ "learning_rate": 9.251085678648072e-05,
881
+ "loss": 0.0078,
882
+ "step": 220
883
+ },
884
+ {
885
+ "epoch": 13.0,
886
+ "eval_loss": 0.835817813873291,
887
+ "eval_runtime": 31.8664,
888
+ "eval_samples_per_second": 1.13,
889
+ "eval_steps_per_second": 1.13,
890
+ "step": 221
891
+ },
892
+ {
893
+ "epoch": 13.0,
894
+ "step": 221,
895
+ "total_flos": 1.386613776014377e+17,
896
+ "train_loss": 0.40950302978265374,
897
+ "train_runtime": 5089.6281,
898
+ "train_samples_per_second": 1.336,
899
+ "train_steps_per_second": 0.167
900
+ }
901
+ ],
902
+ "logging_steps": 2,
903
+ "max_steps": 850,
904
+ "num_input_tokens_seen": 0,
905
+ "num_train_epochs": 50,
906
+ "save_steps": 25,
907
+ "stateful_callbacks": {
908
+ "EarlyStoppingCallback": {
909
+ "args": {
910
+ "early_stopping_patience": 7,
911
+ "early_stopping_threshold": 0.0
912
+ },
913
+ "attributes": {
914
+ "early_stopping_patience_counter": 0
915
+ }
916
+ },
917
+ "TrainerControl": {
918
+ "args": {
919
+ "should_epoch_stop": false,
920
+ "should_evaluate": false,
921
+ "should_log": false,
922
+ "should_save": true,
923
+ "should_training_stop": true
924
+ },
925
+ "attributes": {}
926
+ }
927
+ },
928
+ "total_flos": 1.386613776014377e+17,
929
+ "train_batch_size": 1,
930
+ "trial_name": null,
931
+ "trial_params": null
932
+ }