nlparabic commited on
Commit
db25278
1 Parent(s): 1cc2d24

End of training

Browse files
README.md CHANGED
@@ -17,11 +17,11 @@ should probably proofread and complete it, then remove this comment. -->
17
 
18
  This model is a fine-tuned version of [aubmindlab/aragpt2-base](https://huggingface.co/aubmindlab/aragpt2-base) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.2191
21
- - Bleu: 0.0944
22
- - Rouge1: 0.4103
23
- - Rouge2: 0.1839
24
- - Rougel: 0.4066
25
 
26
  ## Model description
27
 
 
17
 
18
  This model is a fine-tuned version of [aubmindlab/aragpt2-base](https://huggingface.co/aubmindlab/aragpt2-base) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
+ - Loss: 0.2078
21
+ - Bleu: 0.0845
22
+ - Rouge1: 0.4018
23
+ - Rouge2: 0.1711
24
+ - Rougel: 0.3978
25
 
26
  ## Model description
27
 
all_results.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 17.0,
3
+ "eval_bleu": 0.08445355735141684,
4
+ "eval_loss": 0.20781023800373077,
5
+ "eval_rouge1": 0.40183732359428986,
6
+ "eval_rouge2": 0.17106600485502385,
7
+ "eval_rougeL": 0.39778146195081354,
8
+ "eval_runtime": 108.4597,
9
+ "eval_samples": 2113,
10
+ "eval_samples_per_second": 19.482,
11
+ "eval_steps_per_second": 2.443,
12
+ "perplexity": 1.2309795542463353,
13
+ "total_flos": 7.5086968651776e+16,
14
+ "train_loss": 0.10163650903314878,
15
+ "train_runtime": 11373.3667,
16
+ "train_samples": 8452,
17
+ "train_samples_per_second": 14.863,
18
+ "train_steps_per_second": 1.859
19
+ }
egy_training_log.txt CHANGED
@@ -310,3 +310,5 @@ INFO:root:Epoch 16.0: Train Loss = 0.0327, Eval Loss = 0.21689023077487946
310
  INFO:absl:Using default tokenizer.
311
  INFO:root:Epoch 17.0: Train Loss = 0.0313, Eval Loss = 0.21753403544425964
312
  INFO:absl:Using default tokenizer.
 
 
 
310
  INFO:absl:Using default tokenizer.
311
  INFO:root:Epoch 17.0: Train Loss = 0.0313, Eval Loss = 0.21753403544425964
312
  INFO:absl:Using default tokenizer.
313
+ INFO:__main__:*** Evaluate ***
314
+ INFO:absl:Using default tokenizer.
eval_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 17.0,
3
+ "eval_bleu": 0.08445355735141684,
4
+ "eval_loss": 0.20781023800373077,
5
+ "eval_rouge1": 0.40183732359428986,
6
+ "eval_rouge2": 0.17106600485502385,
7
+ "eval_rougeL": 0.39778146195081354,
8
+ "eval_runtime": 108.4597,
9
+ "eval_samples": 2113,
10
+ "eval_samples_per_second": 19.482,
11
+ "eval_steps_per_second": 2.443,
12
+ "perplexity": 1.2309795542463353
13
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 17.0,
3
+ "total_flos": 7.5086968651776e+16,
4
+ "train_loss": 0.10163650903314878,
5
+ "train_runtime": 11373.3667,
6
+ "train_samples": 8452,
7
+ "train_samples_per_second": 14.863,
8
+ "train_steps_per_second": 1.859
9
+ }
train_vs_val_loss.png ADDED
trainer_state.json ADDED
@@ -0,0 +1,374 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.20781023800373077,
3
+ "best_model_checkpoint": "/home/iais_marenpielka/Bouthaina/res_nw_irq_aragpt2-base/checkpoint-12684",
4
+ "epoch": 17.0,
5
+ "eval_steps": 500,
6
+ "global_step": 17969,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "grad_norm": 0.21245746314525604,
14
+ "learning_rate": 4.865067829457365e-05,
15
+ "loss": 0.9334,
16
+ "step": 1057
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_bleu": 0.003236761532472025,
21
+ "eval_loss": 0.24612107872962952,
22
+ "eval_rouge1": 0.1592859430436859,
23
+ "eval_rouge2": 0.01850245530694966,
24
+ "eval_rougeL": 0.15327183350590745,
25
+ "eval_runtime": 47.2784,
26
+ "eval_samples_per_second": 44.693,
27
+ "eval_steps_per_second": 5.605,
28
+ "step": 1057
29
+ },
30
+ {
31
+ "epoch": 2.0,
32
+ "grad_norm": 0.1900666505098343,
33
+ "learning_rate": 4.609011627906977e-05,
34
+ "loss": 0.0868,
35
+ "step": 2114
36
+ },
37
+ {
38
+ "epoch": 2.0,
39
+ "eval_bleu": 0.01485892408066134,
40
+ "eval_loss": 0.2332119345664978,
41
+ "eval_rouge1": 0.24547054015158856,
42
+ "eval_rouge2": 0.05101888171169662,
43
+ "eval_rougeL": 0.23941488622001442,
44
+ "eval_runtime": 106.4482,
45
+ "eval_samples_per_second": 19.85,
46
+ "eval_steps_per_second": 2.489,
47
+ "step": 2114
48
+ },
49
+ {
50
+ "epoch": 3.0,
51
+ "grad_norm": 0.17272518575191498,
52
+ "learning_rate": 4.3529554263565894e-05,
53
+ "loss": 0.0767,
54
+ "step": 3171
55
+ },
56
+ {
57
+ "epoch": 3.0,
58
+ "eval_bleu": 0.025242358861939478,
59
+ "eval_loss": 0.23418210446834564,
60
+ "eval_rouge1": 0.2960794609105263,
61
+ "eval_rouge2": 0.078188861596172,
62
+ "eval_rougeL": 0.2910032597311343,
63
+ "eval_runtime": 46.6571,
64
+ "eval_samples_per_second": 45.288,
65
+ "eval_steps_per_second": 5.68,
66
+ "step": 3171
67
+ },
68
+ {
69
+ "epoch": 4.0,
70
+ "grad_norm": 0.26465269923210144,
71
+ "learning_rate": 4.096899224806201e-05,
72
+ "loss": 0.0696,
73
+ "step": 4228
74
+ },
75
+ {
76
+ "epoch": 4.0,
77
+ "eval_bleu": 0.040436621142289915,
78
+ "eval_loss": 0.2277713567018509,
79
+ "eval_rouge1": 0.3300020560602195,
80
+ "eval_rouge2": 0.10496894572689558,
81
+ "eval_rougeL": 0.32523455556499214,
82
+ "eval_runtime": 46.6771,
83
+ "eval_samples_per_second": 45.268,
84
+ "eval_steps_per_second": 5.677,
85
+ "step": 4228
86
+ },
87
+ {
88
+ "epoch": 5.0,
89
+ "grad_norm": 0.19601380825042725,
90
+ "learning_rate": 3.840843023255814e-05,
91
+ "loss": 0.0636,
92
+ "step": 5285
93
+ },
94
+ {
95
+ "epoch": 5.0,
96
+ "eval_bleu": 0.05166825934118283,
97
+ "eval_loss": 0.22189512848854065,
98
+ "eval_rouge1": 0.3535589938019066,
99
+ "eval_rouge2": 0.12152558383102884,
100
+ "eval_rougeL": 0.3480324766784169,
101
+ "eval_runtime": 76.0841,
102
+ "eval_samples_per_second": 27.772,
103
+ "eval_steps_per_second": 3.483,
104
+ "step": 5285
105
+ },
106
+ {
107
+ "epoch": 6.0,
108
+ "grad_norm": 0.22665895521640778,
109
+ "learning_rate": 3.5847868217054265e-05,
110
+ "loss": 0.0587,
111
+ "step": 6342
112
+ },
113
+ {
114
+ "epoch": 6.0,
115
+ "eval_bleu": 0.05899956949346335,
116
+ "eval_loss": 0.22368572652339935,
117
+ "eval_rouge1": 0.3654354164962346,
118
+ "eval_rouge2": 0.13482081314433186,
119
+ "eval_rougeL": 0.3611275649771175,
120
+ "eval_runtime": 108.2192,
121
+ "eval_samples_per_second": 19.525,
122
+ "eval_steps_per_second": 2.449,
123
+ "step": 6342
124
+ },
125
+ {
126
+ "epoch": 7.0,
127
+ "grad_norm": 0.1510099470615387,
128
+ "learning_rate": 3.328730620155039e-05,
129
+ "loss": 0.0542,
130
+ "step": 7399
131
+ },
132
+ {
133
+ "epoch": 7.0,
134
+ "eval_bleu": 0.06674675327067288,
135
+ "eval_loss": 0.21935084462165833,
136
+ "eval_rouge1": 0.375454032579127,
137
+ "eval_rouge2": 0.1440449212655856,
138
+ "eval_rougeL": 0.37123789211821234,
139
+ "eval_runtime": 169.6548,
140
+ "eval_samples_per_second": 12.455,
141
+ "eval_steps_per_second": 1.562,
142
+ "step": 7399
143
+ },
144
+ {
145
+ "epoch": 8.0,
146
+ "grad_norm": 0.17433832585811615,
147
+ "learning_rate": 3.0726744186046517e-05,
148
+ "loss": 0.0502,
149
+ "step": 8456
150
+ },
151
+ {
152
+ "epoch": 8.0,
153
+ "eval_bleu": 0.07150751079471653,
154
+ "eval_loss": 0.20800183713436127,
155
+ "eval_rouge1": 0.38017302561406896,
156
+ "eval_rouge2": 0.1520586373563908,
157
+ "eval_rougeL": 0.3761265584375465,
158
+ "eval_runtime": 59.9519,
159
+ "eval_samples_per_second": 35.245,
160
+ "eval_steps_per_second": 4.42,
161
+ "step": 8456
162
+ },
163
+ {
164
+ "epoch": 9.0,
165
+ "grad_norm": 0.23176324367523193,
166
+ "learning_rate": 2.816618217054264e-05,
167
+ "loss": 0.0468,
168
+ "step": 9513
169
+ },
170
+ {
171
+ "epoch": 9.0,
172
+ "eval_bleu": 0.07701622828998697,
173
+ "eval_loss": 0.21230556070804596,
174
+ "eval_rouge1": 0.39305333263185294,
175
+ "eval_rouge2": 0.16160655664305132,
176
+ "eval_rougeL": 0.3889099045386816,
177
+ "eval_runtime": 47.0282,
178
+ "eval_samples_per_second": 44.93,
179
+ "eval_steps_per_second": 5.635,
180
+ "step": 9513
181
+ },
182
+ {
183
+ "epoch": 10.0,
184
+ "grad_norm": 0.22061537206172943,
185
+ "learning_rate": 2.560562015503876e-05,
186
+ "loss": 0.0438,
187
+ "step": 10570
188
+ },
189
+ {
190
+ "epoch": 10.0,
191
+ "eval_bleu": 0.08116803822206035,
192
+ "eval_loss": 0.21123112738132477,
193
+ "eval_rouge1": 0.39211790695723037,
194
+ "eval_rouge2": 0.16476729267221837,
195
+ "eval_rougeL": 0.3884162333833129,
196
+ "eval_runtime": 52.3744,
197
+ "eval_samples_per_second": 40.344,
198
+ "eval_steps_per_second": 5.06,
199
+ "step": 10570
200
+ },
201
+ {
202
+ "epoch": 11.0,
203
+ "grad_norm": 0.29454106092453003,
204
+ "learning_rate": 2.3045058139534884e-05,
205
+ "loss": 0.0408,
206
+ "step": 11627
207
+ },
208
+ {
209
+ "epoch": 11.0,
210
+ "eval_bleu": 0.08163331720700502,
211
+ "eval_loss": 0.21018122136592865,
212
+ "eval_rouge1": 0.39673991981574686,
213
+ "eval_rouge2": 0.16533579969575996,
214
+ "eval_rougeL": 0.3935895133910881,
215
+ "eval_runtime": 169.7591,
216
+ "eval_samples_per_second": 12.447,
217
+ "eval_steps_per_second": 1.561,
218
+ "step": 11627
219
+ },
220
+ {
221
+ "epoch": 12.0,
222
+ "grad_norm": 0.20639048516750336,
223
+ "learning_rate": 2.0484496124031007e-05,
224
+ "loss": 0.0384,
225
+ "step": 12684
226
+ },
227
+ {
228
+ "epoch": 12.0,
229
+ "eval_bleu": 0.08445355735141684,
230
+ "eval_loss": 0.20781023800373077,
231
+ "eval_rouge1": 0.40183732359428986,
232
+ "eval_rouge2": 0.17106600485502385,
233
+ "eval_rougeL": 0.39778146195081354,
234
+ "eval_runtime": 169.7164,
235
+ "eval_samples_per_second": 12.45,
236
+ "eval_steps_per_second": 1.561,
237
+ "step": 12684
238
+ },
239
+ {
240
+ "epoch": 13.0,
241
+ "grad_norm": 0.206428661942482,
242
+ "learning_rate": 1.7923934108527132e-05,
243
+ "loss": 0.0363,
244
+ "step": 13741
245
+ },
246
+ {
247
+ "epoch": 13.0,
248
+ "eval_bleu": 0.08696571570490616,
249
+ "eval_loss": 0.2144923061132431,
250
+ "eval_rouge1": 0.4023135478695373,
251
+ "eval_rouge2": 0.1719689510122407,
252
+ "eval_rougeL": 0.39862674092398764,
253
+ "eval_runtime": 169.681,
254
+ "eval_samples_per_second": 12.453,
255
+ "eval_steps_per_second": 1.562,
256
+ "step": 13741
257
+ },
258
+ {
259
+ "epoch": 14.0,
260
+ "grad_norm": 0.1995713710784912,
261
+ "learning_rate": 1.5363372093023258e-05,
262
+ "loss": 0.0343,
263
+ "step": 14798
264
+ },
265
+ {
266
+ "epoch": 14.0,
267
+ "eval_bleu": 0.08783833270174173,
268
+ "eval_loss": 0.21651192009449005,
269
+ "eval_rouge1": 0.406251961398795,
270
+ "eval_rouge2": 0.17568144009642983,
271
+ "eval_rougeL": 0.4022547036607911,
272
+ "eval_runtime": 169.5372,
273
+ "eval_samples_per_second": 12.463,
274
+ "eval_steps_per_second": 1.563,
275
+ "step": 14798
276
+ },
277
+ {
278
+ "epoch": 15.0,
279
+ "grad_norm": 0.22589825093746185,
280
+ "learning_rate": 1.280281007751938e-05,
281
+ "loss": 0.0327,
282
+ "step": 15855
283
+ },
284
+ {
285
+ "epoch": 15.0,
286
+ "eval_bleu": 0.09203652391095736,
287
+ "eval_loss": 0.21689023077487946,
288
+ "eval_rouge1": 0.4049011529575125,
289
+ "eval_rouge2": 0.17920037507226205,
290
+ "eval_rougeL": 0.4013754949817908,
291
+ "eval_runtime": 169.7215,
292
+ "eval_samples_per_second": 12.45,
293
+ "eval_steps_per_second": 1.561,
294
+ "step": 15855
295
+ },
296
+ {
297
+ "epoch": 16.0,
298
+ "grad_norm": 0.2390994280576706,
299
+ "learning_rate": 1.0242248062015503e-05,
300
+ "loss": 0.0313,
301
+ "step": 16912
302
+ },
303
+ {
304
+ "epoch": 16.0,
305
+ "eval_bleu": 0.09196638031992929,
306
+ "eval_loss": 0.21753403544425964,
307
+ "eval_rouge1": 0.4078242153735353,
308
+ "eval_rouge2": 0.18209517089320632,
309
+ "eval_rougeL": 0.40483345816401317,
310
+ "eval_runtime": 169.6048,
311
+ "eval_samples_per_second": 12.458,
312
+ "eval_steps_per_second": 1.562,
313
+ "step": 16912
314
+ },
315
+ {
316
+ "epoch": 17.0,
317
+ "grad_norm": 0.31637752056121826,
318
+ "learning_rate": 7.681686046511629e-06,
319
+ "loss": 0.0301,
320
+ "step": 17969
321
+ },
322
+ {
323
+ "epoch": 17.0,
324
+ "eval_bleu": 0.09441216110381762,
325
+ "eval_loss": 0.2191299945116043,
326
+ "eval_rouge1": 0.41033944929551286,
327
+ "eval_rouge2": 0.18390791273310297,
328
+ "eval_rougeL": 0.40661041910814566,
329
+ "eval_runtime": 169.743,
330
+ "eval_samples_per_second": 12.448,
331
+ "eval_steps_per_second": 1.561,
332
+ "step": 17969
333
+ },
334
+ {
335
+ "epoch": 17.0,
336
+ "step": 17969,
337
+ "total_flos": 7.5086968651776e+16,
338
+ "train_loss": 0.10163650903314878,
339
+ "train_runtime": 11373.3667,
340
+ "train_samples_per_second": 14.863,
341
+ "train_steps_per_second": 1.859
342
+ }
343
+ ],
344
+ "logging_steps": 500,
345
+ "max_steps": 21140,
346
+ "num_input_tokens_seen": 0,
347
+ "num_train_epochs": 20,
348
+ "save_steps": 500,
349
+ "stateful_callbacks": {
350
+ "EarlyStoppingCallback": {
351
+ "args": {
352
+ "early_stopping_patience": 5,
353
+ "early_stopping_threshold": 0.0
354
+ },
355
+ "attributes": {
356
+ "early_stopping_patience_counter": 0
357
+ }
358
+ },
359
+ "TrainerControl": {
360
+ "args": {
361
+ "should_epoch_stop": false,
362
+ "should_evaluate": false,
363
+ "should_log": false,
364
+ "should_save": true,
365
+ "should_training_stop": true
366
+ },
367
+ "attributes": {}
368
+ }
369
+ },
370
+ "total_flos": 7.5086968651776e+16,
371
+ "train_batch_size": 8,
372
+ "trial_name": null,
373
+ "trial_params": null
374
+ }