nlparabic commited on
Commit
bc0f964
1 Parent(s): 5744bd3

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-03B](https://huggingface.co/riotu-lab/ArabianGPT-03B) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.0797
22
- - Bleu: 0.2112
23
- - Rouge1: 0.5592
24
- - Rouge2: 0.3546
25
- - Rougel: 0.5569
26
 
27
  ## Model description
28
 
 
18
 
19
  This model is a fine-tuned version of [riotu-lab/ArabianGPT-03B](https://huggingface.co/riotu-lab/ArabianGPT-03B) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
+ - Loss: 0.0679
22
+ - Bleu: 0.1681
23
+ - Rouge1: 0.5343
24
+ - Rouge2: 0.3158
25
+ - Rougel: 0.5319
26
 
27
  ## Model description
28
 
all_results.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 8.0,
3
+ "eval_bleu": 0.16813566870280167,
4
+ "eval_loss": 0.0678805559873581,
5
+ "eval_rouge1": 0.5342839149814531,
6
+ "eval_rouge2": 0.3157655613133348,
7
+ "eval_rougeL": 0.5319180103197795,
8
+ "eval_runtime": 2024.0604,
9
+ "eval_samples": 33746,
10
+ "eval_samples_per_second": 16.672,
11
+ "eval_steps_per_second": 4.168,
12
+ "perplexity": 1.0702374673864155,
13
+ "total_flos": 2.0060826554471547e+18,
14
+ "train_loss": 0.04765514560038514,
15
+ "train_runtime": 203650.1496,
16
+ "train_samples": 135006,
17
+ "train_samples_per_second": 13.259,
18
+ "train_steps_per_second": 3.315
19
+ }
egy_training_log.txt CHANGED
@@ -156,3 +156,5 @@ INFO:root:Epoch 7.0: Train Loss = 0.0345, Eval Loss = 0.07342757284641266
156
  INFO:absl:Using default tokenizer.
157
  INFO:root:Epoch 8.0: Train Loss = 0.0302, Eval Loss = 0.0768970176577568
158
  INFO:absl:Using default tokenizer.
 
 
 
156
  INFO:absl:Using default tokenizer.
157
  INFO:root:Epoch 8.0: Train Loss = 0.0302, Eval Loss = 0.0768970176577568
158
  INFO:absl:Using default tokenizer.
159
+ INFO:__main__:*** Evaluate ***
160
+ INFO:absl:Using default tokenizer.
eval_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 8.0,
3
+ "eval_bleu": 0.16813566870280167,
4
+ "eval_loss": 0.0678805559873581,
5
+ "eval_rouge1": 0.5342839149814531,
6
+ "eval_rouge2": 0.3157655613133348,
7
+ "eval_rougeL": 0.5319180103197795,
8
+ "eval_runtime": 2024.0604,
9
+ "eval_samples": 33746,
10
+ "eval_samples_per_second": 16.672,
11
+ "eval_steps_per_second": 4.168,
12
+ "perplexity": 1.0702374673864155
13
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 8.0,
3
+ "total_flos": 2.0060826554471547e+18,
4
+ "train_loss": 0.04765514560038514,
5
+ "train_runtime": 203650.1496,
6
+ "train_samples": 135006,
7
+ "train_samples_per_second": 13.259,
8
+ "train_steps_per_second": 3.315
9
+ }
train_vs_val_loss.png ADDED
trainer_state.json ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.0678805559873581,
3
+ "best_model_checkpoint": "/home/iais_marenpielka/Bouthaina/res_nw_arabiangpt0.3/checkpoint-101256",
4
+ "epoch": 8.0,
5
+ "eval_steps": 500,
6
+ "global_step": 270016,
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.5094387531280518,
14
+ "learning_rate": 4.753520917958906e-05,
15
+ "loss": 0.0845,
16
+ "step": 33752
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_bleu": 0.1360083183193832,
21
+ "eval_loss": 0.0708920955657959,
22
+ "eval_rouge1": 0.48412628006639347,
23
+ "eval_rouge2": 0.2595444928790475,
24
+ "eval_rougeL": 0.4811152550714598,
25
+ "eval_runtime": 2076.8563,
26
+ "eval_samples_per_second": 16.249,
27
+ "eval_steps_per_second": 4.062,
28
+ "step": 33752
29
+ },
30
+ {
31
+ "epoch": 2.0,
32
+ "grad_norm": 1.2100098133087158,
33
+ "learning_rate": 4.503335606487384e-05,
34
+ "loss": 0.0638,
35
+ "step": 67504
36
+ },
37
+ {
38
+ "epoch": 2.0,
39
+ "eval_bleu": 0.15568253204889895,
40
+ "eval_loss": 0.06831026077270508,
41
+ "eval_rouge1": 0.516649446787459,
42
+ "eval_rouge2": 0.2948018415714037,
43
+ "eval_rougeL": 0.514024802556861,
44
+ "eval_runtime": 2012.7332,
45
+ "eval_samples_per_second": 16.766,
46
+ "eval_steps_per_second": 4.192,
47
+ "step": 67504
48
+ },
49
+ {
50
+ "epoch": 3.0,
51
+ "grad_norm": 0.4080255627632141,
52
+ "learning_rate": 4.253150295015863e-05,
53
+ "loss": 0.0546,
54
+ "step": 101256
55
+ },
56
+ {
57
+ "epoch": 3.0,
58
+ "eval_bleu": 0.16813566870280167,
59
+ "eval_loss": 0.0678805559873581,
60
+ "eval_rouge1": 0.5342839149814531,
61
+ "eval_rouge2": 0.3157655613133348,
62
+ "eval_rougeL": 0.5319180103197795,
63
+ "eval_runtime": 1952.412,
64
+ "eval_samples_per_second": 17.284,
65
+ "eval_steps_per_second": 4.321,
66
+ "step": 101256
67
+ },
68
+ {
69
+ "epoch": 4.0,
70
+ "grad_norm": 0.40639498829841614,
71
+ "learning_rate": 4.002964983544342e-05,
72
+ "loss": 0.0468,
73
+ "step": 135008
74
+ },
75
+ {
76
+ "epoch": 4.0,
77
+ "eval_bleu": 0.18301542857870237,
78
+ "eval_loss": 0.06886506825685501,
79
+ "eval_rouge1": 0.5476940640774866,
80
+ "eval_rouge2": 0.33203989935219014,
81
+ "eval_rougeL": 0.5452209555156204,
82
+ "eval_runtime": 1954.1613,
83
+ "eval_samples_per_second": 17.269,
84
+ "eval_steps_per_second": 4.317,
85
+ "step": 135008
86
+ },
87
+ {
88
+ "epoch": 5.0,
89
+ "grad_norm": 0.5491040945053101,
90
+ "learning_rate": 3.7527796720728204e-05,
91
+ "loss": 0.0401,
92
+ "step": 168760
93
+ },
94
+ {
95
+ "epoch": 5.0,
96
+ "eval_bleu": 0.19405846737344298,
97
+ "eval_loss": 0.0706464946269989,
98
+ "eval_rouge1": 0.5548980705277954,
99
+ "eval_rouge2": 0.34218497796474945,
100
+ "eval_rougeL": 0.55265645352457,
101
+ "eval_runtime": 2015.2556,
102
+ "eval_samples_per_second": 16.745,
103
+ "eval_steps_per_second": 4.187,
104
+ "step": 168760
105
+ },
106
+ {
107
+ "epoch": 6.0,
108
+ "grad_norm": 0.2615252435207367,
109
+ "learning_rate": 3.502594360601299e-05,
110
+ "loss": 0.0345,
111
+ "step": 202512
112
+ },
113
+ {
114
+ "epoch": 6.0,
115
+ "eval_bleu": 0.20164731422462528,
116
+ "eval_loss": 0.07342757284641266,
117
+ "eval_rouge1": 0.5579768475101489,
118
+ "eval_rouge2": 0.34858517959726787,
119
+ "eval_rougeL": 0.5558276150233377,
120
+ "eval_runtime": 2028.3934,
121
+ "eval_samples_per_second": 16.637,
122
+ "eval_steps_per_second": 4.159,
123
+ "step": 202512
124
+ },
125
+ {
126
+ "epoch": 7.0,
127
+ "grad_norm": 0.24876318871974945,
128
+ "learning_rate": 3.252409049129777e-05,
129
+ "loss": 0.0302,
130
+ "step": 236264
131
+ },
132
+ {
133
+ "epoch": 7.0,
134
+ "eval_bleu": 0.2083227447079373,
135
+ "eval_loss": 0.0768970176577568,
136
+ "eval_rouge1": 0.5600411658774835,
137
+ "eval_rouge2": 0.3535281728359022,
138
+ "eval_rougeL": 0.5576670140997706,
139
+ "eval_runtime": 2016.181,
140
+ "eval_samples_per_second": 16.738,
141
+ "eval_steps_per_second": 4.185,
142
+ "step": 236264
143
+ },
144
+ {
145
+ "epoch": 8.0,
146
+ "grad_norm": 0.5295557379722595,
147
+ "learning_rate": 3.0022237376582564e-05,
148
+ "loss": 0.0269,
149
+ "step": 270016
150
+ },
151
+ {
152
+ "epoch": 8.0,
153
+ "eval_bleu": 0.21123631944078344,
154
+ "eval_loss": 0.07967726141214371,
155
+ "eval_rouge1": 0.5591904067243532,
156
+ "eval_rouge2": 0.3545914045960048,
157
+ "eval_rougeL": 0.5569180306629817,
158
+ "eval_runtime": 2017.1957,
159
+ "eval_samples_per_second": 16.729,
160
+ "eval_steps_per_second": 4.183,
161
+ "step": 270016
162
+ },
163
+ {
164
+ "epoch": 8.0,
165
+ "step": 270016,
166
+ "total_flos": 2.0060826554471547e+18,
167
+ "train_loss": 0.04765514560038514,
168
+ "train_runtime": 203650.1496,
169
+ "train_samples_per_second": 13.259,
170
+ "train_steps_per_second": 3.315
171
+ }
172
+ ],
173
+ "logging_steps": 500,
174
+ "max_steps": 675040,
175
+ "num_input_tokens_seen": 0,
176
+ "num_train_epochs": 20,
177
+ "save_steps": 500,
178
+ "stateful_callbacks": {
179
+ "EarlyStoppingCallback": {
180
+ "args": {
181
+ "early_stopping_patience": 5,
182
+ "early_stopping_threshold": 0.0
183
+ },
184
+ "attributes": {
185
+ "early_stopping_patience_counter": 0
186
+ }
187
+ },
188
+ "TrainerControl": {
189
+ "args": {
190
+ "should_epoch_stop": false,
191
+ "should_evaluate": false,
192
+ "should_log": false,
193
+ "should_save": true,
194
+ "should_training_stop": true
195
+ },
196
+ "attributes": {}
197
+ }
198
+ },
199
+ "total_flos": 2.0060826554471547e+18,
200
+ "train_batch_size": 4,
201
+ "trial_name": null,
202
+ "trial_params": null
203
+ }