gbemilekeonilude commited on
Commit
122a720
·
verified ·
1 Parent(s): 924ca35

End of training

Browse files
Files changed (5) hide show
  1. README.md +1 -1
  2. all_results.json +16 -0
  3. eval_results.json +10 -0
  4. train_results.json +10 -0
  5. trainer_state.json +477 -0
README.md CHANGED
@@ -20,7 +20,7 @@ This model is a fine-tuned version of [openai-community/gpt2-medium](https://hug
20
  It achieves the following results on the evaluation set:
21
  - Loss: 1.6778
22
  - Accuracy: 0.1571
23
- - Num Input Tokens Seen: 1638400
24
 
25
  ## Model description
26
 
 
20
  It achieves the following results on the evaluation set:
21
  - Loss: 1.6778
22
  - Accuracy: 0.1571
23
+ - Num Input Tokens Seen: 1941504
24
 
25
  ## Model description
26
 
all_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.15714285714285714,
4
+ "eval_loss": 1.6777832508087158,
5
+ "eval_runtime": 0.8952,
6
+ "eval_samples": 70,
7
+ "eval_samples_per_second": 78.196,
8
+ "eval_steps_per_second": 10.054,
9
+ "num_input_tokens_seen": 1941504,
10
+ "total_flos": 3521692676653056.0,
11
+ "train_loss": 2.0961106618245444,
12
+ "train_runtime": 196.5081,
13
+ "train_samples": 628,
14
+ "train_samples_per_second": 9.587,
15
+ "train_steps_per_second": 1.206
16
+ }
eval_results.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.15714285714285714,
4
+ "eval_loss": 1.6777832508087158,
5
+ "eval_runtime": 0.8952,
6
+ "eval_samples": 70,
7
+ "eval_samples_per_second": 78.196,
8
+ "eval_steps_per_second": 10.054,
9
+ "num_input_tokens_seen": 1941504
10
+ }
train_results.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "num_input_tokens_seen": 1941504,
4
+ "total_flos": 3521692676653056.0,
5
+ "train_loss": 2.0961106618245444,
6
+ "train_runtime": 196.5081,
7
+ "train_samples": 628,
8
+ "train_samples_per_second": 9.587,
9
+ "train_steps_per_second": 1.206
10
+ }
trainer_state.json ADDED
@@ -0,0 +1,477 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.6777832508087158,
3
+ "best_model_checkpoint": "/data/user_data/gonilude/cpp_and_text_gpt2/checkpoint-200",
4
+ "epoch": 3.0,
5
+ "eval_steps": 50,
6
+ "global_step": 237,
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,
13
+ "eval_accuracy": 0.2,
14
+ "eval_loss": 4.986144065856934,
15
+ "eval_runtime": 1.1285,
16
+ "eval_samples_per_second": 62.027,
17
+ "eval_steps_per_second": 7.975,
18
+ "num_input_tokens_seen": 0,
19
+ "step": 0
20
+ },
21
+ {
22
+ "epoch": 0.012658227848101266,
23
+ "grad_norm": NaN,
24
+ "learning_rate": 0.0,
25
+ "loss": 6.4794,
26
+ "num_input_tokens_seen": 8192,
27
+ "step": 1
28
+ },
29
+ {
30
+ "epoch": 0.06329113924050633,
31
+ "grad_norm": NaN,
32
+ "learning_rate": 0.0,
33
+ "loss": 6.133,
34
+ "num_input_tokens_seen": 40960,
35
+ "step": 5
36
+ },
37
+ {
38
+ "epoch": 0.12658227848101267,
39
+ "grad_norm": 1133.67919921875,
40
+ "learning_rate": 5e-06,
41
+ "loss": 5.5324,
42
+ "num_input_tokens_seen": 81920,
43
+ "step": 10
44
+ },
45
+ {
46
+ "epoch": 0.189873417721519,
47
+ "grad_norm": 198.05026245117188,
48
+ "learning_rate": 1.7500000000000002e-05,
49
+ "loss": 6.6948,
50
+ "num_input_tokens_seen": 122880,
51
+ "step": 15
52
+ },
53
+ {
54
+ "epoch": 0.25316455696202533,
55
+ "grad_norm": 115.6029052734375,
56
+ "learning_rate": 1.9984947460216708e-05,
57
+ "loss": 4.4825,
58
+ "num_input_tokens_seen": 163840,
59
+ "step": 20
60
+ },
61
+ {
62
+ "epoch": 0.31645569620253167,
63
+ "grad_norm": 88.50775909423828,
64
+ "learning_rate": 1.9923874174311394e-05,
65
+ "loss": 4.1532,
66
+ "num_input_tokens_seen": 204800,
67
+ "step": 25
68
+ },
69
+ {
70
+ "epoch": 0.379746835443038,
71
+ "grad_norm": 107.87947082519531,
72
+ "learning_rate": 1.9816126380411478e-05,
73
+ "loss": 4.0467,
74
+ "num_input_tokens_seen": 245760,
75
+ "step": 30
76
+ },
77
+ {
78
+ "epoch": 0.4430379746835443,
79
+ "grad_norm": 23.852434158325195,
80
+ "learning_rate": 1.9662210843836574e-05,
81
+ "loss": 1.649,
82
+ "num_input_tokens_seen": 286720,
83
+ "step": 35
84
+ },
85
+ {
86
+ "epoch": 0.5063291139240507,
87
+ "grad_norm": 12.68623161315918,
88
+ "learning_rate": 1.946285146855968e-05,
89
+ "loss": 1.8697,
90
+ "num_input_tokens_seen": 327680,
91
+ "step": 40
92
+ },
93
+ {
94
+ "epoch": 0.569620253164557,
95
+ "grad_norm": 13.480600357055664,
96
+ "learning_rate": 1.921898589250242e-05,
97
+ "loss": 1.8013,
98
+ "num_input_tokens_seen": 368640,
99
+ "step": 45
100
+ },
101
+ {
102
+ "epoch": 0.6329113924050633,
103
+ "grad_norm": 18.860410690307617,
104
+ "learning_rate": 1.8931761077585037e-05,
105
+ "loss": 1.8815,
106
+ "num_input_tokens_seen": 409600,
107
+ "step": 50
108
+ },
109
+ {
110
+ "epoch": 0.6329113924050633,
111
+ "eval_accuracy": 0.18571428571428572,
112
+ "eval_loss": 1.7072056531906128,
113
+ "eval_runtime": 0.9042,
114
+ "eval_samples_per_second": 77.413,
115
+ "eval_steps_per_second": 9.953,
116
+ "num_input_tokens_seen": 409600,
117
+ "step": 50
118
+ },
119
+ {
120
+ "epoch": 0.6962025316455697,
121
+ "grad_norm": 38.59328842163086,
122
+ "learning_rate": 1.860252791527236e-05,
123
+ "loss": 1.7259,
124
+ "num_input_tokens_seen": 450560,
125
+ "step": 55
126
+ },
127
+ {
128
+ "epoch": 0.759493670886076,
129
+ "grad_norm": 12.516915321350098,
130
+ "learning_rate": 1.8232834872987147e-05,
131
+ "loss": 1.8872,
132
+ "num_input_tokens_seen": 491520,
133
+ "step": 60
134
+ },
135
+ {
136
+ "epoch": 0.8227848101265823,
137
+ "grad_norm": 30.57850456237793,
138
+ "learning_rate": 1.782442071127338e-05,
139
+ "loss": 1.8078,
140
+ "num_input_tokens_seen": 532480,
141
+ "step": 65
142
+ },
143
+ {
144
+ "epoch": 0.8860759493670886,
145
+ "grad_norm": 15.95567512512207,
146
+ "learning_rate": 1.7379206305962525e-05,
147
+ "loss": 1.7026,
148
+ "num_input_tokens_seen": 573440,
149
+ "step": 70
150
+ },
151
+ {
152
+ "epoch": 0.9493670886075949,
153
+ "grad_norm": 16.61585235595703,
154
+ "learning_rate": 1.6899285613805246e-05,
155
+ "loss": 1.6721,
156
+ "num_input_tokens_seen": 614400,
157
+ "step": 75
158
+ },
159
+ {
160
+ "epoch": 1.0126582278481013,
161
+ "grad_norm": 17.780010223388672,
162
+ "learning_rate": 1.6386915824059427e-05,
163
+ "loss": 1.4982,
164
+ "num_input_tokens_seen": 655360,
165
+ "step": 80
166
+ },
167
+ {
168
+ "epoch": 1.0759493670886076,
169
+ "grad_norm": 15.395638465881348,
170
+ "learning_rate": 1.5844506742354163e-05,
171
+ "loss": 1.7322,
172
+ "num_input_tokens_seen": 696320,
173
+ "step": 85
174
+ },
175
+ {
176
+ "epoch": 1.139240506329114,
177
+ "grad_norm": 18.798755645751953,
178
+ "learning_rate": 1.5274609456760073e-05,
179
+ "loss": 1.6946,
180
+ "num_input_tokens_seen": 737280,
181
+ "step": 90
182
+ },
183
+ {
184
+ "epoch": 1.2025316455696202,
185
+ "grad_norm": 15.229305267333984,
186
+ "learning_rate": 1.4679904339372301e-05,
187
+ "loss": 1.6712,
188
+ "num_input_tokens_seen": 778240,
189
+ "step": 95
190
+ },
191
+ {
192
+ "epoch": 1.2658227848101267,
193
+ "grad_norm": 14.479815483093262,
194
+ "learning_rate": 1.4063188439837831e-05,
195
+ "loss": 1.6129,
196
+ "num_input_tokens_seen": 819200,
197
+ "step": 100
198
+ },
199
+ {
200
+ "epoch": 1.2658227848101267,
201
+ "eval_accuracy": 0.15714285714285714,
202
+ "eval_loss": 1.7499092817306519,
203
+ "eval_runtime": 0.9052,
204
+ "eval_samples_per_second": 77.327,
205
+ "eval_steps_per_second": 9.942,
206
+ "num_input_tokens_seen": 819200,
207
+ "step": 100
208
+ },
209
+ {
210
+ "epoch": 1.3291139240506329,
211
+ "grad_norm": 15.65237045288086,
212
+ "learning_rate": 1.3427362330118542e-05,
213
+ "loss": 1.6163,
214
+ "num_input_tokens_seen": 860160,
215
+ "step": 105
216
+ },
217
+ {
218
+ "epoch": 1.3924050632911391,
219
+ "grad_norm": 12.068513870239258,
220
+ "learning_rate": 1.2775416462362458e-05,
221
+ "loss": 1.6507,
222
+ "num_input_tokens_seen": 901120,
223
+ "step": 110
224
+ },
225
+ {
226
+ "epoch": 1.4556962025316456,
227
+ "grad_norm": 18.504961013793945,
228
+ "learning_rate": 1.2110417104045575e-05,
229
+ "loss": 1.6317,
230
+ "num_input_tokens_seen": 942080,
231
+ "step": 115
232
+ },
233
+ {
234
+ "epoch": 1.518987341772152,
235
+ "grad_norm": 13.793102264404297,
236
+ "learning_rate": 1.1435491916534919e-05,
237
+ "loss": 1.7895,
238
+ "num_input_tokens_seen": 983040,
239
+ "step": 120
240
+ },
241
+ {
242
+ "epoch": 1.5822784810126582,
243
+ "grad_norm": 22.34800148010254,
244
+ "learning_rate": 1.0753815244900459e-05,
245
+ "loss": 1.6955,
246
+ "num_input_tokens_seen": 1024000,
247
+ "step": 125
248
+ },
249
+ {
250
+ "epoch": 1.6455696202531644,
251
+ "grad_norm": 19.815095901489258,
252
+ "learning_rate": 1.0068593188161698e-05,
253
+ "loss": 1.686,
254
+ "num_input_tokens_seen": 1064960,
255
+ "step": 130
256
+ },
257
+ {
258
+ "epoch": 1.7088607594936709,
259
+ "grad_norm": 22.263498306274414,
260
+ "learning_rate": 9.383048520187344e-06,
261
+ "loss": 1.6595,
262
+ "num_input_tokens_seen": 1105920,
263
+ "step": 135
264
+ },
265
+ {
266
+ "epoch": 1.7721518987341773,
267
+ "grad_norm": 19.161380767822266,
268
+ "learning_rate": 8.700405532168921e-06,
269
+ "loss": 1.5961,
270
+ "num_input_tokens_seen": 1146880,
271
+ "step": 140
272
+ },
273
+ {
274
+ "epoch": 1.8354430379746836,
275
+ "grad_norm": 27.031253814697266,
276
+ "learning_rate": 8.023874867958027e-06,
277
+ "loss": 1.7879,
278
+ "num_input_tokens_seen": 1187840,
279
+ "step": 145
280
+ },
281
+ {
282
+ "epoch": 1.8987341772151898,
283
+ "grad_norm": 18.79669952392578,
284
+ "learning_rate": 7.3566384235904855e-06,
285
+ "loss": 1.6363,
286
+ "num_input_tokens_seen": 1228800,
287
+ "step": 150
288
+ },
289
+ {
290
+ "epoch": 1.8987341772151898,
291
+ "eval_accuracy": 0.15714285714285714,
292
+ "eval_loss": 1.7443429231643677,
293
+ "eval_runtime": 0.9046,
294
+ "eval_samples_per_second": 77.387,
295
+ "eval_steps_per_second": 9.95,
296
+ "num_input_tokens_seen": 1228800,
297
+ "step": 150
298
+ },
299
+ {
300
+ "epoch": 1.9620253164556962,
301
+ "grad_norm": 15.857290267944336,
302
+ "learning_rate": 6.7018343820188324e-06,
303
+ "loss": 1.7356,
304
+ "num_input_tokens_seen": 1269760,
305
+ "step": 155
306
+ },
307
+ {
308
+ "epoch": 2.0253164556962027,
309
+ "grad_norm": 14.174161911010742,
310
+ "learning_rate": 6.0625424534385425e-06,
311
+ "loss": 1.6213,
312
+ "num_input_tokens_seen": 1310720,
313
+ "step": 160
314
+ },
315
+ {
316
+ "epoch": 2.088607594936709,
317
+ "grad_norm": 19.495052337646484,
318
+ "learning_rate": 5.441769390626537e-06,
319
+ "loss": 1.6586,
320
+ "num_input_tokens_seen": 1351680,
321
+ "step": 165
322
+ },
323
+ {
324
+ "epoch": 2.151898734177215,
325
+ "grad_norm": 9.598532676696777,
326
+ "learning_rate": 4.842434847417001e-06,
327
+ "loss": 1.4322,
328
+ "num_input_tokens_seen": 1392640,
329
+ "step": 170
330
+ },
331
+ {
332
+ "epoch": 2.2151898734177213,
333
+ "grad_norm": 17.1945858001709,
334
+ "learning_rate": 4.267357646825746e-06,
335
+ "loss": 1.5919,
336
+ "num_input_tokens_seen": 1433600,
337
+ "step": 175
338
+ },
339
+ {
340
+ "epoch": 2.278481012658228,
341
+ "grad_norm": 17.863174438476562,
342
+ "learning_rate": 3.719242523407539e-06,
343
+ "loss": 1.5252,
344
+ "num_input_tokens_seen": 1474560,
345
+ "step": 180
346
+ },
347
+ {
348
+ "epoch": 2.3417721518987342,
349
+ "grad_norm": 8.82008171081543,
350
+ "learning_rate": 3.2006674022005857e-06,
351
+ "loss": 1.6203,
352
+ "num_input_tokens_seen": 1515520,
353
+ "step": 185
354
+ },
355
+ {
356
+ "epoch": 2.4050632911392404,
357
+ "grad_norm": 10.616914749145508,
358
+ "learning_rate": 2.714071274088438e-06,
359
+ "loss": 1.5487,
360
+ "num_input_tokens_seen": 1556480,
361
+ "step": 190
362
+ },
363
+ {
364
+ "epoch": 2.4683544303797467,
365
+ "grad_norm": 10.994531631469727,
366
+ "learning_rate": 2.2617427246045976e-06,
367
+ "loss": 1.6295,
368
+ "num_input_tokens_seen": 1597440,
369
+ "step": 195
370
+ },
371
+ {
372
+ "epoch": 2.5316455696202533,
373
+ "grad_norm": 18.025531768798828,
374
+ "learning_rate": 1.8458091701318504e-06,
375
+ "loss": 1.5486,
376
+ "num_input_tokens_seen": 1638400,
377
+ "step": 200
378
+ },
379
+ {
380
+ "epoch": 2.5316455696202533,
381
+ "eval_accuracy": 0.15714285714285714,
382
+ "eval_loss": 1.6777832508087158,
383
+ "eval_runtime": 0.909,
384
+ "eval_samples_per_second": 77.011,
385
+ "eval_steps_per_second": 9.901,
386
+ "num_input_tokens_seen": 1638400,
387
+ "step": 200
388
+ },
389
+ {
390
+ "epoch": 2.5949367088607596,
391
+ "grad_norm": 11.53801155090332,
392
+ "learning_rate": 1.4682268521211075e-06,
393
+ "loss": 1.5443,
394
+ "num_input_tokens_seen": 1679360,
395
+ "step": 205
396
+ },
397
+ {
398
+ "epoch": 2.6582278481012658,
399
+ "grad_norm": 9.935652732849121,
400
+ "learning_rate": 1.130771636389596e-06,
401
+ "loss": 1.5573,
402
+ "num_input_tokens_seen": 1720320,
403
+ "step": 210
404
+ },
405
+ {
406
+ "epoch": 2.721518987341772,
407
+ "grad_norm": 11.843810081481934,
408
+ "learning_rate": 8.350306607715774e-07,
409
+ "loss": 1.5242,
410
+ "num_input_tokens_seen": 1761280,
411
+ "step": 215
412
+ },
413
+ {
414
+ "epoch": 2.7848101265822782,
415
+ "grad_norm": 14.085565567016602,
416
+ "learning_rate": 5.823948704048443e-07,
417
+ "loss": 1.5748,
418
+ "num_input_tokens_seen": 1802240,
419
+ "step": 220
420
+ },
421
+ {
422
+ "epoch": 2.848101265822785,
423
+ "grad_norm": 12.15102767944336,
424
+ "learning_rate": 3.7405247576144055e-07,
425
+ "loss": 1.5469,
426
+ "num_input_tokens_seen": 1843200,
427
+ "step": 225
428
+ },
429
+ {
430
+ "epoch": 2.911392405063291,
431
+ "grad_norm": 15.505411148071289,
432
+ "learning_rate": 2.1098336419116628e-07,
433
+ "loss": 1.5503,
434
+ "num_input_tokens_seen": 1884160,
435
+ "step": 230
436
+ },
437
+ {
438
+ "epoch": 2.9746835443037973,
439
+ "grad_norm": 11.011249542236328,
440
+ "learning_rate": 9.395449126177291e-08,
441
+ "loss": 1.4825,
442
+ "num_input_tokens_seen": 1925120,
443
+ "step": 235
444
+ },
445
+ {
446
+ "epoch": 3.0,
447
+ "num_input_tokens_seen": 1941504,
448
+ "step": 237,
449
+ "total_flos": 3521692676653056.0,
450
+ "train_loss": 2.0961106618245444,
451
+ "train_runtime": 196.5081,
452
+ "train_samples_per_second": 9.587,
453
+ "train_steps_per_second": 1.206
454
+ }
455
+ ],
456
+ "logging_steps": 5,
457
+ "max_steps": 237,
458
+ "num_input_tokens_seen": 1941504,
459
+ "num_train_epochs": 3,
460
+ "save_steps": 50,
461
+ "stateful_callbacks": {
462
+ "TrainerControl": {
463
+ "args": {
464
+ "should_epoch_stop": false,
465
+ "should_evaluate": false,
466
+ "should_log": false,
467
+ "should_save": true,
468
+ "should_training_stop": true
469
+ },
470
+ "attributes": {}
471
+ }
472
+ },
473
+ "total_flos": 3521692676653056.0,
474
+ "train_batch_size": 4,
475
+ "trial_name": null,
476
+ "trial_params": null
477
+ }