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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
{
  "best_metric": 0.10353731364011765,
  "best_model_checkpoint": "bert-base-uncased_rxnorm_babbage/checkpoint-2500",
  "epoch": 49.76958525345622,
  "eval_steps": 100,
  "global_step": 2700,
  "is_hyper_param_search": false,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "epoch": 1.8433179723502304,
      "grad_norm": 0.49460217356681824,
      "learning_rate": 4.8166666666666674e-05,
      "loss": 1.0876,
      "step": 100
    },
    {
      "epoch": 1.8433179723502304,
      "eval_accuracy": 0.861022820273691,
      "eval_loss": 0.6498942375183105,
      "eval_runtime": 1.5825,
      "eval_samples_per_second": 921.986,
      "eval_steps_per_second": 7.583,
      "step": 100
    },
    {
      "epoch": 3.686635944700461,
      "grad_norm": 0.4745028614997864,
      "learning_rate": 4.631481481481481e-05,
      "loss": 0.6229,
      "step": 200
    },
    {
      "epoch": 3.686635944700461,
      "eval_accuracy": 0.8976233828461907,
      "eval_loss": 0.45648184418678284,
      "eval_runtime": 2.1968,
      "eval_samples_per_second": 664.134,
      "eval_steps_per_second": 5.462,
      "step": 200
    },
    {
      "epoch": 5.529953917050691,
      "grad_norm": 0.4159073233604431,
      "learning_rate": 4.4462962962962966e-05,
      "loss": 0.4851,
      "step": 300
    },
    {
      "epoch": 5.529953917050691,
      "eval_accuracy": 0.9128444732034104,
      "eval_loss": 0.3751491904258728,
      "eval_runtime": 2.5186,
      "eval_samples_per_second": 579.279,
      "eval_steps_per_second": 4.764,
      "step": 300
    },
    {
      "epoch": 7.373271889400922,
      "grad_norm": 0.40352028608322144,
      "learning_rate": 4.261111111111111e-05,
      "loss": 0.4009,
      "step": 400
    },
    {
      "epoch": 7.373271889400922,
      "eval_accuracy": 0.926327338644278,
      "eval_loss": 0.3037292957305908,
      "eval_runtime": 2.2024,
      "eval_samples_per_second": 662.468,
      "eval_steps_per_second": 5.449,
      "step": 400
    },
    {
      "epoch": 9.216589861751151,
      "grad_norm": 0.3955836296081543,
      "learning_rate": 4.0759259259259264e-05,
      "loss": 0.34,
      "step": 500
    },
    {
      "epoch": 9.216589861751151,
      "eval_accuracy": 0.9363742622825171,
      "eval_loss": 0.256952166557312,
      "eval_runtime": 2.2081,
      "eval_samples_per_second": 660.734,
      "eval_steps_per_second": 5.434,
      "step": 500
    },
    {
      "epoch": 11.059907834101383,
      "grad_norm": 0.35034212470054626,
      "learning_rate": 3.890740740740741e-05,
      "loss": 0.302,
      "step": 600
    },
    {
      "epoch": 11.059907834101383,
      "eval_accuracy": 0.9409385419824189,
      "eval_loss": 0.23246321082115173,
      "eval_runtime": 2.205,
      "eval_samples_per_second": 661.68,
      "eval_steps_per_second": 5.442,
      "step": 600
    },
    {
      "epoch": 12.903225806451612,
      "grad_norm": 0.3660498261451721,
      "learning_rate": 3.705555555555556e-05,
      "loss": 0.2701,
      "step": 700
    },
    {
      "epoch": 12.903225806451612,
      "eval_accuracy": 0.9453203622945321,
      "eval_loss": 0.21490083634853363,
      "eval_runtime": 1.8882,
      "eval_samples_per_second": 772.706,
      "eval_steps_per_second": 6.355,
      "step": 700
    },
    {
      "epoch": 14.746543778801843,
      "grad_norm": 0.35468629002571106,
      "learning_rate": 3.520370370370371e-05,
      "loss": 0.2488,
      "step": 800
    },
    {
      "epoch": 14.746543778801843,
      "eval_accuracy": 0.9499065420560747,
      "eval_loss": 0.19009685516357422,
      "eval_runtime": 2.5126,
      "eval_samples_per_second": 580.675,
      "eval_steps_per_second": 4.776,
      "step": 800
    },
    {
      "epoch": 16.589861751152075,
      "grad_norm": 0.33421748876571655,
      "learning_rate": 3.3351851851851854e-05,
      "loss": 0.23,
      "step": 900
    },
    {
      "epoch": 16.589861751152075,
      "eval_accuracy": 0.9532317494434636,
      "eval_loss": 0.17756867408752441,
      "eval_runtime": 2.5048,
      "eval_samples_per_second": 582.491,
      "eval_steps_per_second": 4.791,
      "step": 900
    },
    {
      "epoch": 18.433179723502302,
      "grad_norm": 0.33518287539482117,
      "learning_rate": 3.15e-05,
      "loss": 0.2151,
      "step": 1000
    },
    {
      "epoch": 18.433179723502302,
      "eval_accuracy": 0.9545267509401824,
      "eval_loss": 0.16874656081199646,
      "eval_runtime": 2.1981,
      "eval_samples_per_second": 663.764,
      "eval_steps_per_second": 5.459,
      "step": 1000
    },
    {
      "epoch": 20.276497695852534,
      "grad_norm": 0.34771665930747986,
      "learning_rate": 2.9648148148148146e-05,
      "loss": 0.2035,
      "step": 1100
    },
    {
      "epoch": 20.276497695852534,
      "eval_accuracy": 0.9563604730084985,
      "eval_loss": 0.1599314957857132,
      "eval_runtime": 1.8901,
      "eval_samples_per_second": 771.908,
      "eval_steps_per_second": 6.349,
      "step": 1100
    },
    {
      "epoch": 22.119815668202765,
      "grad_norm": 0.36460649967193604,
      "learning_rate": 2.77962962962963e-05,
      "loss": 0.1931,
      "step": 1200
    },
    {
      "epoch": 22.119815668202765,
      "eval_accuracy": 0.9590011289404363,
      "eval_loss": 0.1495586484670639,
      "eval_runtime": 2.1981,
      "eval_samples_per_second": 663.751,
      "eval_steps_per_second": 5.459,
      "step": 1200
    },
    {
      "epoch": 23.963133640552996,
      "grad_norm": 0.31464290618896484,
      "learning_rate": 2.5944444444444444e-05,
      "loss": 0.1848,
      "step": 1300
    },
    {
      "epoch": 23.963133640552996,
      "eval_accuracy": 0.9585790320110277,
      "eval_loss": 0.1497500240802765,
      "eval_runtime": 2.2017,
      "eval_samples_per_second": 662.667,
      "eval_steps_per_second": 5.45,
      "step": 1300
    },
    {
      "epoch": 25.806451612903224,
      "grad_norm": 0.36158451437950134,
      "learning_rate": 2.4092592592592593e-05,
      "loss": 0.1766,
      "step": 1400
    },
    {
      "epoch": 25.806451612903224,
      "eval_accuracy": 0.962577764207473,
      "eval_loss": 0.13511128723621368,
      "eval_runtime": 1.8934,
      "eval_samples_per_second": 770.57,
      "eval_steps_per_second": 6.338,
      "step": 1400
    },
    {
      "epoch": 27.649769585253456,
      "grad_norm": 0.29482343792915344,
      "learning_rate": 2.2240740740740743e-05,
      "loss": 0.1695,
      "step": 1500
    },
    {
      "epoch": 27.649769585253456,
      "eval_accuracy": 0.9624521660736379,
      "eval_loss": 0.13419833779335022,
      "eval_runtime": 2.1989,
      "eval_samples_per_second": 663.518,
      "eval_steps_per_second": 5.457,
      "step": 1500
    },
    {
      "epoch": 29.493087557603687,
      "grad_norm": 0.3058522939682007,
      "learning_rate": 2.0388888888888892e-05,
      "loss": 0.1648,
      "step": 1600
    },
    {
      "epoch": 29.493087557603687,
      "eval_accuracy": 0.9629643832989789,
      "eval_loss": 0.12756001949310303,
      "eval_runtime": 1.8879,
      "eval_samples_per_second": 772.823,
      "eval_steps_per_second": 6.356,
      "step": 1600
    },
    {
      "epoch": 31.336405529953918,
      "grad_norm": 0.302731990814209,
      "learning_rate": 1.8537037037037037e-05,
      "loss": 0.1587,
      "step": 1700
    },
    {
      "epoch": 31.336405529953918,
      "eval_accuracy": 0.9647220525351252,
      "eval_loss": 0.1241796463727951,
      "eval_runtime": 2.1929,
      "eval_samples_per_second": 665.32,
      "eval_steps_per_second": 5.472,
      "step": 1700
    },
    {
      "epoch": 33.17972350230415,
      "grad_norm": 0.2924918830394745,
      "learning_rate": 1.6685185185185187e-05,
      "loss": 0.1535,
      "step": 1800
    },
    {
      "epoch": 33.17972350230415,
      "eval_accuracy": 0.9656390433391728,
      "eval_loss": 0.11920326948165894,
      "eval_runtime": 2.5148,
      "eval_samples_per_second": 580.167,
      "eval_steps_per_second": 4.772,
      "step": 1800
    },
    {
      "epoch": 35.02304147465438,
      "grad_norm": 0.28826281428337097,
      "learning_rate": 1.4833333333333336e-05,
      "loss": 0.1513,
      "step": 1900
    },
    {
      "epoch": 35.02304147465438,
      "eval_accuracy": 0.9667637762291024,
      "eval_loss": 0.11383702605962753,
      "eval_runtime": 2.2026,
      "eval_samples_per_second": 662.398,
      "eval_steps_per_second": 5.448,
      "step": 1900
    },
    {
      "epoch": 36.866359447004605,
      "grad_norm": 0.3061148226261139,
      "learning_rate": 1.2981481481481483e-05,
      "loss": 0.1475,
      "step": 2000
    },
    {
      "epoch": 36.866359447004605,
      "eval_accuracy": 0.9674900966719034,
      "eval_loss": 0.11254725605249405,
      "eval_runtime": 2.1953,
      "eval_samples_per_second": 664.587,
      "eval_steps_per_second": 5.466,
      "step": 2000
    },
    {
      "epoch": 38.70967741935484,
      "grad_norm": 0.29151493310928345,
      "learning_rate": 1.1129629629629631e-05,
      "loss": 0.1451,
      "step": 2100
    },
    {
      "epoch": 38.70967741935484,
      "eval_accuracy": 0.9666907144077611,
      "eval_loss": 0.11542753875255585,
      "eval_runtime": 2.1993,
      "eval_samples_per_second": 663.397,
      "eval_steps_per_second": 5.456,
      "step": 2100
    },
    {
      "epoch": 40.55299539170507,
      "grad_norm": 0.2895043194293976,
      "learning_rate": 9.277777777777778e-06,
      "loss": 0.1434,
      "step": 2200
    },
    {
      "epoch": 40.55299539170507,
      "eval_accuracy": 0.9673665255454876,
      "eval_loss": 0.11377675086259842,
      "eval_runtime": 2.5118,
      "eval_samples_per_second": 580.85,
      "eval_steps_per_second": 4.777,
      "step": 2200
    },
    {
      "epoch": 42.3963133640553,
      "grad_norm": 0.2832992374897003,
      "learning_rate": 7.425925925925927e-06,
      "loss": 0.1413,
      "step": 2300
    },
    {
      "epoch": 42.3963133640553,
      "eval_accuracy": 0.9687953762491814,
      "eval_loss": 0.10766085237264633,
      "eval_runtime": 2.5152,
      "eval_samples_per_second": 580.081,
      "eval_steps_per_second": 4.771,
      "step": 2300
    },
    {
      "epoch": 44.23963133640553,
      "grad_norm": 0.2880547046661377,
      "learning_rate": 5.574074074074074e-06,
      "loss": 0.1398,
      "step": 2400
    },
    {
      "epoch": 44.23963133640553,
      "eval_accuracy": 0.9683431416498955,
      "eval_loss": 0.10695406049489975,
      "eval_runtime": 2.1984,
      "eval_samples_per_second": 663.665,
      "eval_steps_per_second": 5.459,
      "step": 2400
    },
    {
      "epoch": 46.08294930875576,
      "grad_norm": 0.2785598337650299,
      "learning_rate": 3.722222222222222e-06,
      "loss": 0.1373,
      "step": 2500
    },
    {
      "epoch": 46.08294930875576,
      "eval_accuracy": 0.9688496396065625,
      "eval_loss": 0.10353731364011765,
      "eval_runtime": 1.8905,
      "eval_samples_per_second": 771.736,
      "eval_steps_per_second": 6.347,
      "step": 2500
    },
    {
      "epoch": 47.92626728110599,
      "grad_norm": 0.2812165319919586,
      "learning_rate": 1.8703703703703707e-06,
      "loss": 0.1366,
      "step": 2600
    },
    {
      "epoch": 47.92626728110599,
      "eval_accuracy": 0.9693371955635172,
      "eval_loss": 0.10568127781152725,
      "eval_runtime": 1.8904,
      "eval_samples_per_second": 771.79,
      "eval_steps_per_second": 6.348,
      "step": 2600
    },
    {
      "epoch": 49.76958525345622,
      "grad_norm": 0.2685796022415161,
      "learning_rate": 1.8518518518518518e-08,
      "loss": 0.1368,
      "step": 2700
    },
    {
      "epoch": 49.76958525345622,
      "eval_accuracy": 0.9689754071024974,
      "eval_loss": 0.10547203570604324,
      "eval_runtime": 1.8901,
      "eval_samples_per_second": 771.907,
      "eval_steps_per_second": 6.349,
      "step": 2700
    }
  ],
  "logging_steps": 100,
  "max_steps": 2700,
  "num_input_tokens_seen": 0,
  "num_train_epochs": 50,
  "save_steps": 100,
  "stateful_callbacks": {
    "TrainerControl": {
      "args": {
        "should_epoch_stop": false,
        "should_evaluate": false,
        "should_log": false,
        "should_save": true,
        "should_training_stop": true
      },
      "attributes": {}
    }
  },
  "total_flos": 3.638543188324516e+17,
  "train_batch_size": 32,
  "trial_name": null,
  "trial_params": null
}