MHGanainy commited on
Commit
4995e1d
·
verified ·
1 Parent(s): ef0bd11

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

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 +420 -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-3
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-3
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.9825
20
 
21
  ## Model description
22
 
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_loss": 1.9825303554534912,
4
+ "eval_runtime": 25.595,
5
+ "eval_samples_per_second": 40.359,
6
+ "eval_steps_per_second": 5.079,
7
+ "perplexity": 7.2610929054914894,
8
+ "total_flos": 9.9498061824e+16,
9
+ "train_loss": 2.0932261693746033,
10
+ "train_runtime": 883.1108,
11
+ "train_samples_per_second": 12.371,
12
+ "train_steps_per_second": 6.186
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_loss": 1.9825303554534912,
4
+ "eval_runtime": 25.595,
5
+ "eval_samples_per_second": 40.359,
6
+ "eval_steps_per_second": 5.079,
7
+ "perplexity": 7.2610929054914894
8
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 9.9498061824e+16,
4
+ "train_loss": 2.0932261693746033,
5
+ "train_runtime": 883.1108,
6
+ "train_samples_per_second": 12.371,
7
+ "train_steps_per_second": 6.186
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,420 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 5463,
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.018304960644334616,
13
+ "grad_norm": 0.11226867139339447,
14
+ "learning_rate": 2.0000000000000003e-06,
15
+ "loss": 2.4178,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.03660992128866923,
20
+ "grad_norm": 0.19307924807071686,
21
+ "learning_rate": 4.000000000000001e-06,
22
+ "loss": 2.4311,
23
+ "step": 200
24
+ },
25
+ {
26
+ "epoch": 0.054914881933003847,
27
+ "grad_norm": 0.1868831366300583,
28
+ "learning_rate": 6e-06,
29
+ "loss": 2.4251,
30
+ "step": 300
31
+ },
32
+ {
33
+ "epoch": 0.07321984257733846,
34
+ "grad_norm": 0.2497679591178894,
35
+ "learning_rate": 8.000000000000001e-06,
36
+ "loss": 2.4004,
37
+ "step": 400
38
+ },
39
+ {
40
+ "epoch": 0.09152480322167307,
41
+ "grad_norm": 0.3507976830005646,
42
+ "learning_rate": 1e-05,
43
+ "loss": 2.3282,
44
+ "step": 500
45
+ },
46
+ {
47
+ "epoch": 0.10982976386600769,
48
+ "grad_norm": 0.40492674708366394,
49
+ "learning_rate": 1.2e-05,
50
+ "loss": 2.2985,
51
+ "step": 600
52
+ },
53
+ {
54
+ "epoch": 0.1281347245103423,
55
+ "grad_norm": 0.449167400598526,
56
+ "learning_rate": 1.4e-05,
57
+ "loss": 2.2815,
58
+ "step": 700
59
+ },
60
+ {
61
+ "epoch": 0.14643968515467692,
62
+ "grad_norm": 0.510024905204773,
63
+ "learning_rate": 1.6000000000000003e-05,
64
+ "loss": 2.2252,
65
+ "step": 800
66
+ },
67
+ {
68
+ "epoch": 0.16474464579901152,
69
+ "grad_norm": 0.5523568987846375,
70
+ "learning_rate": 1.8e-05,
71
+ "loss": 2.222,
72
+ "step": 900
73
+ },
74
+ {
75
+ "epoch": 0.18304960644334614,
76
+ "grad_norm": 0.6460111141204834,
77
+ "learning_rate": 2e-05,
78
+ "loss": 2.2266,
79
+ "step": 1000
80
+ },
81
+ {
82
+ "epoch": 0.20135456708768076,
83
+ "grad_norm": 0.6135373711585999,
84
+ "learning_rate": 1.9975235096487343e-05,
85
+ "loss": 2.1631,
86
+ "step": 1100
87
+ },
88
+ {
89
+ "epoch": 0.21965952773201539,
90
+ "grad_norm": 0.750421941280365,
91
+ "learning_rate": 1.990106304603857e-05,
92
+ "loss": 2.1781,
93
+ "step": 1200
94
+ },
95
+ {
96
+ "epoch": 0.23796448837634998,
97
+ "grad_norm": 0.6863061189651489,
98
+ "learning_rate": 1.9777851221388214e-05,
99
+ "loss": 2.1576,
100
+ "step": 1300
101
+ },
102
+ {
103
+ "epoch": 0.2562694490206846,
104
+ "grad_norm": 0.592878520488739,
105
+ "learning_rate": 1.9606209888326098e-05,
106
+ "loss": 2.142,
107
+ "step": 1400
108
+ },
109
+ {
110
+ "epoch": 0.2745744096650192,
111
+ "grad_norm": 0.9680142998695374,
112
+ "learning_rate": 1.9386989183062637e-05,
113
+ "loss": 2.1088,
114
+ "step": 1500
115
+ },
116
+ {
117
+ "epoch": 0.29287937030935385,
118
+ "grad_norm": 0.8196300864219666,
119
+ "learning_rate": 1.9121274901520593e-05,
120
+ "loss": 2.0937,
121
+ "step": 1600
122
+ },
123
+ {
124
+ "epoch": 0.31118433095368847,
125
+ "grad_norm": 0.935396671295166,
126
+ "learning_rate": 1.881038312140883e-05,
127
+ "loss": 2.0938,
128
+ "step": 1700
129
+ },
130
+ {
131
+ "epoch": 0.32948929159802304,
132
+ "grad_norm": 0.7880417704582214,
133
+ "learning_rate": 1.8455853683714823e-05,
134
+ "loss": 2.0672,
135
+ "step": 1800
136
+ },
137
+ {
138
+ "epoch": 0.34779425224235766,
139
+ "grad_norm": 0.8693708777427673,
140
+ "learning_rate": 1.805944256590194e-05,
141
+ "loss": 2.0529,
142
+ "step": 1900
143
+ },
144
+ {
145
+ "epoch": 0.3660992128866923,
146
+ "grad_norm": 0.7159385681152344,
147
+ "learning_rate": 1.7623113184586985e-05,
148
+ "loss": 2.0298,
149
+ "step": 2000
150
+ },
151
+ {
152
+ "epoch": 0.3844041735310269,
153
+ "grad_norm": 0.7743539214134216,
154
+ "learning_rate": 1.7149026670775558e-05,
155
+ "loss": 2.0681,
156
+ "step": 2100
157
+ },
158
+ {
159
+ "epoch": 0.4027091341753615,
160
+ "grad_norm": 0.892536997795105,
161
+ "learning_rate": 1.6639531165821896e-05,
162
+ "loss": 2.0808,
163
+ "step": 2200
164
+ },
165
+ {
166
+ "epoch": 0.42101409481969615,
167
+ "grad_norm": 1.1176153421401978,
168
+ "learning_rate": 1.6097150191130056e-05,
169
+ "loss": 2.0381,
170
+ "step": 2300
171
+ },
172
+ {
173
+ "epoch": 0.43931905546403077,
174
+ "grad_norm": 1.0423996448516846,
175
+ "learning_rate": 1.5524570149201115e-05,
176
+ "loss": 2.0246,
177
+ "step": 2400
178
+ },
179
+ {
180
+ "epoch": 0.4576240161083654,
181
+ "grad_norm": 0.8842440843582153,
182
+ "learning_rate": 1.4924627017933402e-05,
183
+ "loss": 2.0534,
184
+ "step": 2500
185
+ },
186
+ {
187
+ "epoch": 0.47592897675269996,
188
+ "grad_norm": 0.8251581192016602,
189
+ "learning_rate": 1.4300292304078696e-05,
190
+ "loss": 2.0748,
191
+ "step": 2600
192
+ },
193
+ {
194
+ "epoch": 0.4942339373970346,
195
+ "grad_norm": 0.9325842261314392,
196
+ "learning_rate": 1.3654658325426641e-05,
197
+ "loss": 2.0505,
198
+ "step": 2700
199
+ },
200
+ {
201
+ "epoch": 0.5125388980413692,
202
+ "grad_norm": 0.882586658000946,
203
+ "learning_rate": 1.2990922894614404e-05,
204
+ "loss": 2.0338,
205
+ "step": 2800
206
+ },
207
+ {
208
+ "epoch": 0.5308438586857038,
209
+ "grad_norm": 1.3278307914733887,
210
+ "learning_rate": 1.2312373480422384e-05,
211
+ "loss": 2.0244,
212
+ "step": 2900
213
+ },
214
+ {
215
+ "epoch": 0.5491488193300385,
216
+ "grad_norm": 1.3495004177093506,
217
+ "learning_rate": 1.1622370925004782e-05,
218
+ "loss": 2.0226,
219
+ "step": 3000
220
+ },
221
+ {
222
+ "epoch": 0.5674537799743731,
223
+ "grad_norm": 0.730983316898346,
224
+ "learning_rate": 1.0924332797703284e-05,
225
+ "loss": 1.9642,
226
+ "step": 3100
227
+ },
228
+ {
229
+ "epoch": 0.5857587406187077,
230
+ "grad_norm": 1.0524176359176636,
231
+ "learning_rate": 1.0221716467892045e-05,
232
+ "loss": 2.0393,
233
+ "step": 3200
234
+ },
235
+ {
236
+ "epoch": 0.6040637012630423,
237
+ "grad_norm": 0.8124818205833435,
238
+ "learning_rate": 9.518001980693905e-06,
239
+ "loss": 2.0066,
240
+ "step": 3300
241
+ },
242
+ {
243
+ "epoch": 0.6223686619073769,
244
+ "grad_norm": 0.9999445676803589,
245
+ "learning_rate": 8.816674820384044e-06,
246
+ "loss": 2.0355,
247
+ "step": 3400
248
+ },
249
+ {
250
+ "epoch": 0.6406736225517116,
251
+ "grad_norm": 1.3435726165771484,
252
+ "learning_rate": 8.121208646853637e-06,
253
+ "loss": 2.0393,
254
+ "step": 3500
255
+ },
256
+ {
257
+ "epoch": 0.6589785831960461,
258
+ "grad_norm": 1.0357476472854614,
259
+ "learning_rate": 7.435048090639456e-06,
260
+ "loss": 2.0351,
261
+ "step": 3600
262
+ },
263
+ {
264
+ "epoch": 0.6772835438403807,
265
+ "grad_norm": 1.3906038999557495,
266
+ "learning_rate": 6.7615916917352545e-06,
267
+ "loss": 2.0292,
268
+ "step": 3700
269
+ },
270
+ {
271
+ "epoch": 0.6955885044847153,
272
+ "grad_norm": 1.0058213472366333,
273
+ "learning_rate": 6.104175066688805e-06,
274
+ "loss": 2.0046,
275
+ "step": 3800
276
+ },
277
+ {
278
+ "epoch": 0.7138934651290499,
279
+ "grad_norm": 0.9746403694152832,
280
+ "learning_rate": 5.466054387357491e-06,
281
+ "loss": 2.0278,
282
+ "step": 3900
283
+ },
284
+ {
285
+ "epoch": 0.7321984257733846,
286
+ "grad_norm": 0.7524260878562927,
287
+ "learning_rate": 4.8503902531519224e-06,
288
+ "loss": 2.026,
289
+ "step": 4000
290
+ },
291
+ {
292
+ "epoch": 0.7505033864177192,
293
+ "grad_norm": 0.848231852054596,
294
+ "learning_rate": 4.260232036648057e-06,
295
+ "loss": 1.994,
296
+ "step": 4100
297
+ },
298
+ {
299
+ "epoch": 0.7688083470620538,
300
+ "grad_norm": 0.9133473634719849,
301
+ "learning_rate": 3.6985027801036876e-06,
302
+ "loss": 2.0077,
303
+ "step": 4200
304
+ },
305
+ {
306
+ "epoch": 0.7871133077063884,
307
+ "grad_norm": 1.1169400215148926,
308
+ "learning_rate": 3.167984717686521e-06,
309
+ "loss": 2.0371,
310
+ "step": 4300
311
+ },
312
+ {
313
+ "epoch": 0.805418268350723,
314
+ "grad_norm": 1.1980133056640625,
315
+ "learning_rate": 2.6713054951220497e-06,
316
+ "loss": 2.0253,
317
+ "step": 4400
318
+ },
319
+ {
320
+ "epoch": 0.8237232289950577,
321
+ "grad_norm": 0.8313106894493103,
322
+ "learning_rate": 2.2109251550149922e-06,
323
+ "loss": 1.9908,
324
+ "step": 4500
325
+ },
326
+ {
327
+ "epoch": 0.8420281896393923,
328
+ "grad_norm": 0.9666856527328491,
329
+ "learning_rate": 1.7891239523057202e-06,
330
+ "loss": 1.9913,
331
+ "step": 4600
332
+ },
333
+ {
334
+ "epoch": 0.8603331502837269,
335
+ "grad_norm": 0.9010581970214844,
336
+ "learning_rate": 1.4079910602115544e-06,
337
+ "loss": 1.9869,
338
+ "step": 4700
339
+ },
340
+ {
341
+ "epoch": 0.8786381109280615,
342
+ "grad_norm": 1.0931150913238525,
343
+ "learning_rate": 1.0694142225921444e-06,
344
+ "loss": 1.9533,
345
+ "step": 4800
346
+ },
347
+ {
348
+ "epoch": 0.8969430715723962,
349
+ "grad_norm": 0.984924852848053,
350
+ "learning_rate": 7.750704039905343e-07,
351
+ "loss": 2.0316,
352
+ "step": 4900
353
+ },
354
+ {
355
+ "epoch": 0.9152480322167308,
356
+ "grad_norm": 0.9124763011932373,
357
+ "learning_rate": 5.264174836601732e-07,
358
+ "loss": 2.0208,
359
+ "step": 5000
360
+ },
361
+ {
362
+ "epoch": 0.9335529928610653,
363
+ "grad_norm": 1.179923176765442,
364
+ "learning_rate": 3.24687034717085e-07,
365
+ "loss": 2.0175,
366
+ "step": 5100
367
+ },
368
+ {
369
+ "epoch": 0.9518579535053999,
370
+ "grad_norm": 1.0648012161254883,
371
+ "learning_rate": 1.7087822418199506e-07,
372
+ "loss": 2.0134,
373
+ "step": 5200
374
+ },
375
+ {
376
+ "epoch": 0.9701629141497345,
377
+ "grad_norm": 0.8695976734161377,
378
+ "learning_rate": 6.575286412536686e-08,
379
+ "loss": 2.0041,
380
+ "step": 5300
381
+ },
382
+ {
383
+ "epoch": 0.9884678747940692,
384
+ "grad_norm": 1.045597791671753,
385
+ "learning_rate": 9.831638426904821e-09,
386
+ "loss": 2.0033,
387
+ "step": 5400
388
+ },
389
+ {
390
+ "epoch": 1.0,
391
+ "step": 5463,
392
+ "total_flos": 9.9498061824e+16,
393
+ "train_loss": 2.0932261693746033,
394
+ "train_runtime": 883.1108,
395
+ "train_samples_per_second": 12.371,
396
+ "train_steps_per_second": 6.186
397
+ }
398
+ ],
399
+ "logging_steps": 100,
400
+ "max_steps": 5463,
401
+ "num_input_tokens_seen": 0,
402
+ "num_train_epochs": 1,
403
+ "save_steps": 500,
404
+ "stateful_callbacks": {
405
+ "TrainerControl": {
406
+ "args": {
407
+ "should_epoch_stop": false,
408
+ "should_evaluate": false,
409
+ "should_log": false,
410
+ "should_save": true,
411
+ "should_training_stop": true
412
+ },
413
+ "attributes": {}
414
+ }
415
+ },
416
+ "total_flos": 9.9498061824e+16,
417
+ "train_batch_size": 2,
418
+ "trial_name": null,
419
+ "trial_params": null
420
+ }