End of training
Browse files- README.md +5 -5
- all_results.json +19 -0
- egy_training_log.txt +2 -0
- eval_results.json +13 -0
- train_results.json +9 -0
- train_vs_val_loss.png +0 -0
- trainer_state.json +203 -0
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.
|
22 |
-
- Bleu: 0.
|
23 |
-
- Rouge1: 0.
|
24 |
-
- Rouge2: 0.
|
25 |
-
- Rougel: 0.
|
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.3767
|
22 |
+
- Bleu: 0.4279
|
23 |
+
- Rouge1: 0.6599
|
24 |
+
- Rouge2: 0.3971
|
25 |
+
- Rougel: 0.6585
|
26 |
|
27 |
## Model description
|
28 |
|
all_results.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 8.0,
|
3 |
+
"eval_bleu": 0.427914494660841,
|
4 |
+
"eval_loss": 0.3767148554325104,
|
5 |
+
"eval_rouge1": 0.6598531398910279,
|
6 |
+
"eval_rouge2": 0.3971047774692673,
|
7 |
+
"eval_rougeL": 0.6584832139558556,
|
8 |
+
"eval_runtime": 2.4117,
|
9 |
+
"eval_samples": 304,
|
10 |
+
"eval_samples_per_second": 126.05,
|
11 |
+
"eval_steps_per_second": 15.756,
|
12 |
+
"perplexity": 1.4574886551410782,
|
13 |
+
"total_flos": 2264172293259264.0,
|
14 |
+
"train_loss": 0.719257706910177,
|
15 |
+
"train_runtime": 2187.326,
|
16 |
+
"train_samples": 1219,
|
17 |
+
"train_samples_per_second": 11.146,
|
18 |
+
"train_steps_per_second": 1.399
|
19 |
+
}
|
egy_training_log.txt
CHANGED
@@ -156,3 +156,5 @@ INFO:root:Epoch 7.0: Train Loss = 0.0999, Eval Loss = 0.39377203583717346
|
|
156 |
INFO:absl:Using default tokenizer.
|
157 |
INFO:root:Epoch 8.0: Train Loss = 0.0844, Eval Loss = 0.39711037278175354
|
158 |
INFO:absl:Using default tokenizer.
|
|
|
|
|
|
156 |
INFO:absl:Using default tokenizer.
|
157 |
INFO:root:Epoch 8.0: Train Loss = 0.0844, Eval Loss = 0.39711037278175354
|
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.427914494660841,
|
4 |
+
"eval_loss": 0.3767148554325104,
|
5 |
+
"eval_rouge1": 0.6598531398910279,
|
6 |
+
"eval_rouge2": 0.3971047774692673,
|
7 |
+
"eval_rougeL": 0.6584832139558556,
|
8 |
+
"eval_runtime": 2.4117,
|
9 |
+
"eval_samples": 304,
|
10 |
+
"eval_samples_per_second": 126.05,
|
11 |
+
"eval_steps_per_second": 15.756,
|
12 |
+
"perplexity": 1.4574886551410782
|
13 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 8.0,
|
3 |
+
"total_flos": 2264172293259264.0,
|
4 |
+
"train_loss": 0.719257706910177,
|
5 |
+
"train_runtime": 2187.326,
|
6 |
+
"train_samples": 1219,
|
7 |
+
"train_samples_per_second": 11.146,
|
8 |
+
"train_steps_per_second": 1.399
|
9 |
+
}
|
train_vs_val_loss.png
ADDED
trainer_state.json
ADDED
@@ -0,0 +1,203 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.3767148554325104,
|
3 |
+
"best_model_checkpoint": "/home/iais_marenpielka/Bouthaina/res_nw_yem_03/checkpoint-459",
|
4 |
+
"epoch": 8.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 1224,
|
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": 5.96675968170166,
|
14 |
+
"learning_rate": 1.53e-05,
|
15 |
+
"loss": 4.4383,
|
16 |
+
"step": 153
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_bleu": 0.015528584651533126,
|
21 |
+
"eval_loss": 0.7436053156852722,
|
22 |
+
"eval_rouge1": 0.46982391145733055,
|
23 |
+
"eval_rouge2": 0.19207986874781602,
|
24 |
+
"eval_rougeL": 0.46930459291115545,
|
25 |
+
"eval_runtime": 2.3655,
|
26 |
+
"eval_samples_per_second": 128.516,
|
27 |
+
"eval_steps_per_second": 16.064,
|
28 |
+
"step": 153
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"epoch": 2.0,
|
32 |
+
"grad_norm": 3.5768725872039795,
|
33 |
+
"learning_rate": 3.06e-05,
|
34 |
+
"loss": 0.4733,
|
35 |
+
"step": 306
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"epoch": 2.0,
|
39 |
+
"eval_bleu": 0.39670936867008716,
|
40 |
+
"eval_loss": 0.39333394169807434,
|
41 |
+
"eval_rouge1": 0.5938039437844622,
|
42 |
+
"eval_rouge2": 0.3153907013759276,
|
43 |
+
"eval_rougeL": 0.5909085576639257,
|
44 |
+
"eval_runtime": 9.4412,
|
45 |
+
"eval_samples_per_second": 32.199,
|
46 |
+
"eval_steps_per_second": 4.025,
|
47 |
+
"step": 306
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 3.0,
|
51 |
+
"grad_norm": 3.4199442863464355,
|
52 |
+
"learning_rate": 4.5900000000000004e-05,
|
53 |
+
"loss": 0.2714,
|
54 |
+
"step": 459
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 3.0,
|
58 |
+
"eval_bleu": 0.427914494660841,
|
59 |
+
"eval_loss": 0.3767148554325104,
|
60 |
+
"eval_rouge1": 0.6598531398910279,
|
61 |
+
"eval_rouge2": 0.3971047774692673,
|
62 |
+
"eval_rougeL": 0.6584832139558556,
|
63 |
+
"eval_runtime": 9.4581,
|
64 |
+
"eval_samples_per_second": 32.142,
|
65 |
+
"eval_steps_per_second": 4.018,
|
66 |
+
"step": 459
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"epoch": 4.0,
|
70 |
+
"grad_norm": 2.4085845947265625,
|
71 |
+
"learning_rate": 4.7812500000000003e-05,
|
72 |
+
"loss": 0.1837,
|
73 |
+
"step": 612
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 4.0,
|
77 |
+
"eval_bleu": 0.43801708242621135,
|
78 |
+
"eval_loss": 0.3863435983657837,
|
79 |
+
"eval_rouge1": 0.6761692862282009,
|
80 |
+
"eval_rouge2": 0.41837300418726475,
|
81 |
+
"eval_rougeL": 0.6725637079403999,
|
82 |
+
"eval_runtime": 127.7574,
|
83 |
+
"eval_samples_per_second": 2.38,
|
84 |
+
"eval_steps_per_second": 0.297,
|
85 |
+
"step": 612
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"epoch": 5.0,
|
89 |
+
"grad_norm": 0.990710973739624,
|
90 |
+
"learning_rate": 4.482421875e-05,
|
91 |
+
"loss": 0.129,
|
92 |
+
"step": 765
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 5.0,
|
96 |
+
"eval_bleu": 0.4536061292967932,
|
97 |
+
"eval_loss": 0.38353848457336426,
|
98 |
+
"eval_rouge1": 0.6993772519271104,
|
99 |
+
"eval_rouge2": 0.4575839398398158,
|
100 |
+
"eval_rougeL": 0.6967680711913622,
|
101 |
+
"eval_runtime": 4.8885,
|
102 |
+
"eval_samples_per_second": 62.186,
|
103 |
+
"eval_steps_per_second": 7.773,
|
104 |
+
"step": 765
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 6.0,
|
108 |
+
"grad_norm": 0.9595922827720642,
|
109 |
+
"learning_rate": 4.18359375e-05,
|
110 |
+
"loss": 0.0999,
|
111 |
+
"step": 918
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 6.0,
|
115 |
+
"eval_bleu": 0.44934275646340344,
|
116 |
+
"eval_loss": 0.39377203583717346,
|
117 |
+
"eval_rouge1": 0.6978745123044579,
|
118 |
+
"eval_rouge2": 0.45411326233563776,
|
119 |
+
"eval_rougeL": 0.693627688943746,
|
120 |
+
"eval_runtime": 2.8238,
|
121 |
+
"eval_samples_per_second": 107.657,
|
122 |
+
"eval_steps_per_second": 13.457,
|
123 |
+
"step": 918
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 7.0,
|
127 |
+
"grad_norm": 1.0308947563171387,
|
128 |
+
"learning_rate": 3.884765625e-05,
|
129 |
+
"loss": 0.0844,
|
130 |
+
"step": 1071
|
131 |
+
},
|
132 |
+
{
|
133 |
+
"epoch": 7.0,
|
134 |
+
"eval_bleu": 0.46229210583360764,
|
135 |
+
"eval_loss": 0.39711037278175354,
|
136 |
+
"eval_rouge1": 0.7106823471740515,
|
137 |
+
"eval_rouge2": 0.4766332327393774,
|
138 |
+
"eval_rougeL": 0.7069100507308859,
|
139 |
+
"eval_runtime": 2.6065,
|
140 |
+
"eval_samples_per_second": 116.631,
|
141 |
+
"eval_steps_per_second": 14.579,
|
142 |
+
"step": 1071
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 8.0,
|
146 |
+
"grad_norm": 0.5569229125976562,
|
147 |
+
"learning_rate": 3.5859375e-05,
|
148 |
+
"loss": 0.0741,
|
149 |
+
"step": 1224
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 8.0,
|
153 |
+
"eval_bleu": 0.4714652829533398,
|
154 |
+
"eval_loss": 0.3946935832500458,
|
155 |
+
"eval_rouge1": 0.7228506957910504,
|
156 |
+
"eval_rouge2": 0.48947047623829953,
|
157 |
+
"eval_rougeL": 0.7188907468330396,
|
158 |
+
"eval_runtime": 3.6852,
|
159 |
+
"eval_samples_per_second": 82.492,
|
160 |
+
"eval_steps_per_second": 10.311,
|
161 |
+
"step": 1224
|
162 |
+
},
|
163 |
+
{
|
164 |
+
"epoch": 8.0,
|
165 |
+
"step": 1224,
|
166 |
+
"total_flos": 2264172293259264.0,
|
167 |
+
"train_loss": 0.719257706910177,
|
168 |
+
"train_runtime": 2187.326,
|
169 |
+
"train_samples_per_second": 11.146,
|
170 |
+
"train_steps_per_second": 1.399
|
171 |
+
}
|
172 |
+
],
|
173 |
+
"logging_steps": 500,
|
174 |
+
"max_steps": 3060,
|
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": 2264172293259264.0,
|
200 |
+
"train_batch_size": 8,
|
201 |
+
"trial_name": null,
|
202 |
+
"trial_params": null
|
203 |
+
}
|