MHGanainy commited on
Commit
c23e548
1 Parent(s): af68881

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

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-6
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-6
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: 2.0081
20
 
21
  ## Model description
22
 
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_loss": 2.008072853088379,
4
+ "eval_runtime": 29.0587,
5
+ "eval_samples_per_second": 40.47,
6
+ "eval_steps_per_second": 5.059,
7
+ "perplexity": 7.448948288433685,
8
+ "total_flos": 9.597350805504e+16,
9
+ "train_loss": 2.090950048406474,
10
+ "train_runtime": 846.2233,
11
+ "train_samples_per_second": 12.453,
12
+ "train_steps_per_second": 6.226
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_loss": 2.008072853088379,
4
+ "eval_runtime": 29.0587,
5
+ "eval_samples_per_second": 40.47,
6
+ "eval_steps_per_second": 5.059,
7
+ "perplexity": 7.448948288433685
8
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 9.597350805504e+16,
4
+ "train_loss": 2.090950048406474,
5
+ "train_runtime": 846.2233,
6
+ "train_samples_per_second": 12.453,
7
+ "train_steps_per_second": 6.226
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": 5269,
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.01897893338394382,
13
+ "grad_norm": 0.16455961763858795,
14
+ "learning_rate": 2.0000000000000003e-06,
15
+ "loss": 2.4473,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.03795786676788764,
20
+ "grad_norm": 0.15589718520641327,
21
+ "learning_rate": 4.000000000000001e-06,
22
+ "loss": 2.3958,
23
+ "step": 200
24
+ },
25
+ {
26
+ "epoch": 0.05693680015183147,
27
+ "grad_norm": 0.22491300106048584,
28
+ "learning_rate": 6e-06,
29
+ "loss": 2.4127,
30
+ "step": 300
31
+ },
32
+ {
33
+ "epoch": 0.07591573353577528,
34
+ "grad_norm": 0.27128249406814575,
35
+ "learning_rate": 8.000000000000001e-06,
36
+ "loss": 2.3425,
37
+ "step": 400
38
+ },
39
+ {
40
+ "epoch": 0.09489466691971911,
41
+ "grad_norm": 0.3409845232963562,
42
+ "learning_rate": 1e-05,
43
+ "loss": 2.3406,
44
+ "step": 500
45
+ },
46
+ {
47
+ "epoch": 0.11387360030366293,
48
+ "grad_norm": 0.4303252696990967,
49
+ "learning_rate": 1.2e-05,
50
+ "loss": 2.2827,
51
+ "step": 600
52
+ },
53
+ {
54
+ "epoch": 0.13285253368760674,
55
+ "grad_norm": 0.4239923655986786,
56
+ "learning_rate": 1.4e-05,
57
+ "loss": 2.2578,
58
+ "step": 700
59
+ },
60
+ {
61
+ "epoch": 0.15183146707155057,
62
+ "grad_norm": 0.5540084838867188,
63
+ "learning_rate": 1.6000000000000003e-05,
64
+ "loss": 2.2406,
65
+ "step": 800
66
+ },
67
+ {
68
+ "epoch": 0.1708104004554944,
69
+ "grad_norm": 0.5286028981208801,
70
+ "learning_rate": 1.8e-05,
71
+ "loss": 2.2016,
72
+ "step": 900
73
+ },
74
+ {
75
+ "epoch": 0.18978933383943822,
76
+ "grad_norm": 0.6286925673484802,
77
+ "learning_rate": 2e-05,
78
+ "loss": 2.1954,
79
+ "step": 1000
80
+ },
81
+ {
82
+ "epoch": 0.20876826722338204,
83
+ "grad_norm": 0.6797956824302673,
84
+ "learning_rate": 1.9972934164759383e-05,
85
+ "loss": 2.1821,
86
+ "step": 1100
87
+ },
88
+ {
89
+ "epoch": 0.22774720060732587,
90
+ "grad_norm": 0.6893311142921448,
91
+ "learning_rate": 1.9891883170924986e-05,
92
+ "loss": 2.1191,
93
+ "step": 1200
94
+ },
95
+ {
96
+ "epoch": 0.2467261339912697,
97
+ "grad_norm": 0.7030719518661499,
98
+ "learning_rate": 1.9757285761065846e-05,
99
+ "loss": 2.1244,
100
+ "step": 1300
101
+ },
102
+ {
103
+ "epoch": 0.2657050673752135,
104
+ "grad_norm": 0.9822287559509277,
105
+ "learning_rate": 1.9569870533445783e-05,
106
+ "loss": 2.1247,
107
+ "step": 1400
108
+ },
109
+ {
110
+ "epoch": 0.28468400075915734,
111
+ "grad_norm": 0.7738551497459412,
112
+ "learning_rate": 1.933065199799926e-05,
113
+ "loss": 2.1051,
114
+ "step": 1500
115
+ },
116
+ {
117
+ "epoch": 0.30366293414310114,
118
+ "grad_norm": 0.7393893003463745,
119
+ "learning_rate": 1.9040925084619663e-05,
120
+ "loss": 2.1113,
121
+ "step": 1600
122
+ },
123
+ {
124
+ "epoch": 0.322641867527045,
125
+ "grad_norm": 0.9361407160758972,
126
+ "learning_rate": 1.8702258133487446e-05,
127
+ "loss": 2.0613,
128
+ "step": 1700
129
+ },
130
+ {
131
+ "epoch": 0.3416208009109888,
132
+ "grad_norm": 0.9538021087646484,
133
+ "learning_rate": 1.831648440538277e-05,
134
+ "loss": 2.0347,
135
+ "step": 1800
136
+ },
137
+ {
138
+ "epoch": 0.36059973429493264,
139
+ "grad_norm": 0.8312991261482239,
140
+ "learning_rate": 1.7885692157938646e-05,
141
+ "loss": 2.0875,
142
+ "step": 1900
143
+ },
144
+ {
145
+ "epoch": 0.37957866767887644,
146
+ "grad_norm": 0.9724030494689941,
147
+ "learning_rate": 1.7412213341553518e-05,
148
+ "loss": 2.0666,
149
+ "step": 2000
150
+ },
151
+ {
152
+ "epoch": 0.3985576010628203,
153
+ "grad_norm": 0.9147292375564575,
154
+ "learning_rate": 1.689861097615423e-05,
155
+ "loss": 2.0367,
156
+ "step": 2100
157
+ },
158
+ {
159
+ "epoch": 0.4175365344467641,
160
+ "grad_norm": 1.1803175210952759,
161
+ "learning_rate": 1.6347665277141005e-05,
162
+ "loss": 2.0376,
163
+ "step": 2200
164
+ },
165
+ {
166
+ "epoch": 0.43651546783070794,
167
+ "grad_norm": 0.9863779544830322,
168
+ "learning_rate": 1.576235860561704e-05,
169
+ "loss": 2.0362,
170
+ "step": 2300
171
+ },
172
+ {
173
+ "epoch": 0.45549440121465173,
174
+ "grad_norm": 1.0676170587539673,
175
+ "learning_rate": 1.5145859324369678e-05,
176
+ "loss": 2.0744,
177
+ "step": 2400
178
+ },
179
+ {
180
+ "epoch": 0.4744733345985956,
181
+ "grad_norm": 1.0011714696884155,
182
+ "learning_rate": 1.4501504646993358e-05,
183
+ "loss": 2.0567,
184
+ "step": 2500
185
+ },
186
+ {
187
+ "epoch": 0.4934522679825394,
188
+ "grad_norm": 1.0237438678741455,
189
+ "learning_rate": 1.3832782572994961e-05,
190
+ "loss": 2.0407,
191
+ "step": 2600
192
+ },
193
+ {
194
+ "epoch": 0.5124312013664832,
195
+ "grad_norm": 1.2096575498580933,
196
+ "learning_rate": 1.3143313006669802e-05,
197
+ "loss": 2.0454,
198
+ "step": 2700
199
+ },
200
+ {
201
+ "epoch": 0.531410134750427,
202
+ "grad_norm": 0.854215681552887,
203
+ "learning_rate": 1.2436828161955004e-05,
204
+ "loss": 2.0554,
205
+ "step": 2800
206
+ },
207
+ {
208
+ "epoch": 0.5503890681343708,
209
+ "grad_norm": 0.9747099876403809,
210
+ "learning_rate": 1.171715235933197e-05,
211
+ "loss": 1.998,
212
+ "step": 2900
213
+ },
214
+ {
215
+ "epoch": 0.5693680015183147,
216
+ "grad_norm": 0.9982984066009521,
217
+ "learning_rate": 1.0988181324140792e-05,
218
+ "loss": 1.9904,
219
+ "step": 3000
220
+ },
221
+ {
222
+ "epoch": 0.5883469349022585,
223
+ "grad_norm": 0.7807527184486389,
224
+ "learning_rate": 1.0253861098368203e-05,
225
+ "loss": 2.0082,
226
+ "step": 3100
227
+ },
228
+ {
229
+ "epoch": 0.6073258682862023,
230
+ "grad_norm": 0.8988199234008789,
231
+ "learning_rate": 9.518166680063126e-06,
232
+ "loss": 1.9718,
233
+ "step": 3200
234
+ },
235
+ {
236
+ "epoch": 0.6263048016701461,
237
+ "grad_norm": 1.0487923622131348,
238
+ "learning_rate": 8.785080506008221e-06,
239
+ "loss": 2.0602,
240
+ "step": 3300
241
+ },
242
+ {
243
+ "epoch": 0.64528373505409,
244
+ "grad_norm": 0.796579122543335,
245
+ "learning_rate": 8.058570894124317e-06,
246
+ "loss": 2.0266,
247
+ "step": 3400
248
+ },
249
+ {
250
+ "epoch": 0.6642626684380338,
251
+ "grad_norm": 0.7757595181465149,
252
+ "learning_rate": 7.342570562302606e-06,
253
+ "loss": 2.0555,
254
+ "step": 3500
255
+ },
256
+ {
257
+ "epoch": 0.6832416018219776,
258
+ "grad_norm": 1.0452457666397095,
259
+ "learning_rate": 6.640955339945751e-06,
260
+ "loss": 2.0494,
261
+ "step": 3600
262
+ },
263
+ {
264
+ "epoch": 0.7022205352059214,
265
+ "grad_norm": 0.9034073352813721,
266
+ "learning_rate": 5.957523187455876e-06,
267
+ "loss": 2.007,
268
+ "step": 3700
269
+ },
270
+ {
271
+ "epoch": 0.7211994685898653,
272
+ "grad_norm": 1.0185625553131104,
273
+ "learning_rate": 5.29597363724047e-06,
274
+ "loss": 2.0148,
275
+ "step": 3800
276
+ },
277
+ {
278
+ "epoch": 0.740178401973809,
279
+ "grad_norm": 0.6561883687973022,
280
+ "learning_rate": 4.659887767525457e-06,
281
+ "loss": 1.991,
282
+ "step": 3900
283
+ },
284
+ {
285
+ "epoch": 0.7591573353577529,
286
+ "grad_norm": 1.013913631439209,
287
+ "learning_rate": 4.052708817380557e-06,
288
+ "loss": 1.9972,
289
+ "step": 4000
290
+ },
291
+ {
292
+ "epoch": 0.7781362687416967,
293
+ "grad_norm": 0.8857009410858154,
294
+ "learning_rate": 3.477723547891012e-06,
295
+ "loss": 1.9966,
296
+ "step": 4100
297
+ },
298
+ {
299
+ "epoch": 0.7971152021256406,
300
+ "grad_norm": 1.1049866676330566,
301
+ "learning_rate": 2.9380444503707715e-06,
302
+ "loss": 2.0037,
303
+ "step": 4200
304
+ },
305
+ {
306
+ "epoch": 0.8160941355095843,
307
+ "grad_norm": 1.0857770442962646,
308
+ "learning_rate": 2.4365928979271005e-06,
309
+ "loss": 1.9777,
310
+ "step": 4300
311
+ },
312
+ {
313
+ "epoch": 0.8350730688935282,
314
+ "grad_norm": 0.9005129933357239,
315
+ "learning_rate": 1.976083331579909e-06,
316
+ "loss": 2.0582,
317
+ "step": 4400
318
+ },
319
+ {
320
+ "epoch": 0.854052002277472,
321
+ "grad_norm": 1.1704425811767578,
322
+ "learning_rate": 1.559008566539103e-06,
323
+ "loss": 2.03,
324
+ "step": 4500
325
+ },
326
+ {
327
+ "epoch": 0.8730309356614159,
328
+ "grad_norm": 0.8802852630615234,
329
+ "learning_rate": 1.1876262981793984e-06,
330
+ "loss": 2.005,
331
+ "step": 4600
332
+ },
333
+ {
334
+ "epoch": 0.8920098690453596,
335
+ "grad_norm": 1.1852850914001465,
336
+ "learning_rate": 8.639468807581397e-07,
337
+ "loss": 2.0452,
338
+ "step": 4700
339
+ },
340
+ {
341
+ "epoch": 0.9109888024293035,
342
+ "grad_norm": 0.8399674892425537,
343
+ "learning_rate": 5.897224450318684e-07,
344
+ "loss": 2.0223,
345
+ "step": 4800
346
+ },
347
+ {
348
+ "epoch": 0.9299677358132473,
349
+ "grad_norm": 1.1396406888961792,
350
+ "learning_rate": 3.664374136798465e-07,
351
+ "loss": 1.9713,
352
+ "step": 4900
353
+ },
354
+ {
355
+ "epoch": 0.9489466691971912,
356
+ "grad_norm": 1.135856032371521,
357
+ "learning_rate": 1.9530046587612927e-07,
358
+ "loss": 1.9986,
359
+ "step": 5000
360
+ },
361
+ {
362
+ "epoch": 0.9679256025811349,
363
+ "grad_norm": 0.9097400307655334,
364
+ "learning_rate": 7.72379945072832e-08,
365
+ "loss": 2.0123,
366
+ "step": 5100
367
+ },
368
+ {
369
+ "epoch": 0.9869045359650788,
370
+ "grad_norm": 0.9359187483787537,
371
+ "learning_rate": 1.2889091452942259e-08,
372
+ "loss": 1.9949,
373
+ "step": 5200
374
+ },
375
+ {
376
+ "epoch": 1.0,
377
+ "step": 5269,
378
+ "total_flos": 9.597350805504e+16,
379
+ "train_loss": 2.090950048406474,
380
+ "train_runtime": 846.2233,
381
+ "train_samples_per_second": 12.453,
382
+ "train_steps_per_second": 6.226
383
+ }
384
+ ],
385
+ "logging_steps": 100,
386
+ "max_steps": 5269,
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.597350805504e+16,
403
+ "train_batch_size": 2,
404
+ "trial_name": null,
405
+ "trial_params": null
406
+ }