nlparabic commited on
Commit
9c6a3db
1 Parent(s): 7559d9f

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.6491
22
- - Bleu: 0.4280
23
- - Rouge1: 0.6731
24
- - Rouge2: 0.4383
25
- - Rougel: 0.6715
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.5335
22
+ - Bleu: 0.4225
23
+ - Rouge1: 0.6608
24
+ - Rouge2: 0.4163
25
+ - Rougel: 0.6590
26
 
27
  ## Model description
28
 
all_results.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 7.0,
3
+ "eval_bleu": 0.42251895839624176,
4
+ "eval_loss": 0.5335076451301575,
5
+ "eval_rouge1": 0.6607626579317042,
6
+ "eval_rouge2": 0.4163462041346451,
7
+ "eval_rougeL": 0.6589800378443118,
8
+ "eval_runtime": 57.7071,
9
+ "eval_samples": 5380,
10
+ "eval_samples_per_second": 93.229,
11
+ "eval_steps_per_second": 11.662,
12
+ "perplexity": 1.704902023958078,
13
+ "total_flos": 3.4826972570320896e+16,
14
+ "train_loss": 0.31742249039632825,
15
+ "train_runtime": 6981.9193,
16
+ "train_samples": 21429,
17
+ "train_samples_per_second": 61.384,
18
+ "train_steps_per_second": 7.674
19
+ }
egy_training_log.txt CHANGED
@@ -296,3 +296,5 @@ INFO:root:Epoch 6.0: Train Loss = 0.1557, Eval Loss = 0.6072628498077393
296
  INFO:absl:Using default tokenizer.
297
  INFO:root:Epoch 7.0: Train Loss = 0.1308, Eval Loss = 0.6262651681900024
298
  INFO:absl:Using default tokenizer.
 
 
 
296
  INFO:absl:Using default tokenizer.
297
  INFO:root:Epoch 7.0: Train Loss = 0.1308, Eval Loss = 0.6262651681900024
298
  INFO:absl:Using default tokenizer.
