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21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
{
  "best_global_step": null,
  "best_metric": null,
  "best_model_checkpoint": null,
  "epoch": 4.0,
  "eval_steps": 500,
  "global_step": 452,
  "is_hyper_param_search": false,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "entropy": 0.3933267489075661,
      "epoch": 0.08888888888888889,
      "grad_norm": 19.091772079467773,
      "learning_rate": 2e-05,
      "loss": 4.2829,
      "mean_token_accuracy": 0.5681655570864678,
      "num_tokens": 29409.0,
      "step": 10
    },
    {
      "entropy": 0.7650148034095764,
      "epoch": 0.17777777777777778,
      "grad_norm": 3.8214948177337646,
      "learning_rate": 2e-05,
      "loss": 1.9461,
      "mean_token_accuracy": 0.6879387736320496,
      "num_tokens": 58827.0,
      "step": 20
    },
    {
      "entropy": 1.1828202903270721,
      "epoch": 0.26666666666666666,
      "grad_norm": 2.6364810466766357,
      "learning_rate": 2e-05,
      "loss": 1.4227,
      "mean_token_accuracy": 0.7338245347142219,
      "num_tokens": 88299.0,
      "step": 30
    },
    {
      "entropy": 1.134617891907692,
      "epoch": 0.35555555555555557,
      "grad_norm": 1.9795665740966797,
      "learning_rate": 2e-05,
      "loss": 1.1307,
      "mean_token_accuracy": 0.7887017637491226,
      "num_tokens": 117759.0,
      "step": 40
    },
    {
      "entropy": 0.877768449485302,
      "epoch": 0.4444444444444444,
      "grad_norm": 1.8397494554519653,
      "learning_rate": 2e-05,
      "loss": 0.8535,
      "mean_token_accuracy": 0.8351033940911293,
      "num_tokens": 147140.0,
      "step": 50
    },
    {
      "entropy": 0.587233804166317,
      "epoch": 0.5333333333333333,
      "grad_norm": 1.7626832723617554,
      "learning_rate": 2e-05,
      "loss": 0.5781,
      "mean_token_accuracy": 0.8860435307025909,
      "num_tokens": 176659.0,
      "step": 60
    },
    {
      "entropy": 0.3405880033969879,
      "epoch": 0.6222222222222222,
      "grad_norm": 1.520534634590149,
      "learning_rate": 2e-05,
      "loss": 0.3419,
      "mean_token_accuracy": 0.9315642505884171,
      "num_tokens": 206147.0,
      "step": 70
    },
    {
      "entropy": 0.19235755391418935,
      "epoch": 0.7111111111111111,
      "grad_norm": 1.268977403640747,
      "learning_rate": 2e-05,
      "loss": 0.1858,
      "mean_token_accuracy": 0.9728681713342666,
      "num_tokens": 235603.0,
      "step": 80
    },
    {
      "entropy": 0.11804858762770891,
      "epoch": 0.8,
      "grad_norm": 0.781975269317627,
      "learning_rate": 2e-05,
      "loss": 0.1064,
      "mean_token_accuracy": 0.9887924045324326,
      "num_tokens": 265047.0,
      "step": 90
    },
    {
      "entropy": 0.09983876422047615,
      "epoch": 0.8888888888888888,
      "grad_norm": 0.4874080419540405,
      "learning_rate": 2e-05,
      "loss": 0.0815,
      "mean_token_accuracy": 0.9895498856902123,
      "num_tokens": 294524.0,
      "step": 100
    },
    {
      "entropy": 0.08479245882481337,
      "epoch": 0.9777777777777777,
      "grad_norm": 0.3734425902366638,
      "learning_rate": 2e-05,
      "loss": 0.0768,
      "mean_token_accuracy": 0.9904760375618935,
      "num_tokens": 324032.0,
      "step": 110
    },
    {
      "entropy": 0.07308715611304108,
      "epoch": 1.0622222222222222,
      "grad_norm": 0.37292563915252686,
      "learning_rate": 2e-05,
      "loss": 0.0646,
      "mean_token_accuracy": 0.9918417679636102,
      "num_tokens": 351993.0,
      "step": 120
    },
    {
      "entropy": 0.06726833172142506,
      "epoch": 1.1511111111111112,
      "grad_norm": 0.5837728977203369,
      "learning_rate": 2e-05,
      "loss": 0.0625,
      "mean_token_accuracy": 0.9917700842022896,
      "num_tokens": 381506.0,
      "step": 130
    },
    {
      "entropy": 0.06390567375347019,
      "epoch": 1.24,
      "grad_norm": 0.3549947738647461,
      "learning_rate": 2e-05,
      "loss": 0.0606,
      "mean_token_accuracy": 0.9916005581617355,
      "num_tokens": 411017.0,
      "step": 140
    },
    {
      "entropy": 0.06265801694244147,
      "epoch": 1.3288888888888888,
      "grad_norm": 0.2998465597629547,
      "learning_rate": 2e-05,
      "loss": 0.0564,
      "mean_token_accuracy": 0.9918477952480316,
      "num_tokens": 440460.0,
      "step": 150
    },
    {
      "entropy": 0.060036468971520665,
      "epoch": 1.4177777777777778,
      "grad_norm": 0.5888973474502563,
      "learning_rate": 2e-05,
      "loss": 0.0557,
      "mean_token_accuracy": 0.9919296875596046,
      "num_tokens": 469970.0,
      "step": 160
    },
    {
      "entropy": 0.05825678938999772,
      "epoch": 1.5066666666666668,
      "grad_norm": 0.27591630816459656,
      "learning_rate": 2e-05,
      "loss": 0.0557,
      "mean_token_accuracy": 0.991797935962677,
      "num_tokens": 499471.0,
      "step": 170
    },
    {
      "entropy": 0.058804288040846586,
      "epoch": 1.5955555555555554,
      "grad_norm": 0.3655984401702881,
      "learning_rate": 2e-05,
      "loss": 0.0537,
      "mean_token_accuracy": 0.9921618834137916,
      "num_tokens": 528959.0,
      "step": 180
    },
    {
      "entropy": 0.05707454737275839,
      "epoch": 1.6844444444444444,
      "grad_norm": 0.3361314535140991,
      "learning_rate": 2e-05,
      "loss": 0.0514,
      "mean_token_accuracy": 0.9922538578510285,
      "num_tokens": 558384.0,
      "step": 190
    },
    {
      "entropy": 0.05885109649971128,
      "epoch": 1.7733333333333334,
      "grad_norm": 0.2926768958568573,
      "learning_rate": 2e-05,
      "loss": 0.0565,
      "mean_token_accuracy": 0.9916261032223701,
      "num_tokens": 587873.0,
      "step": 200
    },
    {
      "entropy": 0.05613070921972394,
      "epoch": 1.8622222222222222,
      "grad_norm": 0.2952570617198944,
      "learning_rate": 2e-05,
      "loss": 0.0495,
      "mean_token_accuracy": 0.9927162423729896,
      "num_tokens": 617263.0,
      "step": 210
    },
    {
      "entropy": 0.05452471813187003,
      "epoch": 1.951111111111111,
      "grad_norm": 0.2781422734260559,
      "learning_rate": 2e-05,
      "loss": 0.0503,
      "mean_token_accuracy": 0.9923128932714462,
      "num_tokens": 646673.0,
      "step": 220
    },
    {
      "entropy": 0.05329967241146063,
      "epoch": 2.0355555555555553,
      "grad_norm": 0.3413642942905426,
      "learning_rate": 2e-05,
      "loss": 0.0495,
      "mean_token_accuracy": 0.9925352836910047,
      "num_tokens": 674550.0,
      "step": 230
    },
    {
      "entropy": 0.055740222427994014,
      "epoch": 2.1244444444444444,
      "grad_norm": 0.3916967213153839,
      "learning_rate": 2e-05,
      "loss": 0.0494,
      "mean_token_accuracy": 0.992403993010521,
      "num_tokens": 704049.0,
      "step": 240
    },
    {
      "entropy": 0.05344773568212986,
      "epoch": 2.2133333333333334,
      "grad_norm": 0.41811126470565796,
      "learning_rate": 2e-05,
      "loss": 0.0458,
      "mean_token_accuracy": 0.9928064867854118,
      "num_tokens": 733527.0,
      "step": 250
    },
    {
      "entropy": 0.05095162307843566,
      "epoch": 2.3022222222222224,
      "grad_norm": 0.5080037117004395,
      "learning_rate": 2e-05,
      "loss": 0.0462,
      "mean_token_accuracy": 0.9926309958100319,
      "num_tokens": 762980.0,
      "step": 260
    },
    {
      "entropy": 0.05230198642238974,
      "epoch": 2.391111111111111,
      "grad_norm": 0.34135064482688904,
      "learning_rate": 2e-05,
      "loss": 0.047,
      "mean_token_accuracy": 0.9925719112157821,
      "num_tokens": 792457.0,
      "step": 270
    },
    {
      "entropy": 0.053009994141757485,
      "epoch": 2.48,
      "grad_norm": 0.261165976524353,
      "learning_rate": 2e-05,
      "loss": 0.044,
      "mean_token_accuracy": 0.9927724987268448,
      "num_tokens": 821928.0,
      "step": 280
    },
    {
      "entropy": 0.052336765173822644,
      "epoch": 2.568888888888889,
      "grad_norm": 0.2925412356853485,
      "learning_rate": 2e-05,
      "loss": 0.0459,
      "mean_token_accuracy": 0.9917180150747299,
      "num_tokens": 851523.0,
      "step": 290
    },
    {
      "entropy": 0.04876706637442112,
      "epoch": 2.6577777777777776,
      "grad_norm": 0.37404191493988037,
      "learning_rate": 2e-05,
      "loss": 0.0406,
      "mean_token_accuracy": 0.9927994713187218,
      "num_tokens": 880960.0,
      "step": 300
    },
    {
      "entropy": 0.051569243893027306,
      "epoch": 2.7466666666666666,
      "grad_norm": 0.33673104643821716,
      "learning_rate": 2e-05,
      "loss": 0.0408,
      "mean_token_accuracy": 0.9931992888450623,
      "num_tokens": 910363.0,
      "step": 310
    },
    {
      "entropy": 0.049042111821472646,
      "epoch": 2.8355555555555556,
      "grad_norm": 0.3380878269672394,
      "learning_rate": 2e-05,
      "loss": 0.0405,
      "mean_token_accuracy": 0.9932568341493606,
      "num_tokens": 939743.0,
      "step": 320
    },
    {
      "entropy": 0.04809595588594675,
      "epoch": 2.924444444444444,
      "grad_norm": 0.27717074751853943,
      "learning_rate": 2e-05,
      "loss": 0.0401,
      "mean_token_accuracy": 0.9928347066044807,
      "num_tokens": 969188.0,
      "step": 330
    },
    {
      "entropy": 0.047154336873638,
      "epoch": 3.008888888888889,
      "grad_norm": 0.26735636591911316,
      "learning_rate": 2e-05,
      "loss": 0.0388,
      "mean_token_accuracy": 0.9933515975349828,
      "num_tokens": 997173.0,
      "step": 340
    },
    {
      "entropy": 0.0476642238907516,
      "epoch": 3.097777777777778,
      "grad_norm": 0.3359168767929077,
      "learning_rate": 2e-05,
      "loss": 0.0405,
      "mean_token_accuracy": 0.9925565898418427,
      "num_tokens": 1026726.0,
      "step": 350
    },
    {
      "entropy": 0.04855702333152294,
      "epoch": 3.1866666666666665,
      "grad_norm": 0.29510918259620667,
      "learning_rate": 2e-05,
      "loss": 0.0364,
      "mean_token_accuracy": 0.993024954199791,
      "num_tokens": 1056268.0,
      "step": 360
    },
    {
      "entropy": 0.044791849609464404,
      "epoch": 3.2755555555555556,
      "grad_norm": 0.27017977833747864,
      "learning_rate": 2e-05,
      "loss": 0.0359,
      "mean_token_accuracy": 0.9939059600234031,
      "num_tokens": 1085652.0,
      "step": 370
    },
    {
      "entropy": 0.045806001592427495,
      "epoch": 3.3644444444444446,
      "grad_norm": 0.2858346700668335,
      "learning_rate": 2e-05,
      "loss": 0.036,
      "mean_token_accuracy": 0.9928093075752258,
      "num_tokens": 1115142.0,
      "step": 380
    },
    {
      "entropy": 0.04463256490416825,
      "epoch": 3.453333333333333,
      "grad_norm": 0.3520112931728363,
      "learning_rate": 2e-05,
      "loss": 0.0362,
      "mean_token_accuracy": 0.9932136535644531,
      "num_tokens": 1144607.0,
      "step": 390
    },
    {
      "entropy": 0.04314003074541688,
      "epoch": 3.542222222222222,
      "grad_norm": 0.3692231774330139,
      "learning_rate": 2e-05,
      "loss": 0.0353,
      "mean_token_accuracy": 0.9933312207460403,
      "num_tokens": 1173996.0,
      "step": 400
    },
    {
      "entropy": 0.0454170742072165,
      "epoch": 3.631111111111111,
      "grad_norm": 0.23268748819828033,
      "learning_rate": 2e-05,
      "loss": 0.0342,
      "mean_token_accuracy": 0.9934337288141251,
      "num_tokens": 1203400.0,
      "step": 410
    },
    {
      "entropy": 0.043088483065366744,
      "epoch": 3.7199999999999998,
      "grad_norm": 0.40086743235588074,
      "learning_rate": 2e-05,
      "loss": 0.0363,
      "mean_token_accuracy": 0.9924963280558586,
      "num_tokens": 1232863.0,
      "step": 420
    },
    {
      "entropy": 0.042456195782870056,
      "epoch": 3.8088888888888888,
      "grad_norm": 0.30352523922920227,
      "learning_rate": 2e-05,
      "loss": 0.035,
      "mean_token_accuracy": 0.9930051982402801,
      "num_tokens": 1262316.0,
      "step": 430
    },
    {
      "entropy": 0.04498578486964107,
      "epoch": 3.897777777777778,
      "grad_norm": 0.2815539836883545,
      "learning_rate": 2e-05,
      "loss": 0.0337,
      "mean_token_accuracy": 0.9933026045560837,
      "num_tokens": 1291738.0,
      "step": 440
    },
    {
      "entropy": 0.04180623982101679,
      "epoch": 3.986666666666667,
      "grad_norm": 0.4016154706478119,
      "learning_rate": 2e-05,
      "loss": 0.0335,
      "mean_token_accuracy": 0.9940232038497925,
      "num_tokens": 1321198.0,
      "step": 450
    }
  ],
  "logging_steps": 10,
  "max_steps": 904,
  "num_input_tokens_seen": 0,
  "num_train_epochs": 8,
  "save_steps": 500,
  "stateful_callbacks": {
    "TrainerControl": {
      "args": {
        "should_epoch_stop": false,
        "should_evaluate": false,
        "should_log": false,
        "should_save": true,
        "should_training_stop": false
      },
      "attributes": {}
    }
  },
  "total_flos": 828165251189760.0,
  "train_batch_size": 1,
  "trial_name": null,
  "trial_params": null
}