nlparabic commited on
Commit
19b7a96
1 Parent(s): 320865b

End of training

Browse files
README.md CHANGED
@@ -18,11 +18,11 @@ should probably proofread and complete it, then remove this comment. -->
18
 
19
  This model is a fine-tuned version of [riotu-lab/ArabianGPT-01B](https://huggingface.co/riotu-lab/ArabianGPT-01B) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 1.9809
22
- - Bleu: 0.3149
23
- - Rouge1: 0.5865
24
- - Rouge2: 0.3495
25
- - Rougel: 0.5486
26
 
27
  ## Model description
28
 
 
18
 
19
  This model is a fine-tuned version of [riotu-lab/ArabianGPT-01B](https://huggingface.co/riotu-lab/ArabianGPT-01B) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
+ - Loss: 1.9793
22
+ - Bleu: 0.3130
23
+ - Rouge1: 0.5832
24
+ - Rouge2: 0.3461
25
+ - Rougel: 0.5454
26
 
27
  ## Model description
28
 
all_results.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 18.0,
3
+ "eval_bleu": 0.31303204778954513,
4
+ "eval_loss": 1.9793106317520142,
5
+ "eval_rouge1": 0.5832240471437244,
6
+ "eval_rouge2": 0.34612838297153165,
7
+ "eval_rougeL": 0.545438606875621,
8
+ "eval_runtime": 29.6378,
9
+ "eval_samples": 925,
10
+ "eval_samples_per_second": 31.21,
11
+ "eval_steps_per_second": 3.914,
12
+ "perplexity": 7.237751788702562,
13
+ "total_flos": 2.5969031184384e+16,
14
+ "train_loss": 1.6592627337077177,
15
+ "train_runtime": 3469.9556,
16
+ "train_samples": 3681,
17
+ "train_samples_per_second": 21.216,
18
+ "train_steps_per_second": 2.657
19
+ }
egy_training_log.txt CHANGED
@@ -319,3 +319,5 @@ INFO:root:Epoch 17.0: Train Loss = 1.4361, Eval Loss = 1.9800282716751099
319
  INFO:absl:Using default tokenizer.
320
  INFO:root:Epoch 18.0: Train Loss = 1.4159, Eval Loss = 1.979936957359314
321
  INFO:absl:Using default tokenizer.
 
 
 
319
  INFO:absl:Using default tokenizer.
320
  INFO:root:Epoch 18.0: Train Loss = 1.4159, Eval Loss = 1.979936957359314
321
  INFO:absl:Using default tokenizer.
322
+ INFO:__main__:*** Evaluate ***
323
+ INFO:absl:Using default tokenizer.
eval_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 18.0,
3
+ "eval_bleu": 0.31303204778954513,
4
+ "eval_loss": 1.9793106317520142,
5
+ "eval_rouge1": 0.5832240471437244,
6
+ "eval_rouge2": 0.34612838297153165,
7
+ "eval_rougeL": 0.545438606875621,
8
+ "eval_runtime": 29.6378,
9
+ "eval_samples": 925,
10
+ "eval_samples_per_second": 31.21,
11
+ "eval_steps_per_second": 3.914,
12
+ "perplexity": 7.237751788702562
13
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 18.0,
3
+ "total_flos": 2.5969031184384e+16,
4
+ "train_loss": 1.6592627337077177,
5
+ "train_runtime": 3469.9556,
6
+ "train_samples": 3681,
7
+ "train_samples_per_second": 21.216,
8
+ "train_steps_per_second": 2.657
9
+ }
train_vs_val_loss.png ADDED
trainer_state.json ADDED
@@ -0,0 +1,379 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.9793106317520142,
3
+ "best_model_checkpoint": "/home/iais_marenpielka/Bouthaina/results_fixed/checkpoint-6915",
4
+ "epoch": 18.0,
5
+ "eval_steps": 500,
6
+ "global_step": 8298,
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.0845986984815619,
13
+ "grad_norm": 1.1301698684692383,
14
+ "learning_rate": 5e-05,
15
+ "loss": 3.9816,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 1.0845986984815619,
20
+ "eval_bleu": 0.22704779726518312,
21
+ "eval_loss": 2.8213491439819336,
22
+ "eval_rouge1": 0.3850822060355352,
23
+ "eval_rouge2": 0.1625206163604567,
24
+ "eval_rougeL": 0.31976194879885783,
25
+ "eval_runtime": 89.8358,
26
+ "eval_samples_per_second": 10.297,
27
+ "eval_steps_per_second": 1.291,
28
+ "step": 500
29
+ },
30
+ {
31
+ "epoch": 2.0,
32
+ "eval_bleu": 0.2480969312402941,
33
+ "eval_loss": 2.4793343544006348,
34
+ "eval_rouge1": 0.4405430075781575,
35
+ "eval_rouge2": 0.20302695232764206,
36
+ "eval_rougeL": 0.3844289432538539,
37
+ "eval_runtime": 29.4641,
38
+ "eval_samples_per_second": 31.394,
39
+ "eval_steps_per_second": 3.937,
40
+ "step": 922
41
+ },
42
+ {
43
+ "epoch": 2.1691973969631237,
44
+ "grad_norm": 1.0731440782546997,
45
+ "learning_rate": 4.713302752293578e-05,
46
+ "loss": 2.6514,
47
+ "step": 1000
48
+ },
49
+ {
50
+ "epoch": 3.0,
51
+ "eval_bleu": 0.2658003323042654,
52
+ "eval_loss": 2.2930543422698975,
53
+ "eval_rouge1": 0.48284806373571365,
54
+ "eval_rouge2": 0.2384861670767343,
55
+ "eval_rougeL": 0.43274525400088326,
56
+ "eval_runtime": 91.1451,
57
+ "eval_samples_per_second": 10.149,
58
+ "eval_steps_per_second": 1.273,
59
+ "step": 1383
60
+ },
61
+ {
62
+ "epoch": 3.2537960954446854,
63
+ "grad_norm": 1.1006942987442017,
64
+ "learning_rate": 4.426605504587156e-05,
65
+ "loss": 2.3308,
66
+ "step": 1500
67
+ },
68
+ {
69
+ "epoch": 4.0,
70
+ "eval_bleu": 0.27970338794806143,
71
+ "eval_loss": 2.180091619491577,
72
+ "eval_rouge1": 0.5114337163243292,
73
+ "eval_rouge2": 0.267870161729887,
74
+ "eval_rougeL": 0.4658699841467887,
75
+ "eval_runtime": 29.4867,
76
+ "eval_samples_per_second": 31.37,
77
+ "eval_steps_per_second": 3.934,
78
+ "step": 1844
79
+ },
80
+ {
81
+ "epoch": 4.3383947939262475,
82
+ "grad_norm": 1.0734232664108276,
83
+ "learning_rate": 4.139908256880734e-05,
84
+ "loss": 2.1322,
85
+ "step": 2000
86
+ },
87
+ {
88
+ "epoch": 5.0,
89
+ "eval_bleu": 0.2886420174009109,
90
+ "eval_loss": 2.1132538318634033,
91
+ "eval_rouge1": 0.5263880712269413,
92
+ "eval_rouge2": 0.28674622405060524,
93
+ "eval_rougeL": 0.4851858911276635,
94
+ "eval_runtime": 29.5338,
95
+ "eval_samples_per_second": 31.32,
96
+ "eval_steps_per_second": 3.928,
97
+ "step": 2305
98
+ },
99
+ {
100
+ "epoch": 5.422993492407809,
101
+ "grad_norm": 1.058827519416809,
102
+ "learning_rate": 3.8532110091743125e-05,
103
+ "loss": 1.9942,
104
+ "step": 2500
105
+ },
106
+ {
107
+ "epoch": 6.0,
108
+ "eval_bleu": 0.2925900760553107,
109
+ "eval_loss": 2.064920663833618,
110
+ "eval_rouge1": 0.5417489504784114,
111
+ "eval_rouge2": 0.2993448660857305,
112
+ "eval_rougeL": 0.5002749085104436,
113
+ "eval_runtime": 29.6386,
114
+ "eval_samples_per_second": 31.209,
115
+ "eval_steps_per_second": 3.914,
116
+ "step": 2766
117
+ },
118
+ {
119
+ "epoch": 6.507592190889371,
120
+ "grad_norm": 1.0469533205032349,
121
+ "learning_rate": 3.56651376146789e-05,
122
+ "loss": 1.8884,
123
+ "step": 3000
124
+ },
125
+ {
126
+ "epoch": 7.0,
127
+ "eval_bleu": 0.2966637771816971,
128
+ "eval_loss": 2.03544545173645,
129
+ "eval_rouge1": 0.5528641921007253,
130
+ "eval_rouge2": 0.3107950360794697,
131
+ "eval_rougeL": 0.5117019175789275,
132
+ "eval_runtime": 29.7995,
133
+ "eval_samples_per_second": 31.041,
134
+ "eval_steps_per_second": 3.893,
135
+ "step": 3227
136
+ },
137
+ {
138
+ "epoch": 7.592190889370933,
139
+ "grad_norm": 1.1290621757507324,
140
+ "learning_rate": 3.2798165137614676e-05,
141
+ "loss": 1.8003,
142
+ "step": 3500
143
+ },
144
+ {
145
+ "epoch": 8.0,
146
+ "eval_bleu": 0.297270373541541,
147
+ "eval_loss": 2.016411304473877,
148
+ "eval_rouge1": 0.5596603132781475,
149
+ "eval_rouge2": 0.3199340438705295,
150
+ "eval_rougeL": 0.520436776425443,
151
+ "eval_runtime": 29.6516,
152
+ "eval_samples_per_second": 31.196,
153
+ "eval_steps_per_second": 3.912,
154
+ "step": 3688
155
+ },
156
+ {
157
+ "epoch": 8.676789587852495,
158
+ "grad_norm": 1.0918660163879395,
159
+ "learning_rate": 2.9931192660550462e-05,
160
+ "loss": 1.7305,
161
+ "step": 4000
162
+ },
163
+ {
164
+ "epoch": 9.0,
165
+ "eval_bleu": 0.30530297795149647,
166
+ "eval_loss": 2.0036492347717285,
167
+ "eval_rouge1": 0.5659695387091741,
168
+ "eval_rouge2": 0.3261535326554196,
169
+ "eval_rougeL": 0.5265625742800235,
170
+ "eval_runtime": 29.7893,
171
+ "eval_samples_per_second": 31.051,
172
+ "eval_steps_per_second": 3.894,
173
+ "step": 4149
174
+ },
175
+ {
176
+ "epoch": 9.761388286334057,
177
+ "grad_norm": 1.1562738418579102,
178
+ "learning_rate": 2.7064220183486238e-05,
179
+ "loss": 1.6672,
180
+ "step": 4500
181
+ },
182
+ {
183
+ "epoch": 10.0,
184
+ "eval_bleu": 0.3071835871794814,
185
+ "eval_loss": 1.993295669555664,
186
+ "eval_rouge1": 0.5704281178813693,
187
+ "eval_rouge2": 0.3318532927873396,
188
+ "eval_rougeL": 0.5325234479218677,
189
+ "eval_runtime": 29.7553,
190
+ "eval_samples_per_second": 31.087,
191
+ "eval_steps_per_second": 3.898,
192
+ "step": 4610
193
+ },
194
+ {
195
+ "epoch": 10.845986984815617,
196
+ "grad_norm": 1.1015173196792603,
197
+ "learning_rate": 2.419724770642202e-05,
198
+ "loss": 1.6132,
199
+ "step": 5000
200
+ },
201
+ {
202
+ "epoch": 11.0,
203
+ "eval_bleu": 0.3093132521096642,
204
+ "eval_loss": 1.9886106252670288,
205
+ "eval_rouge1": 0.5737300860653806,
206
+ "eval_rouge2": 0.33663827794301615,
207
+ "eval_rougeL": 0.536346207031389,
208
+ "eval_runtime": 29.743,
209
+ "eval_samples_per_second": 31.1,
210
+ "eval_steps_per_second": 3.9,
211
+ "step": 5071
212
+ },
213
+ {
214
+ "epoch": 11.93058568329718,
215
+ "grad_norm": 1.0905733108520508,
216
+ "learning_rate": 2.13302752293578e-05,
217
+ "loss": 1.5659,
218
+ "step": 5500
219
+ },
220
+ {
221
+ "epoch": 12.0,
222
+ "eval_bleu": 0.3098881020021761,
223
+ "eval_loss": 1.9834030866622925,
224
+ "eval_rouge1": 0.5777003074459022,
225
+ "eval_rouge2": 0.3397382155739319,
226
+ "eval_rougeL": 0.5395519937552808,
227
+ "eval_runtime": 29.7562,
228
+ "eval_samples_per_second": 31.086,
229
+ "eval_steps_per_second": 3.898,
230
+ "step": 5532
231
+ },
232
+ {
233
+ "epoch": 13.0,
234
+ "eval_bleu": 0.3117110664590574,
235
+ "eval_loss": 1.981902003288269,
236
+ "eval_rouge1": 0.5796236336727056,
237
+ "eval_rouge2": 0.34230164752840053,
238
+ "eval_rougeL": 0.5417627454602093,
239
+ "eval_runtime": 29.7814,
240
+ "eval_samples_per_second": 31.06,
241
+ "eval_steps_per_second": 3.895,
242
+ "step": 5993
243
+ },
244
+ {
245
+ "epoch": 13.015184381778742,
246
+ "grad_norm": 1.0530316829681396,
247
+ "learning_rate": 1.8463302752293578e-05,
248
+ "loss": 1.5244,
249
+ "step": 6000
250
+ },
251
+ {
252
+ "epoch": 14.0,
253
+ "eval_bleu": 0.3126312196492616,
254
+ "eval_loss": 1.9798119068145752,
255
+ "eval_rouge1": 0.5833425546826478,
256
+ "eval_rouge2": 0.34524587884448443,
257
+ "eval_rougeL": 0.5450520234727538,
258
+ "eval_runtime": 29.8075,
259
+ "eval_samples_per_second": 31.032,
260
+ "eval_steps_per_second": 3.892,
261
+ "step": 6454
262
+ },
263
+ {
264
+ "epoch": 14.099783080260304,
265
+ "grad_norm": 1.1455042362213135,
266
+ "learning_rate": 1.559633027522936e-05,
267
+ "loss": 1.4884,
268
+ "step": 6500
269
+ },
270
+ {
271
+ "epoch": 15.0,
272
+ "eval_bleu": 0.31303204778954513,
273
+ "eval_loss": 1.9793106317520142,
274
+ "eval_rouge1": 0.5832240471437244,
275
+ "eval_rouge2": 0.34612838297153165,
276
+ "eval_rougeL": 0.545438606875621,
277
+ "eval_runtime": 29.7921,
278
+ "eval_samples_per_second": 31.048,
279
+ "eval_steps_per_second": 3.894,
280
+ "step": 6915
281
+ },
282
+ {
283
+ "epoch": 15.184381778741866,
284
+ "grad_norm": 1.1202692985534668,
285
+ "learning_rate": 1.2729357798165138e-05,
286
+ "loss": 1.4594,
287
+ "step": 7000
288
+ },
289
+ {
290
+ "epoch": 16.0,
291
+ "eval_bleu": 0.3133487171249794,
292
+ "eval_loss": 1.9800282716751099,
293
+ "eval_rouge1": 0.584603146586737,
294
+ "eval_rouge2": 0.34685127859250275,
295
+ "eval_rougeL": 0.5465551086322522,
296
+ "eval_runtime": 30.1539,
297
+ "eval_samples_per_second": 30.676,
298
+ "eval_steps_per_second": 3.847,
299
+ "step": 7376
300
+ },
301
+ {
302
+ "epoch": 16.268980477223426,
303
+ "grad_norm": 1.1474549770355225,
304
+ "learning_rate": 9.862385321100918e-06,
305
+ "loss": 1.4361,
306
+ "step": 7500
307
+ },
308
+ {
309
+ "epoch": 17.0,
310
+ "eval_bleu": 0.3150747205411821,
311
+ "eval_loss": 1.979936957359314,
312
+ "eval_rouge1": 0.5865159051716312,
313
+ "eval_rouge2": 0.34931764934488574,
314
+ "eval_rougeL": 0.5485201965669062,
315
+ "eval_runtime": 29.8082,
316
+ "eval_samples_per_second": 31.032,
317
+ "eval_steps_per_second": 3.892,
318
+ "step": 7837
319
+ },
320
+ {
321
+ "epoch": 17.35357917570499,
322
+ "grad_norm": 1.0869196653366089,
323
+ "learning_rate": 6.995412844036697e-06,
324
+ "loss": 1.4159,
325
+ "step": 8000
326
+ },
327
+ {
328
+ "epoch": 18.0,
329
+ "eval_bleu": 0.31486980402021325,
330
+ "eval_loss": 1.9808851480484009,
331
+ "eval_rouge1": 0.5865213969000711,
332
+ "eval_rouge2": 0.3495173970652049,
333
+ "eval_rougeL": 0.5486068806911688,
334
+ "eval_runtime": 29.8468,
335
+ "eval_samples_per_second": 30.992,
336
+ "eval_steps_per_second": 3.887,
337
+ "step": 8298
338
+ },
339
+ {
340
+ "epoch": 18.0,
341
+ "step": 8298,
342
+ "total_flos": 2.5969031184384e+16,
343
+ "train_loss": 1.6592627337077177,
344
+ "train_runtime": 3469.9556,
345
+ "train_samples_per_second": 21.216,
346
+ "train_steps_per_second": 2.657
347
+ }
348
+ ],
349
+ "logging_steps": 500,
350
+ "max_steps": 9220,
351
+ "num_input_tokens_seen": 0,
352
+ "num_train_epochs": 20,
353
+ "save_steps": 500,
354
+ "stateful_callbacks": {
355
+ "EarlyStoppingCallback": {
356
+ "args": {
357
+ "early_stopping_patience": 3,
358
+ "early_stopping_threshold": 0.0
359
+ },
360
+ "attributes": {
361
+ "early_stopping_patience_counter": 0
362
+ }
363
+ },
364
+ "TrainerControl": {
365
+ "args": {
366
+ "should_epoch_stop": false,
367
+ "should_evaluate": false,
368
+ "should_log": false,
369
+ "should_save": true,
370
+ "should_training_stop": true
371
+ },
372
+ "attributes": {}
373
+ }
374
+ },
375
+ "total_flos": 2.5969031184384e+16,
376
+ "train_batch_size": 8,
377
+ "trial_name": null,
378
+ "trial_params": null
379
+ }