MHGanainy commited on
Commit
d9e989a
·
verified ·
1 Parent(s): f5b1bc9

MHGanainy/gpt2-xl-lora-ecthr-random-balanced-cluster-8-id-1

Browse files
Files changed (5) hide show
  1. README.md +2 -0
  2. all_results.json +13 -0
  3. eval_results.json +8 -0
  4. train_results.json +8 -0
  5. trainer_state.json +406 -0
README.md CHANGED
@@ -15,6 +15,8 @@ should probably proofread and complete it, then remove this comment. -->
15
  # gpt2-xl-lora-ecthr-random-balanced-cluster-8-id-1
16
 
17
  This model is a fine-tuned version of [openai-community/gpt2-xl](https://huggingface.co/openai-community/gpt2-xl) on an unknown dataset.
 
 
18
 
19
  ## Model description
20
 
 
15
  # gpt2-xl-lora-ecthr-random-balanced-cluster-8-id-1
16
 
17
  This model is a fine-tuned version of [openai-community/gpt2-xl](https://huggingface.co/openai-community/gpt2-xl) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 1.9125
20
 
21
  ## Model description
22
 
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_loss": 1.9124690294265747,
4
+ "eval_runtime": 23.4799,
5
+ "eval_samples_per_second": 40.332,
6
+ "eval_steps_per_second": 5.068,
7
+ "perplexity": 6.769782974219858,
8
+ "total_flos": 9.539063611392e+16,
9
+ "train_loss": 2.0977558706333466,
10
+ "train_runtime": 845.4487,
11
+ "train_samples_per_second": 12.389,
12
+ "train_steps_per_second": 6.194
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_loss": 1.9124690294265747,
4
+ "eval_runtime": 23.4799,
5
+ "eval_samples_per_second": 40.332,
6
+ "eval_steps_per_second": 5.068,
7
+ "perplexity": 6.769782974219858
8
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 9.539063611392e+16,
4
+ "train_loss": 2.0977558706333466,
5
+ "train_runtime": 845.4487,
6
+ "train_samples_per_second": 12.389,
7
+ "train_steps_per_second": 6.194
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,406 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 5237,
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.019094901661256443,
13
+ "grad_norm": 0.10446564108133316,
14
+ "learning_rate": 2.0000000000000003e-06,
15
+ "loss": 2.4329,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.038189803322512886,
20
+ "grad_norm": 0.13006480038166046,
21
+ "learning_rate": 4.000000000000001e-06,
22
+ "loss": 2.4426,
23
+ "step": 200
24
+ },
25
+ {
26
+ "epoch": 0.057284704983769336,
27
+ "grad_norm": 0.22490981221199036,
28
+ "learning_rate": 6e-06,
29
+ "loss": 2.4012,
30
+ "step": 300
31
+ },
32
+ {
33
+ "epoch": 0.07637960664502577,
34
+ "grad_norm": 0.2587246894836426,
35
+ "learning_rate": 8.000000000000001e-06,
36
+ "loss": 2.3775,
37
+ "step": 400
38
+ },
39
+ {
40
+ "epoch": 0.09547450830628222,
41
+ "grad_norm": 0.3504439890384674,
42
+ "learning_rate": 1e-05,
43
+ "loss": 2.3528,
44
+ "step": 500
45
+ },
46
+ {
47
+ "epoch": 0.11456940996753867,
48
+ "grad_norm": 0.4341156482696533,
49
+ "learning_rate": 1.2e-05,
50
+ "loss": 2.3048,
51
+ "step": 600
52
+ },
53
+ {
54
+ "epoch": 0.1336643116287951,
55
+ "grad_norm": 0.5058615803718567,
56
+ "learning_rate": 1.4e-05,
57
+ "loss": 2.2659,
58
+ "step": 700
59
+ },
60
+ {
61
+ "epoch": 0.15275921329005154,
62
+ "grad_norm": 0.5303977131843567,
63
+ "learning_rate": 1.6000000000000003e-05,
64
+ "loss": 2.2519,
65
+ "step": 800
66
+ },
67
+ {
68
+ "epoch": 0.171854114951308,
69
+ "grad_norm": 0.6431277990341187,
70
+ "learning_rate": 1.8e-05,
71
+ "loss": 2.2328,
72
+ "step": 900
73
+ },
74
+ {
75
+ "epoch": 0.19094901661256444,
76
+ "grad_norm": 0.6453608274459839,
77
+ "learning_rate": 2e-05,
78
+ "loss": 2.1953,
79
+ "step": 1000
80
+ },
81
+ {
82
+ "epoch": 0.21004391827382088,
83
+ "grad_norm": 0.6129643321037292,
84
+ "learning_rate": 1.99725239787624e-05,
85
+ "loss": 2.2064,
86
+ "step": 1100
87
+ },
88
+ {
89
+ "epoch": 0.22913881993507734,
90
+ "grad_norm": 0.6118465662002563,
91
+ "learning_rate": 1.98902469013982e-05,
92
+ "loss": 2.151,
93
+ "step": 1200
94
+ },
95
+ {
96
+ "epoch": 0.24823372159633378,
97
+ "grad_norm": 0.8548713326454163,
98
+ "learning_rate": 1.975362089725241e-05,
99
+ "loss": 2.1276,
100
+ "step": 1300
101
+ },
102
+ {
103
+ "epoch": 0.2673286232575902,
104
+ "grad_norm": 0.8343802690505981,
105
+ "learning_rate": 1.9563396754123335e-05,
106
+ "loss": 2.1236,
107
+ "step": 1400
108
+ },
109
+ {
110
+ "epoch": 0.28642352491884665,
111
+ "grad_norm": 0.9589895606040955,
112
+ "learning_rate": 1.9320619792530275e-05,
113
+ "loss": 2.1004,
114
+ "step": 1500
115
+ },
116
+ {
117
+ "epoch": 0.3055184265801031,
118
+ "grad_norm": 0.8541079759597778,
119
+ "learning_rate": 1.902662412146378e-05,
120
+ "loss": 2.0843,
121
+ "step": 1600
122
+ },
123
+ {
124
+ "epoch": 0.3246133282413596,
125
+ "grad_norm": 0.7465143799781799,
126
+ "learning_rate": 1.8683025307184242e-05,
127
+ "loss": 2.0586,
128
+ "step": 1700
129
+ },
130
+ {
131
+ "epoch": 0.343708229902616,
132
+ "grad_norm": 0.8386638760566711,
133
+ "learning_rate": 1.829171149535534e-05,
134
+ "loss": 2.088,
135
+ "step": 1800
136
+ },
137
+ {
138
+ "epoch": 0.36280313156387245,
139
+ "grad_norm": 0.9529417157173157,
140
+ "learning_rate": 1.7854833035297944e-05,
141
+ "loss": 2.0816,
142
+ "step": 1900
143
+ },
144
+ {
145
+ "epoch": 0.3818980332251289,
146
+ "grad_norm": 0.6660144329071045,
147
+ "learning_rate": 1.7374790663381416e-05,
148
+ "loss": 2.0369,
149
+ "step": 2000
150
+ },
151
+ {
152
+ "epoch": 0.4009929348863853,
153
+ "grad_norm": 0.8226873278617859,
154
+ "learning_rate": 1.6854222310486902e-05,
155
+ "loss": 2.0412,
156
+ "step": 2100
157
+ },
158
+ {
159
+ "epoch": 0.42008783654764176,
160
+ "grad_norm": 0.8749469518661499,
161
+ "learning_rate": 1.6295988606038343e-05,
162
+ "loss": 2.0461,
163
+ "step": 2200
164
+ },
165
+ {
166
+ "epoch": 0.43918273820889825,
167
+ "grad_norm": 0.9127281904220581,
168
+ "learning_rate": 1.5703157158259546e-05,
169
+ "loss": 2.0094,
170
+ "step": 2300
171
+ },
172
+ {
173
+ "epoch": 0.4582776398701547,
174
+ "grad_norm": 1.1835373640060425,
175
+ "learning_rate": 1.50789856970404e-05,
176
+ "loss": 2.0119,
177
+ "step": 2400
178
+ },
179
+ {
180
+ "epoch": 0.4773725415314111,
181
+ "grad_norm": 0.8751312494277954,
182
+ "learning_rate": 1.4426904172045787e-05,
183
+ "loss": 2.0382,
184
+ "step": 2500
185
+ },
186
+ {
187
+ "epoch": 0.49646744319266756,
188
+ "grad_norm": 0.8412628173828125,
189
+ "learning_rate": 1.3750495904441577e-05,
190
+ "loss": 2.0671,
191
+ "step": 2600
192
+ },
193
+ {
194
+ "epoch": 0.515562344853924,
195
+ "grad_norm": 0.9513535499572754,
196
+ "learning_rate": 1.3053477895812972e-05,
197
+ "loss": 2.0278,
198
+ "step": 2700
199
+ },
200
+ {
201
+ "epoch": 0.5346572465151804,
202
+ "grad_norm": 0.7872034907341003,
203
+ "learning_rate": 1.2339680402481584e-05,
204
+ "loss": 2.0902,
205
+ "step": 2800
206
+ },
207
+ {
208
+ "epoch": 0.5537521481764369,
209
+ "grad_norm": 1.064986228942871,
210
+ "learning_rate": 1.1613025887464642e-05,
211
+ "loss": 1.9987,
212
+ "step": 2900
213
+ },
214
+ {
215
+ "epoch": 0.5728470498376933,
216
+ "grad_norm": 0.896093487739563,
217
+ "learning_rate": 1.0877507465739541e-05,
218
+ "loss": 2.0385,
219
+ "step": 3000
220
+ },
221
+ {
222
+ "epoch": 0.5919419514989498,
223
+ "grad_norm": 0.874965250492096,
224
+ "learning_rate": 1.0137166961261478e-05,
225
+ "loss": 2.0305,
226
+ "step": 3100
227
+ },
228
+ {
229
+ "epoch": 0.6110368531602062,
230
+ "grad_norm": 1.0294139385223389,
231
+ "learning_rate": 9.39607269631527e-06,
232
+ "loss": 2.0021,
233
+ "step": 3200
234
+ },
235
+ {
236
+ "epoch": 0.6301317548214627,
237
+ "grad_norm": 0.9223864078521729,
238
+ "learning_rate": 8.658297135253469e-06,
239
+ "loss": 2.0041,
240
+ "step": 3300
241
+ },
242
+ {
243
+ "epoch": 0.6492266564827192,
244
+ "grad_norm": 0.946811318397522,
245
+ "learning_rate": 7.927894505472926e-06,
246
+ "loss": 2.0528,
247
+ "step": 3400
248
+ },
249
+ {
250
+ "epoch": 0.6683215581439755,
251
+ "grad_norm": 1.025842308998108,
252
+ "learning_rate": 7.208878518607228e-06,
253
+ "loss": 2.0344,
254
+ "step": 3500
255
+ },
256
+ {
257
+ "epoch": 0.687416459805232,
258
+ "grad_norm": 1.156582236289978,
259
+ "learning_rate": 6.5052003143614155e-06,
260
+ "loss": 2.0005,
261
+ "step": 3600
262
+ },
263
+ {
264
+ "epoch": 0.7065113614664884,
265
+ "grad_norm": 1.553145170211792,
266
+ "learning_rate": 5.8207267481923655e-06,
267
+ "loss": 2.0142,
268
+ "step": 3700
269
+ },
270
+ {
271
+ "epoch": 0.7256062631277449,
272
+ "grad_norm": 0.8570035099983215,
273
+ "learning_rate": 5.159219142148193e-06,
274
+ "loss": 2.0181,
275
+ "step": 3800
276
+ },
277
+ {
278
+ "epoch": 0.7447011647890014,
279
+ "grad_norm": 0.9739204049110413,
280
+ "learning_rate": 4.524312615635407e-06,
281
+ "loss": 2.0573,
282
+ "step": 3900
283
+ },
284
+ {
285
+ "epoch": 0.7637960664502578,
286
+ "grad_norm": 1.0215950012207031,
287
+ "learning_rate": 3.919496109695276e-06,
288
+ "loss": 2.0368,
289
+ "step": 4000
290
+ },
291
+ {
292
+ "epoch": 0.7828909681115143,
293
+ "grad_norm": 1.1113394498825073,
294
+ "learning_rate": 3.348093214560212e-06,
295
+ "loss": 2.0571,
296
+ "step": 4100
297
+ },
298
+ {
299
+ "epoch": 0.8019858697727706,
300
+ "grad_norm": 1.0689241886138916,
301
+ "learning_rate": 2.8132439058466056e-06,
302
+ "loss": 2.006,
303
+ "step": 4200
304
+ },
305
+ {
306
+ "epoch": 0.8210807714340271,
307
+ "grad_norm": 1.0689373016357422,
308
+ "learning_rate": 2.317887289747488e-06,
309
+ "loss": 2.0027,
310
+ "step": 4300
311
+ },
312
+ {
313
+ "epoch": 0.8401756730952835,
314
+ "grad_norm": 1.0181564092636108,
315
+ "learning_rate": 1.8647454520436826e-06,
316
+ "loss": 2.0088,
317
+ "step": 4400
318
+ },
319
+ {
320
+ "epoch": 0.85927057475654,
321
+ "grad_norm": 0.9078167080879211,
322
+ "learning_rate": 1.4563084996864662e-06,
323
+ "loss": 2.0433,
324
+ "step": 4500
325
+ },
326
+ {
327
+ "epoch": 0.8783654764177965,
328
+ "grad_norm": 1.2132090330123901,
329
+ "learning_rate": 1.094820877151277e-06,
330
+ "loss": 2.0174,
331
+ "step": 4600
332
+ },
333
+ {
334
+ "epoch": 0.8974603780790529,
335
+ "grad_norm": 1.361141324043274,
336
+ "learning_rate": 7.822690327568993e-07,
337
+ "loss": 2.0128,
338
+ "step": 4700
339
+ },
340
+ {
341
+ "epoch": 0.9165552797403094,
342
+ "grad_norm": 1.0606088638305664,
343
+ "learning_rate": 5.203705027262185e-07,
344
+ "loss": 1.99,
345
+ "step": 4800
346
+ },
347
+ {
348
+ "epoch": 0.9356501814015658,
349
+ "grad_norm": 1.7803822755813599,
350
+ "learning_rate": 3.105644729738777e-07,
351
+ "loss": 2.0137,
352
+ "step": 4900
353
+ },
354
+ {
355
+ "epoch": 0.9547450830628222,
356
+ "grad_norm": 0.9340605735778809,
357
+ "learning_rate": 1.5400387048572608e-07,
358
+ "loss": 2.0485,
359
+ "step": 5000
360
+ },
361
+ {
362
+ "epoch": 0.9738399847240786,
363
+ "grad_norm": 0.8442704081535339,
364
+ "learning_rate": 5.154902774955339e-08,
365
+ "loss": 2.0174,
366
+ "step": 5100
367
+ },
368
+ {
369
+ "epoch": 0.9929348863853351,
370
+ "grad_norm": 0.9462343454360962,
371
+ "learning_rate": 3.762955052341033e-09,
372
+ "loss": 1.9595,
373
+ "step": 5200
374
+ },
375
+ {
376
+ "epoch": 1.0,
377
+ "step": 5237,
378
+ "total_flos": 9.539063611392e+16,
379
+ "train_loss": 2.0977558706333466,
380
+ "train_runtime": 845.4487,
381
+ "train_samples_per_second": 12.389,
382
+ "train_steps_per_second": 6.194
383
+ }
384
+ ],
385
+ "logging_steps": 100,
386
+ "max_steps": 5237,
387
+ "num_input_tokens_seen": 0,
388
+ "num_train_epochs": 1,
389
+ "save_steps": 500,
390
+ "stateful_callbacks": {
391
+ "TrainerControl": {
392
+ "args": {
393
+ "should_epoch_stop": false,
394
+ "should_evaluate": false,
395
+ "should_log": false,
396
+ "should_save": true,
397
+ "should_training_stop": true
398
+ },
399
+ "attributes": {}
400
+ }
401
+ },
402
+ "total_flos": 9.539063611392e+16,
403
+ "train_batch_size": 2,
404
+ "trial_name": null,
405
+ "trial_params": null
406
+ }