nlparabic commited on
Commit
40507e2
1 Parent(s): d066d9d

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: 0.4525
22
- - Bleu: 0.2539
23
- - Rouge1: 0.6407
24
- - Rouge2: 0.3977
25
- - Rougel: 0.6393
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: 0.4183
22
+ - Bleu: 0.2374
23
+ - Rouge1: 0.6213
24
+ - Rouge2: 0.3630
25
+ - Rougel: 0.6195
26
 
27
  ## Model description
28
 
all_results.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 9.0,
3
+ "eval_bleu": 0.23736106874390867,
4
+ "eval_loss": 0.4183219075202942,
5
+ "eval_rouge1": 0.6213217050496613,
6
+ "eval_rouge2": 0.3629928034660268,
7
+ "eval_rougeL": 0.6194945230812778,
8
+ "eval_runtime": 7.4528,
9
+ "eval_samples": 1675,
10
+ "eval_samples_per_second": 224.748,
11
+ "eval_steps_per_second": 28.177,
12
+ "perplexity": 1.5194097050971664,
13
+ "total_flos": 3938977382400000.0,
14
+ "train_loss": 0.41718409883979146,
15
+ "train_runtime": 2958.6328,
16
+ "train_samples": 6700,
17
+ "train_samples_per_second": 45.291,
18
+ "train_steps_per_second": 5.665
19
+ }
egy_training_log.txt CHANGED
@@ -162,3 +162,5 @@ INFO:root:Epoch 8.0: Train Loss = 0.148, Eval Loss = 0.4369480013847351
162
  INFO:absl:Using default tokenizer.
163
  INFO:root:Epoch 9.0: Train Loss = 0.1285, Eval Loss = 0.4447513520717621
164
  INFO:absl:Using default tokenizer.
 
 
 
162
  INFO:absl:Using default tokenizer.
163
  INFO:root:Epoch 9.0: Train Loss = 0.1285, Eval Loss = 0.4447513520717621
164
  INFO:absl:Using default tokenizer.
