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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
{
  "best_metric": null,
  "best_model_checkpoint": null,
  "epoch": 20.0,
  "eval_steps": 500,
  "global_step": 2440,
  "is_hyper_param_search": false,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "epoch": 1.0,
      "grad_norm": 5.091732025146484,
      "learning_rate": 4.75e-05,
      "loss": 0.5658,
      "step": 122
    },
    {
      "epoch": 1.0,
      "eval_accuracy": 0.7268170426065163,
      "eval_f1": 0.6550441396924102,
      "eval_loss": 0.519511878490448,
      "eval_precision": 0.6646488294314381,
      "eval_recall": 0.6492089470812875,
      "eval_runtime": 5.1668,
      "eval_samples_per_second": 77.224,
      "eval_steps_per_second": 9.677,
      "step": 122
    },
    {
      "epoch": 2.0,
      "grad_norm": 4.045337200164795,
      "learning_rate": 4.5e-05,
      "loss": 0.5125,
      "step": 244
    },
    {
      "epoch": 2.0,
      "eval_accuracy": 0.7293233082706767,
      "eval_f1": 0.6854598540145985,
      "eval_loss": 0.5060133337974548,
      "eval_precision": 0.6804511278195489,
      "eval_recall": 0.6934897254046191,
      "eval_runtime": 5.0798,
      "eval_samples_per_second": 78.546,
      "eval_steps_per_second": 9.843,
      "step": 244
    },
    {
      "epoch": 3.0,
      "grad_norm": 4.02074670791626,
      "learning_rate": 4.25e-05,
      "loss": 0.4809,
      "step": 366
    },
    {
      "epoch": 3.0,
      "eval_accuracy": 0.7669172932330827,
      "eval_f1": 0.7166907166907166,
      "eval_loss": 0.46860969066619873,
      "eval_precision": 0.718421052631579,
      "eval_recall": 0.7150845608292418,
      "eval_runtime": 5.0663,
      "eval_samples_per_second": 78.755,
      "eval_steps_per_second": 9.869,
      "step": 366
    },
    {
      "epoch": 4.0,
      "grad_norm": 2.456829786300659,
      "learning_rate": 4e-05,
      "loss": 0.4353,
      "step": 488
    },
    {
      "epoch": 4.0,
      "eval_accuracy": 0.7919799498746867,
      "eval_f1": 0.7417274322480016,
      "eval_loss": 0.4295312464237213,
      "eval_precision": 0.7499839010882864,
      "eval_recall": 0.7353155119112567,
      "eval_runtime": 5.0682,
      "eval_samples_per_second": 78.726,
      "eval_steps_per_second": 9.865,
      "step": 488
    },
    {
      "epoch": 5.0,
      "grad_norm": 3.0160815715789795,
      "learning_rate": 3.7500000000000003e-05,
      "loss": 0.4116,
      "step": 610
    },
    {
      "epoch": 5.0,
      "eval_accuracy": 0.8020050125313283,
      "eval_f1": 0.7713964535663778,
      "eval_loss": 0.4171212613582611,
      "eval_precision": 0.7628187206441512,
      "eval_recall": 0.7849154391707583,
      "eval_runtime": 5.0604,
      "eval_samples_per_second": 78.848,
      "eval_steps_per_second": 9.881,
      "step": 610
    },
    {
      "epoch": 6.0,
      "grad_norm": 2.68072509765625,
      "learning_rate": 3.5e-05,
      "loss": 0.3809,
      "step": 732
    },
    {
      "epoch": 6.0,
      "eval_accuracy": 0.8446115288220551,
      "eval_f1": 0.8096491228070175,
      "eval_loss": 0.38647741079330444,
      "eval_precision": 0.8148460960960962,
      "eval_recall": 0.8050554646299327,
      "eval_runtime": 5.0923,
      "eval_samples_per_second": 78.353,
      "eval_steps_per_second": 9.819,
      "step": 732
    },
    {
      "epoch": 7.0,
      "grad_norm": 1.0169405937194824,
      "learning_rate": 3.2500000000000004e-05,
      "loss": 0.3681,
      "step": 854
    },
    {
      "epoch": 7.0,
      "eval_accuracy": 0.849624060150376,
      "eval_f1": 0.8176861216035092,
      "eval_loss": 0.36971357464790344,
      "eval_precision": 0.8193355786895284,
      "eval_recall": 0.8161029278050556,
      "eval_runtime": 5.0477,
      "eval_samples_per_second": 79.046,
      "eval_steps_per_second": 9.906,
      "step": 854
    },
    {
      "epoch": 8.0,
      "grad_norm": 4.219416618347168,
      "learning_rate": 3e-05,
      "loss": 0.3469,
      "step": 976
    },
    {
      "epoch": 8.0,
      "eval_accuracy": 0.8471177944862155,
      "eval_f1": 0.8101852212906999,
      "eval_loss": 0.35537657141685486,
      "eval_precision": 0.820642024599137,
      "eval_recall": 0.8018276050190944,
      "eval_runtime": 5.1133,
      "eval_samples_per_second": 78.032,
      "eval_steps_per_second": 9.778,
      "step": 976
    },
    {
      "epoch": 9.0,
      "grad_norm": 5.871381759643555,
      "learning_rate": 2.7500000000000004e-05,
      "loss": 0.3455,
      "step": 1098
    },
    {
      "epoch": 9.0,
      "eval_accuracy": 0.849624060150376,
      "eval_f1": 0.8157894736842105,
      "eval_loss": 0.3493554890155792,
      "eval_precision": 0.8210867117117118,
      "eval_recall": 0.8111020185488271,
      "eval_runtime": 5.0475,
      "eval_samples_per_second": 79.05,
      "eval_steps_per_second": 9.906,
      "step": 1098
    },
    {
      "epoch": 10.0,
      "grad_norm": 6.4938273429870605,
      "learning_rate": 2.5e-05,
      "loss": 0.3284,
      "step": 1220
    },
    {
      "epoch": 10.0,
      "eval_accuracy": 0.849624060150376,
      "eval_f1": 0.8095647193585338,
      "eval_loss": 0.34365448355674744,
      "eval_precision": 0.8289393939393939,
      "eval_recall": 0.7960992907801419,
      "eval_runtime": 5.0626,
      "eval_samples_per_second": 78.812,
      "eval_steps_per_second": 9.876,
      "step": 1220
    },
    {
      "epoch": 11.0,
      "grad_norm": 4.7792277336120605,
      "learning_rate": 2.25e-05,
      "loss": 0.3132,
      "step": 1342
    },
    {
      "epoch": 11.0,
      "eval_accuracy": 0.8596491228070176,
      "eval_f1": 0.8242843661528783,
      "eval_loss": 0.3370875418186188,
      "eval_precision": 0.8389366308055628,
      "eval_recall": 0.8131933078741589,
      "eval_runtime": 5.063,
      "eval_samples_per_second": 78.808,
      "eval_steps_per_second": 9.876,
      "step": 1342
    },
    {
      "epoch": 12.0,
      "grad_norm": 11.339967727661133,
      "learning_rate": 2e-05,
      "loss": 0.3042,
      "step": 1464
    },
    {
      "epoch": 12.0,
      "eval_accuracy": 0.8546365914786967,
      "eval_f1": 0.8237632508833923,
      "eval_loss": 0.3370998501777649,
      "eval_precision": 0.8254439681567667,
      "eval_recall": 0.8221494817239499,
      "eval_runtime": 5.0498,
      "eval_samples_per_second": 79.013,
      "eval_steps_per_second": 9.901,
      "step": 1464
    },
    {
      "epoch": 13.0,
      "grad_norm": 3.7291290760040283,
      "learning_rate": 1.75e-05,
      "loss": 0.3063,
      "step": 1586
    },
    {
      "epoch": 13.0,
      "eval_accuracy": 0.8596491228070176,
      "eval_f1": 0.8232837709585574,
      "eval_loss": 0.331680566072464,
      "eval_precision": 0.8405874144461426,
      "eval_recall": 0.8106928532460447,
      "eval_runtime": 5.0673,
      "eval_samples_per_second": 78.74,
      "eval_steps_per_second": 9.867,
      "step": 1586
    },
    {
      "epoch": 14.0,
      "grad_norm": 9.840410232543945,
      "learning_rate": 1.5e-05,
      "loss": 0.3013,
      "step": 1708
    },
    {
      "epoch": 14.0,
      "eval_accuracy": 0.8621553884711779,
      "eval_f1": 0.8306935047100303,
      "eval_loss": 0.33042553067207336,
      "eval_precision": 0.8372758729160114,
      "eval_recall": 0.8249681760320058,
      "eval_runtime": 5.0637,
      "eval_samples_per_second": 78.796,
      "eval_steps_per_second": 9.874,
      "step": 1708
    },
    {
      "epoch": 15.0,
      "grad_norm": 1.2072865962982178,
      "learning_rate": 1.25e-05,
      "loss": 0.2928,
      "step": 1830
    },
    {
      "epoch": 15.0,
      "eval_accuracy": 0.8596491228070176,
      "eval_f1": 0.8289650949173301,
      "eval_loss": 0.3295370638370514,
      "eval_precision": 0.8325081997648369,
      "eval_recall": 0.82569558101473,
      "eval_runtime": 5.0536,
      "eval_samples_per_second": 78.954,
      "eval_steps_per_second": 9.894,
      "step": 1830
    },
    {
      "epoch": 16.0,
      "grad_norm": 7.374602317810059,
      "learning_rate": 1e-05,
      "loss": 0.2864,
      "step": 1952
    },
    {
      "epoch": 16.0,
      "eval_accuracy": 0.8621553884711779,
      "eval_f1": 0.8324514991181657,
      "eval_loss": 0.32842549681663513,
      "eval_precision": 0.8350877192982455,
      "eval_recall": 0.8299690852882342,
      "eval_runtime": 5.1067,
      "eval_samples_per_second": 78.133,
      "eval_steps_per_second": 9.791,
      "step": 1952
    },
    {
      "epoch": 17.0,
      "grad_norm": 5.933995723724365,
      "learning_rate": 7.5e-06,
      "loss": 0.2819,
      "step": 2074
    },
    {
      "epoch": 17.0,
      "eval_accuracy": 0.8596491228070176,
      "eval_f1": 0.8271551457392166,
      "eval_loss": 0.3254449963569641,
      "eval_precision": 0.8347358430876305,
      "eval_recall": 0.8206946717585015,
      "eval_runtime": 5.0579,
      "eval_samples_per_second": 78.886,
      "eval_steps_per_second": 9.886,
      "step": 2074
    },
    {
      "epoch": 18.0,
      "grad_norm": 4.023169994354248,
      "learning_rate": 5e-06,
      "loss": 0.2877,
      "step": 2196
    },
    {
      "epoch": 18.0,
      "eval_accuracy": 0.8596491228070176,
      "eval_f1": 0.8280701754385965,
      "eval_loss": 0.32487839460372925,
      "eval_precision": 0.833567942942943,
      "eval_recall": 0.8231951263866157,
      "eval_runtime": 5.0474,
      "eval_samples_per_second": 79.051,
      "eval_steps_per_second": 9.906,
      "step": 2196
    },
    {
      "epoch": 19.0,
      "grad_norm": 4.3332839012146,
      "learning_rate": 2.5e-06,
      "loss": 0.2819,
      "step": 2318
    },
    {
      "epoch": 19.0,
      "eval_accuracy": 0.8646616541353384,
      "eval_f1": 0.8333281762485303,
      "eval_loss": 0.3241012394428253,
      "eval_precision": 0.8410471369819678,
      "eval_recall": 0.8267412256773959,
      "eval_runtime": 5.0495,
      "eval_samples_per_second": 79.017,
      "eval_steps_per_second": 9.902,
      "step": 2318
    },
    {
      "epoch": 20.0,
      "grad_norm": 7.439182758331299,
      "learning_rate": 0.0,
      "loss": 0.2803,
      "step": 2440
    },
    {
      "epoch": 20.0,
      "eval_accuracy": 0.8621553884711779,
      "eval_f1": 0.8306935047100303,
      "eval_loss": 0.3238792419433594,
      "eval_precision": 0.8372758729160114,
      "eval_recall": 0.8249681760320058,
      "eval_runtime": 5.0469,
      "eval_samples_per_second": 79.058,
      "eval_steps_per_second": 9.907,
      "step": 2440
    },
    {
      "epoch": 20.0,
      "step": 2440,
      "total_flos": 7597037114448000.0,
      "train_loss": 0.35560139046340694,
      "train_runtime": 1953.8843,
      "train_samples_per_second": 37.239,
      "train_steps_per_second": 1.249
    }
  ],
  "logging_steps": 500,
  "max_steps": 2440,
  "num_input_tokens_seen": 0,
  "num_train_epochs": 20,
  "save_steps": 500,
  "total_flos": 7597037114448000.0,
  "train_batch_size": 30,
  "trial_name": null,
  "trial_params": null
}