299
+ INFO:__main__:*** Evaluate ***
300
+ INFO:absl:Using default tokenizer.
eval_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 7.0,
3
+ "eval_bleu": 0.42251895839624176,
4
+ "eval_loss": 0.5335076451301575,
5
+ "eval_rouge1": 0.6607626579317042,
6
+ "eval_rouge2": 0.4163462041346451,
7
+ "eval_rougeL": 0.6589800378443118,
8
+ "eval_runtime": 57.7071,
9
+ "eval_samples": 5380,
10
+ "eval_samples_per_second": 93.229,
11
+ "eval_steps_per_second": 11.662,
12
+ "perplexity": 1.704902023958078
13
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 7.0,
3
+ "total_flos": 3.4826972570320896e+16,
4
+ "train_loss": 0.31742249039632825,
5
+ "train_runtime": 6981.9193,
6
+ "train_samples": 21429,
7
+ "train_samples_per_second": 61.384,
8
+ "train_steps_per_second": 7.674
9
+ }
train_vs_val_loss.png ADDED
trainer_state.json ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.5335076451301575,
3
+ "best_model_checkpoint": "/home/iais_marenpielka/Bouthaina/res_nw_dj_03/checkpoint-5358",
4
+ "epoch": 7.0,
5
+ "eval_steps": 500,
6
+ "global_step": 18753,
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.8902978897094727,
14
+ "learning_rate": 4.7947437829691034e-05,
15
+ "loss": 0.8829,
16
+ "step": 2679
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_bleu": 0.40331287333676363,
21
+ "eval_loss": 0.5615599751472473,
22
+ "eval_rouge1": 0.6238739270954698,
23
+ "eval_rouge2": 0.3695879500967286,
24
+ "eval_rougeL": 0.6222094852350151,
25
+ "eval_runtime": 224.9918,
26
+ "eval_samples_per_second": 23.912,
27
+ "eval_steps_per_second": 2.991,
28
+ "step": 2679
29
+ },
30
+ {
31
+ "epoch": 2.0,
32
+ "grad_norm": 2.3653810024261475,
33
+ "learning_rate": 4.542388847023361e-05,
34
+ "loss": 0.4337,
35
+ "step": 5358
36
+ },
37
+ {
38
+ "epoch": 2.0,
39
+ "eval_bleu": 0.42251895839624176,
40
+ "eval_loss": 0.5335076451301575,
41
+ "eval_rouge1": 0.6607626579317042,
42
+ "eval_rouge2": 0.4163462041346451,
43
+ "eval_rougeL": 0.6589800378443118,
44
+ "eval_runtime": 163.0544,
45
+ "eval_samples_per_second": 32.995,
46
+ "eval_steps_per_second": 4.127,
47
+ "step": 5358
48
+ },
49
+ {
50
+ "epoch": 3.0,
51
+ "grad_norm": 1.8291383981704712,
52
+ "learning_rate": 4.290033911077619e-05,
53
+ "loss": 0.2951,
54
+ "step": 8037
55
+ },
56
+ {
57
+ "epoch": 3.0,
58
+ "eval_bleu": 0.4308510587099172,
59
+ "eval_loss": 0.5472562909126282,
60
+ "eval_rouge1": 0.6702713862651033,
61
+ "eval_rouge2": 0.4320237158236569,
62
+ "eval_rougeL": 0.6688182372945262,
63
+ "eval_runtime": 162.9515,
64
+ "eval_samples_per_second": 33.016,
65
+ "eval_steps_per_second": 4.13,
66
+ "step": 8037
67
+ },
68
+ {
69
+ "epoch": 4.0,
70
+ "grad_norm": 2.728090524673462,
71
+ "learning_rate": 4.0376789751318766e-05,
72
+ "loss": 0.2054,
73
+ "step": 10716
74
+ },
75
+ {
76
+ "epoch": 4.0,
77
+ "eval_bleu": 0.4276970379095206,
78
+ "eval_loss": 0.5758230686187744,
79
+ "eval_rouge1": 0.6763953460411876,
80
+ "eval_rouge2": 0.43998373859116113,
81
+ "eval_rougeL": 0.6748324672744146,
82
+ "eval_runtime": 40.4598,
83
+ "eval_samples_per_second": 132.971,
84
+ "eval_steps_per_second": 16.634,
85
+ "step": 10716
86
+ },
87
+ {
88
+ "epoch": 5.0,
89
+ "grad_norm": 1.6252306699752808,
90
+ "learning_rate": 3.785324039186134e-05,
91
+ "loss": 0.1557,
92
+ "step": 13395
93
+ },
94
+ {
95
+ "epoch": 5.0,
96
+ "eval_bleu": 0.43093263057964937,
97
+ "eval_loss": 0.6072628498077393,
98
+ "eval_rouge1": 0.6728345471617314,
99
+ "eval_rouge2": 0.4398083411751642,
100
+ "eval_rougeL": 0.6716233259289648,
101
+ "eval_runtime": 76.1433,
102
+ "eval_samples_per_second": 70.656,
103
+ "eval_steps_per_second": 8.839,
104
+ "step": 13395
105
+ },
106
+ {
107
+ "epoch": 6.0,
108
+ "grad_norm": 1.810899019241333,
109
+ "learning_rate": 3.532969103240392e-05,
110
+ "loss": 0.1308,
111
+ "step": 16074
112
+ },
113
+ {
114
+ "epoch": 6.0,
115
+ "eval_bleu": 0.4314626379100602,
116
+ "eval_loss": 0.6262651681900024,
117
+ "eval_rouge1": 0.6767217787616953,
118
+ "eval_rouge2": 0.44252126541905024,
119
+ "eval_rougeL": 0.675198694040748,
120
+ "eval_runtime": 42.2219,
121
+ "eval_samples_per_second": 127.422,
122
+ "eval_steps_per_second": 15.94,
123
+ "step": 16074
124
+ },
125
+ {
126
+ "epoch": 7.0,
127
+ "grad_norm": 1.121442198753357,
128
+ "learning_rate": 3.28061416729465e-05,
129
+ "loss": 0.1183,
130
+ "step": 18753
131
+ },
132
+ {
133
+ "epoch": 7.0,
134
+ "eval_bleu": 0.42802429549225074,
135
+ "eval_loss": 0.6490646600723267,
136
+ "eval_rouge1": 0.6730562948760737,
137
+ "eval_rouge2": 0.43834978582096723,
138
+ "eval_rougeL": 0.6715407272843534,
139
+ "eval_runtime": 174.5563,
140
+ "eval_samples_per_second": 30.821,
141
+ "eval_steps_per_second": 3.855,
142
+ "step": 18753
143
+ },
144
+ {
145
+ "epoch": 7.0,
146
+ "step": 18753,
147
+ "total_flos": 3.4826972570320896e+16,
148
+ "train_loss": 0.31742249039632825,
149
+ "train_runtime": 6981.9193,
150
+ "train_samples_per_second": 61.384,
151
+ "train_steps_per_second": 7.674
152
+ }
153
+ ],
154
+ "logging_steps": 500,
155
+ "max_steps": 53580,
156
+ "num_input_tokens_seen": 0,
157
+ "num_train_epochs": 20,
158
+ "save_steps": 500,
159
+ "stateful_callbacks": {
160
+ "EarlyStoppingCallback": {
161
+ "args": {
162
+ "early_stopping_patience": 5,
163
+ "early_stopping_threshold": 0.0
164
+ },
165
+ "attributes": {
166
+ "early_stopping_patience_counter": 0
167
+ }
168
+ },
169
+ "TrainerControl": {
170
+ "args": {
171
+ "should_epoch_stop": false,
172
+ "should_evaluate": false,
173
+ "should_log": false,
174
+ "should_save": true,
175
+ "should_training_stop": true
176
+ },
177
+ "attributes": {}
178
+ }
179
+ },
180
+ "total_flos": 3.4826972570320896e+16,
181
+ "train_batch_size": 8,
182
+ "trial_name": null,
183
+ "trial_params": null
184
+ }