165
+ INFO:__main__:*** Evaluate ***
166
+ INFO:absl:Using default tokenizer.
eval_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 9.0,
3
+ "eval_bleu": 0.23736106874390867,
4
+ "eval_loss": 0.4183219075202942,
5
+ "eval_rouge1": 0.6213217050496613,
6
+ "eval_rouge2": 0.3629928034660268,
7
+ "eval_rougeL": 0.6194945230812778,
8
+ "eval_runtime": 7.4528,
9
+ "eval_samples": 1675,
10
+ "eval_samples_per_second": 224.748,
11
+ "eval_steps_per_second": 28.177,
12
+ "perplexity": 1.5194097050971664
13
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 9.0,
3
+ "total_flos": 3938977382400000.0,
4
+ "train_loss": 0.41718409883979146,
5
+ "train_runtime": 2958.6328,
6
+ "train_samples": 6700,
7
+ "train_samples_per_second": 45.291,
8
+ "train_steps_per_second": 5.665
9
+ }
train_vs_val_loss.png ADDED
trainer_state.json ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.4183219075202942,
3
+ "best_model_checkpoint": "/home/iais_marenpielka/Bouthaina/res_nw_gulf/checkpoint-3352",
4
+ "epoch": 9.0,
5
+ "eval_steps": 500,
6
+ "global_step": 7542,
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": 1.1270569562911987,
14
+ "learning_rate": 4.8960639606396064e-05,
15
+ "loss": 1.9575,
16
+ "step": 838
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_bleu": 0.17899151773967856,
21
+ "eval_loss": 0.4805418848991394,
22
+ "eval_rouge1": 0.5300700267573193,
23
+ "eval_rouge2": 0.25846419107204655,
24
+ "eval_rougeL": 0.5287371290578213,
25
+ "eval_runtime": 26.4765,
26
+ "eval_samples_per_second": 63.264,
27
+ "eval_steps_per_second": 7.932,
28
+ "step": 838
29
+ },
30
+ {
31
+ "epoch": 2.0,
32
+ "grad_norm": 0.8918192982673645,
33
+ "learning_rate": 4.6383763837638376e-05,
34
+ "loss": 0.422,
35
+ "step": 1676
36
+ },
37
+ {
38
+ "epoch": 2.0,
39
+ "eval_bleu": 0.2111987576275603,
40
+ "eval_loss": 0.4326799809932709,
41
+ "eval_rouge1": 0.5789346222407353,
42
+ "eval_rouge2": 0.3115433580134526,
43
+ "eval_rougeL": 0.5777838651600141,
44
+ "eval_runtime": 36.5489,
45
+ "eval_samples_per_second": 45.829,
46
+ "eval_steps_per_second": 5.746,
47
+ "step": 1676
48
+ },
49
+ {
50
+ "epoch": 3.0,
51
+ "grad_norm": 1.1533405780792236,
52
+ "learning_rate": 4.380688806888069e-05,
53
+ "loss": 0.331,
54
+ "step": 2514
55
+ },
56
+ {
57
+ "epoch": 3.0,
58
+ "eval_bleu": 0.22887638181669745,
59
+ "eval_loss": 0.41845184564590454,
60
+ "eval_rouge1": 0.6066983915980586,
61
+ "eval_rouge2": 0.34626660980048474,
62
+ "eval_rougeL": 0.6055721645591957,
63
+ "eval_runtime": 25.3383,
64
+ "eval_samples_per_second": 66.106,
65
+ "eval_steps_per_second": 8.288,
66
+ "step": 2514
67
+ },
68
+ {
69
+ "epoch": 4.0,
70
+ "grad_norm": 1.3615330457687378,
71
+ "learning_rate": 4.123001230012301e-05,
72
+ "loss": 0.2638,
73
+ "step": 3352
74
+ },
75
+ {
76
+ "epoch": 4.0,
77
+ "eval_bleu": 0.23736106874390867,
78
+ "eval_loss": 0.4183219075202942,
79
+ "eval_rouge1": 0.6213217050496613,
80
+ "eval_rouge2": 0.3629928034660268,
81
+ "eval_rougeL": 0.6194945230812778,
82
+ "eval_runtime": 16.1799,
83
+ "eval_samples_per_second": 103.524,
84
+ "eval_steps_per_second": 12.979,
85
+ "step": 3352
86
+ },
87
+ {
88
+ "epoch": 5.0,
89
+ "grad_norm": 1.29606294631958,
90
+ "learning_rate": 3.865313653136531e-05,
91
+ "loss": 0.2131,
92
+ "step": 4190
93
+ },
94
+ {
95
+ "epoch": 5.0,
96
+ "eval_bleu": 0.24225546513762886,
97
+ "eval_loss": 0.42484816908836365,
98
+ "eval_rouge1": 0.6280394265150125,
99
+ "eval_rouge2": 0.3718667234148674,
100
+ "eval_rougeL": 0.6264526155291095,
101
+ "eval_runtime": 25.4283,
102
+ "eval_samples_per_second": 65.872,
103
+ "eval_steps_per_second": 8.259,
104
+ "step": 4190
105
+ },
106
+ {
107
+ "epoch": 6.0,
108
+ "grad_norm": 1.9162726402282715,
109
+ "learning_rate": 3.6076260762607624e-05,
110
+ "loss": 0.1756,
111
+ "step": 5028
112
+ },
113
+ {
114
+ "epoch": 6.0,
115
+ "eval_bleu": 0.25110200021461276,
116
+ "eval_loss": 0.4322951138019562,
117
+ "eval_rouge1": 0.6329099900871186,
118
+ "eval_rouge2": 0.3818443278310246,
119
+ "eval_rougeL": 0.6311516008372622,
120
+ "eval_runtime": 13.3457,
121
+ "eval_samples_per_second": 125.508,
122
+ "eval_steps_per_second": 15.735,
123
+ "step": 5028
124
+ },
125
+ {
126
+ "epoch": 7.0,
127
+ "grad_norm": 1.2213388681411743,
128
+ "learning_rate": 3.349938499384994e-05,
129
+ "loss": 0.148,
130
+ "step": 5866
131
+ },
132
+ {
133
+ "epoch": 7.0,
134
+ "eval_bleu": 0.24584223218153298,
135
+ "eval_loss": 0.4369480013847351,
136
+ "eval_rouge1": 0.6346640667719812,
137
+ "eval_rouge2": 0.3890963668887653,
138
+ "eval_rougeL": 0.6326978702709232,
139
+ "eval_runtime": 6.3313,
140
+ "eval_samples_per_second": 264.559,
141
+ "eval_steps_per_second": 33.169,
142
+ "step": 5866
143
+ },
144
+ {
145
+ "epoch": 8.0,
146
+ "grad_norm": 1.774276852607727,
147
+ "learning_rate": 3.092250922509225e-05,
148
+ "loss": 0.1285,
149
+ "step": 6704
150
+ },
151
+ {
152
+ "epoch": 8.0,
153
+ "eval_bleu": 0.2499016538097514,
154
+ "eval_loss": 0.4447513520717621,
155
+ "eval_rouge1": 0.6380175687280993,
156
+ "eval_rouge2": 0.38845767776215345,
157
+ "eval_rougeL": 0.6368182514454324,
158
+ "eval_runtime": 5.4681,
159
+ "eval_samples_per_second": 306.322,
160
+ "eval_steps_per_second": 38.405,
161
+ "step": 6704
162
+ },
163
+ {
164
+ "epoch": 9.0,
165
+ "grad_norm": 0.779574990272522,
166
+ "learning_rate": 2.8345633456334564e-05,
167
+ "loss": 0.1152,
168
+ "step": 7542
169
+ },
170
+ {
171
+ "epoch": 9.0,
172
+ "eval_bleu": 0.2538776211394201,
173
+ "eval_loss": 0.45251065492630005,
174
+ "eval_rouge1": 0.6407467681145795,
175
+ "eval_rouge2": 0.3976657405838769,
176
+ "eval_rougeL": 0.6393461853572592,
177
+ "eval_runtime": 6.3546,
178
+ "eval_samples_per_second": 263.59,
179
+ "eval_steps_per_second": 33.047,
180
+ "step": 7542
181
+ },
182
+ {
183
+ "epoch": 9.0,
184
+ "step": 7542,
185
+ "total_flos": 3938977382400000.0,
186
+ "train_loss": 0.41718409883979146,
187
+ "train_runtime": 2958.6328,
188
+ "train_samples_per_second": 45.291,
189
+ "train_steps_per_second": 5.665
190
+ }
191
+ ],
192
+ "logging_steps": 500,
193
+ "max_steps": 16760,
194
+ "num_input_tokens_seen": 0,
195
+ "num_train_epochs": 20,
196
+ "save_steps": 500,
197
+ "stateful_callbacks": {
198
+ "EarlyStoppingCallback": {
199
+ "args": {
200
+ "early_stopping_patience": 5,
201
+ "early_stopping_threshold": 0.0
202
+ },
203
+ "attributes": {
204
+ "early_stopping_patience_counter": 0
205
+ }
206
+ },
207
+ "TrainerControl": {
208
+ "args": {
209
+ "should_epoch_stop": false,
210
+ "should_evaluate": false,
211
+ "should_log": false,
212
+ "should_save": true,
213
+ "should_training_stop": true
214
+ },
215
+ "attributes": {}
216
+ }
217
+ },
218
+ "total_flos": 3938977382400000.0,
219
+ "train_batch_size": 8,
220
+ "trial_name": null,
221
+ "trial_params": null
222
+ }