gbemilekeonilude commited on
Commit
c072d12
1 Parent(s): a55b9a7

End of training

Browse files
Files changed (5) hide show
  1. README.md +3 -3
  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
@@ -18,9 +18,9 @@ should probably proofread and complete it, then remove this comment. -->
18
 
19
  This model is a fine-tuned version of [EleutherAI/pythia-160m](https://huggingface.co/EleutherAI/pythia-160m) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 1.6664
22
- - Accuracy: 0.1408
23
- - Num Input Tokens Seen: 1638400
24
 
25
  ## Model description
26
 
 
18
 
19
  This model is a fine-tuned version of [EleutherAI/pythia-160m](https://huggingface.co/EleutherAI/pythia-160m) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
+ - Loss: 1.6491
22
+ - Accuracy: 0.1972
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.19718309859154928,
4
+ "eval_loss": 1.6491321325302124,
5
+ "eval_runtime": 0.1737,
6
+ "eval_samples": 71,
7
+ "eval_samples_per_second": 408.647,
8
+ "eval_steps_per_second": 51.8,
9
+ "num_input_tokens_seen": 1941504,
10
+ "total_flos": 990864117596160.0,
11
+ "train_loss": 2.1522638506024196,
12
+ "train_runtime": 52.4434,
13
+ "train_samples": 631,
14
+ "train_samples_per_second": 36.096,
15
+ "train_steps_per_second": 4.519
16
+ }
eval_results.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.19718309859154928,
4
+ "eval_loss": 1.6491321325302124,
5
+ "eval_runtime": 0.1737,
6
+ "eval_samples": 71,
7
+ "eval_samples_per_second": 408.647,
8
+ "eval_steps_per_second": 51.8,
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": 990864117596160.0,
5
+ "train_loss": 2.1522638506024196,
6
+ "train_runtime": 52.4434,
7
+ "train_samples": 631,
8
+ "train_samples_per_second": 36.096,
9
+ "train_steps_per_second": 4.519
10
+ }
trainer_state.json ADDED
@@ -0,0 +1,477 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.6491321325302124,
3
+ "best_model_checkpoint": "/data/user_data/gonilude/python_and_text_pythia_160m/checkpoint-150",
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.19718309859154928,
14
+ "eval_loss": 9.814414978027344,
15
+ "eval_runtime": 0.3368,
16
+ "eval_samples_per_second": 210.811,
17
+ "eval_steps_per_second": 26.723,
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": 9.425,
26
+ "num_input_tokens_seen": 8192,
27
+ "step": 1
28
+ },
29
+ {
30
+ "epoch": 0.06329113924050633,
31
+ "grad_norm": Infinity,
32
+ "learning_rate": 0.0,
33
+ "loss": 7.9382,
34
+ "num_input_tokens_seen": 40960,
35
+ "step": 5
36
+ },
37
+ {
38
+ "epoch": 0.12658227848101267,
39
+ "grad_norm": Infinity,
40
+ "learning_rate": 5e-06,
41
+ "loss": 8.0612,
42
+ "num_input_tokens_seen": 81920,
43
+ "step": 10
44
+ },
45
+ {
46
+ "epoch": 0.189873417721519,
47
+ "grad_norm": 377.5516662597656,
48
+ "learning_rate": 1.7500000000000002e-05,
49
+ "loss": 6.289,
50
+ "num_input_tokens_seen": 122880,
51
+ "step": 15
52
+ },
53
+ {
54
+ "epoch": 0.25316455696202533,
55
+ "grad_norm": 519.905517578125,
56
+ "learning_rate": 1.9984947460216708e-05,
57
+ "loss": 3.6305,
58
+ "num_input_tokens_seen": 163840,
59
+ "step": 20
60
+ },
61
+ {
62
+ "epoch": 0.31645569620253167,
63
+ "grad_norm": 137.5762939453125,
64
+ "learning_rate": 1.9923874174311394e-05,
65
+ "loss": 2.816,
66
+ "num_input_tokens_seen": 204800,
67
+ "step": 25
68
+ },
69
+ {
70
+ "epoch": 0.379746835443038,
71
+ "grad_norm": 152.59420776367188,
72
+ "learning_rate": 1.9816126380411478e-05,
73
+ "loss": 1.8783,
74
+ "num_input_tokens_seen": 245760,
75
+ "step": 30
76
+ },
77
+ {
78
+ "epoch": 0.4430379746835443,
79
+ "grad_norm": 184.83087158203125,
80
+ "learning_rate": 1.9662210843836574e-05,
81
+ "loss": 2.1072,
82
+ "num_input_tokens_seen": 286720,
83
+ "step": 35
84
+ },
85
+ {
86
+ "epoch": 0.5063291139240507,
87
+ "grad_norm": 186.87013244628906,
88
+ "learning_rate": 1.946285146855968e-05,
89
+ "loss": 1.958,
90
+ "num_input_tokens_seen": 327680,
91
+ "step": 40
92
+ },
93
+ {
94
+ "epoch": 0.569620253164557,
95
+ "grad_norm": 170.01846313476562,
96
+ "learning_rate": 1.921898589250242e-05,
97
+ "loss": 2.15,
98
+ "num_input_tokens_seen": 368640,
99
+ "step": 45
100
+ },
101
+ {
102
+ "epoch": 0.6329113924050633,
103
+ "grad_norm": 156.2119598388672,
104
+ "learning_rate": 1.8931761077585037e-05,
105
+ "loss": 2.0211,
106
+ "num_input_tokens_seen": 409600,
107
+ "step": 50
108
+ },
109
+ {
110
+ "epoch": 0.6329113924050633,
111
+ "eval_accuracy": 0.1267605633802817,
112
+ "eval_loss": 1.9534826278686523,
113
+ "eval_runtime": 0.2174,
114
+ "eval_samples_per_second": 326.596,
115
+ "eval_steps_per_second": 41.4,
116
+ "num_input_tokens_seen": 409600,
117
+ "step": 50
118
+ },
119
+ {
120
+ "epoch": 0.6962025316455697,
121
+ "grad_norm": 125.18607330322266,
122
+ "learning_rate": 1.860252791527236e-05,
123
+ "loss": 1.8652,
124
+ "num_input_tokens_seen": 450560,
125
+ "step": 55
126
+ },
127
+ {
128
+ "epoch": 0.759493670886076,
129
+ "grad_norm": 131.51097106933594,
130
+ "learning_rate": 1.8232834872987147e-05,
131
+ "loss": 1.6875,
132
+ "num_input_tokens_seen": 491520,
133
+ "step": 60
134
+ },
135
+ {
136
+ "epoch": 0.8227848101265823,
137
+ "grad_norm": 132.37973022460938,
138
+ "learning_rate": 1.782442071127338e-05,
139
+ "loss": 1.8354,
140
+ "num_input_tokens_seen": 532480,
141
+ "step": 65
142
+ },
143
+ {
144
+ "epoch": 0.8860759493670886,
145
+ "grad_norm": 158.42999267578125,
146
+ "learning_rate": 1.7379206305962525e-05,
147
+ "loss": 1.8209,
148
+ "num_input_tokens_seen": 573440,
149
+ "step": 70
150
+ },
151
+ {
152
+ "epoch": 0.9493670886075949,
153
+ "grad_norm": 67.9870834350586,
154
+ "learning_rate": 1.6899285613805246e-05,
155
+ "loss": 1.7624,
156
+ "num_input_tokens_seen": 614400,
157
+ "step": 75
158
+ },
159
+ {
160
+ "epoch": 1.0126582278481013,
161
+ "grad_norm": 178.30116271972656,
162
+ "learning_rate": 1.6386915824059427e-05,
163
+ "loss": 1.7832,
164
+ "num_input_tokens_seen": 655360,
165
+ "step": 80
166
+ },
167
+ {
168
+ "epoch": 1.0759493670886076,
169
+ "grad_norm": 185.28076171875,
170
+ "learning_rate": 1.5844506742354163e-05,
171
+ "loss": 2.1439,
172
+ "num_input_tokens_seen": 696320,
173
+ "step": 85
174
+ },
175
+ {
176
+ "epoch": 1.139240506329114,
177
+ "grad_norm": 157.6683807373047,
178
+ "learning_rate": 1.5274609456760073e-05,
179
+ "loss": 1.8426,
180
+ "num_input_tokens_seen": 737280,
181
+ "step": 90
182
+ },
183
+ {
184
+ "epoch": 1.2025316455696202,
185
+ "grad_norm": 107.63882446289062,
186
+ "learning_rate": 1.4679904339372301e-05,
187
+ "loss": 1.7307,
188
+ "num_input_tokens_seen": 778240,
189
+ "step": 95
190
+ },
191
+ {
192
+ "epoch": 1.2658227848101267,
193
+ "grad_norm": 126.8455581665039,
194
+ "learning_rate": 1.4063188439837831e-05,
195
+ "loss": 1.916,
196
+ "num_input_tokens_seen": 819200,
197
+ "step": 100
198
+ },
199
+ {
200
+ "epoch": 1.2658227848101267,
201
+ "eval_accuracy": 0.19718309859154928,
202
+ "eval_loss": 1.6971796751022339,
203
+ "eval_runtime": 0.219,
204
+ "eval_samples_per_second": 324.264,
205
+ "eval_steps_per_second": 41.104,
206
+ "num_input_tokens_seen": 819200,
207
+ "step": 100
208
+ },
209
+ {
210
+ "epoch": 1.3291139240506329,
211
+ "grad_norm": 104.72110748291016,
212
+ "learning_rate": 1.3427362330118542e-05,
213
+ "loss": 1.7162,
214
+ "num_input_tokens_seen": 860160,
215
+ "step": 105
216
+ },
217
+ {
218
+ "epoch": 1.3924050632911391,
219
+ "grad_norm": 93.7473373413086,
220
+ "learning_rate": 1.2775416462362458e-05,
221
+ "loss": 1.6155,
222
+ "num_input_tokens_seen": 901120,
223
+ "step": 110
224
+ },
225
+ {
226
+ "epoch": 1.4556962025316456,
227
+ "grad_norm": 83.0439682006836,
228
+ "learning_rate": 1.2110417104045575e-05,
229
+ "loss": 1.7444,
230
+ "num_input_tokens_seen": 942080,
231
+ "step": 115
232
+ },
233
+ {
234
+ "epoch": 1.518987341772152,
235
+ "grad_norm": 88.41893768310547,
236
+ "learning_rate": 1.1435491916534919e-05,
237
+ "loss": 1.6476,
238
+ "num_input_tokens_seen": 983040,
239
+ "step": 120
240
+ },
241
+ {
242
+ "epoch": 1.5822784810126582,
243
+ "grad_norm": 49.397403717041016,
244
+ "learning_rate": 1.0753815244900459e-05,
245
+ "loss": 1.5816,
246
+ "num_input_tokens_seen": 1024000,
247
+ "step": 125
248
+ },
249
+ {
250
+ "epoch": 1.6455696202531644,
251
+ "grad_norm": 87.76904296875,
252
+ "learning_rate": 1.0068593188161698e-05,
253
+ "loss": 2.0688,
254
+ "num_input_tokens_seen": 1064960,
255
+ "step": 130
256
+ },
257
+ {
258
+ "epoch": 1.7088607594936709,
259
+ "grad_norm": 60.90505599975586,
260
+ "learning_rate": 9.383048520187344e-06,
261
+ "loss": 1.6899,
262
+ "num_input_tokens_seen": 1105920,
263
+ "step": 135
264
+ },
265
+ {
266
+ "epoch": 1.7721518987341773,
267
+ "grad_norm": 80.01156616210938,
268
+ "learning_rate": 8.700405532168921e-06,
269
+ "loss": 1.6115,
270
+ "num_input_tokens_seen": 1146880,
271
+ "step": 140
272
+ },
273
+ {
274
+ "epoch": 1.8354430379746836,
275
+ "grad_norm": 92.96195983886719,
276
+ "learning_rate": 8.023874867958027e-06,
277
+ "loss": 1.5858,
278
+ "num_input_tokens_seen": 1187840,
279
+ "step": 145
280
+ },
281
+ {
282
+ "epoch": 1.8987341772151898,
283
+ "grad_norm": 149.9720001220703,
284
+ "learning_rate": 7.3566384235904855e-06,
285
+ "loss": 1.6616,
286
+ "num_input_tokens_seen": 1228800,
287
+ "step": 150
288
+ },
289
+ {
290
+ "epoch": 1.8987341772151898,
291
+ "eval_accuracy": 0.19718309859154928,
292
+ "eval_loss": 1.6491321325302124,
293
+ "eval_runtime": 0.1676,
294
+ "eval_samples_per_second": 423.615,
295
+ "eval_steps_per_second": 53.698,
296
+ "num_input_tokens_seen": 1228800,
297
+ "step": 150
298
+ },
299
+ {
300
+ "epoch": 1.9620253164556962,
301
+ "grad_norm": 57.700984954833984,
302
+ "learning_rate": 6.7018343820188324e-06,
303
+ "loss": 1.5952,
304
+ "num_input_tokens_seen": 1269760,
305
+ "step": 155
306
+ },
307
+ {
308
+ "epoch": 2.0253164556962027,
309
+ "grad_norm": 66.33654022216797,
310
+ "learning_rate": 6.0625424534385425e-06,
311
+ "loss": 1.5148,
312
+ "num_input_tokens_seen": 1310720,
313
+ "step": 160
314
+ },
315
+ {
316
+ "epoch": 2.088607594936709,
317
+ "grad_norm": 91.3177490234375,
318
+ "learning_rate": 5.441769390626537e-06,
319
+ "loss": 1.6566,
320
+ "num_input_tokens_seen": 1351680,
321
+ "step": 165
322
+ },
323
+ {
324
+ "epoch": 2.151898734177215,
325
+ "grad_norm": 91.95642852783203,
326
+ "learning_rate": 4.842434847417001e-06,
327
+ "loss": 1.6347,
328
+ "num_input_tokens_seen": 1392640,
329
+ "step": 170
330
+ },
331
+ {
332
+ "epoch": 2.2151898734177213,
333
+ "grad_norm": 118.14971160888672,
334
+ "learning_rate": 4.267357646825746e-06,
335
+ "loss": 1.5415,
336
+ "num_input_tokens_seen": 1433600,
337
+ "step": 175
338
+ },
339
+ {
340
+ "epoch": 2.278481012658228,
341
+ "grad_norm": 154.98838806152344,
342
+ "learning_rate": 3.719242523407539e-06,
343
+ "loss": 1.6275,
344
+ "num_input_tokens_seen": 1474560,
345
+ "step": 180
346
+ },
347
+ {
348
+ "epoch": 2.3417721518987342,
349
+ "grad_norm": 97.98387908935547,
350
+ "learning_rate": 3.2006674022005857e-06,
351
+ "loss": 1.6091,
352
+ "num_input_tokens_seen": 1515520,
353
+ "step": 185
354
+ },
355
+ {
356
+ "epoch": 2.4050632911392404,
357
+ "grad_norm": 51.0837287902832,
358
+ "learning_rate": 2.714071274088438e-06,
359
+ "loss": 1.5801,
360
+ "num_input_tokens_seen": 1556480,
361
+ "step": 190
362
+ },
363
+ {
364
+ "epoch": 2.4683544303797467,
365
+ "grad_norm": 158.22381591796875,
366
+ "learning_rate": 2.2617427246045976e-06,
367
+ "loss": 1.6031,
368
+ "num_input_tokens_seen": 1597440,
369
+ "step": 195
370
+ },
371
+ {
372
+ "epoch": 2.5316455696202533,
373
+ "grad_norm": 66.8087387084961,
374
+ "learning_rate": 1.8458091701318504e-06,
375
+ "loss": 1.565,
376
+ "num_input_tokens_seen": 1638400,
377
+ "step": 200
378
+ },
379
+ {
380
+ "epoch": 2.5316455696202533,
381
+ "eval_accuracy": 0.14084507042253522,
382
+ "eval_loss": 1.6663732528686523,
383
+ "eval_runtime": 0.2173,
384
+ "eval_samples_per_second": 326.688,
385
+ "eval_steps_per_second": 41.411,
386
+ "num_input_tokens_seen": 1638400,
387
+ "step": 200
388
+ },
389
+ {
390
+ "epoch": 2.5949367088607596,
391
+ "grad_norm": 82.30987548828125,
392
+ "learning_rate": 1.4682268521211075e-06,
393
+ "loss": 1.5668,
394
+ "num_input_tokens_seen": 1679360,
395
+ "step": 205
396
+ },
397
+ {
398
+ "epoch": 2.6582278481012658,
399
+ "grad_norm": 54.035919189453125,
400
+ "learning_rate": 1.130771636389596e-06,
401
+ "loss": 1.5857,
402
+ "num_input_tokens_seen": 1720320,
403
+ "step": 210
404
+ },
405
+ {
406
+ "epoch": 2.721518987341772,
407
+ "grad_norm": 80.6180191040039,
408
+ "learning_rate": 8.350306607715774e-07,
409
+ "loss": 1.593,
410
+ "num_input_tokens_seen": 1761280,
411
+ "step": 215
412
+ },
413
+ {
414
+ "epoch": 2.7848101265822782,
415
+ "grad_norm": 38.75018310546875,
416
+ "learning_rate": 5.823948704048443e-07,
417
+ "loss": 1.5226,
418
+ "num_input_tokens_seen": 1802240,
419
+ "step": 220
420
+ },
421
+ {
422
+ "epoch": 2.848101265822785,
423
+ "grad_norm": 99.82989501953125,
424
+ "learning_rate": 3.7405247576144055e-07,
425
+ "loss": 1.6135,
426
+ "num_input_tokens_seen": 1843200,
427
+ "step": 225
428
+ },
429
+ {
430
+ "epoch": 2.911392405063291,
431
+ "grad_norm": 74.42279815673828,
432
+ "learning_rate": 2.1098336419116628e-07,
433
+ "loss": 1.5738,
434
+ "num_input_tokens_seen": 1884160,
435
+ "step": 230
436
+ },
437
+ {
438
+ "epoch": 2.9746835443037973,
439
+ "grad_norm": 124.18939208984375,
440
+ "learning_rate": 9.395449126177291e-08,
441
+ "loss": 1.5493,
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": 990864117596160.0,
450
+ "train_loss": 2.1522638506024196,
451
+ "train_runtime": 52.4434,
452
+ "train_samples_per_second": 36.096,
453
+ "train_steps_per_second": 4.519
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": 990864117596160.0,
474
+ "train_batch_size": 4,
475
+ "trial_name": null,
476
+ "trial_params": null
477
+ }