nlparabic commited on
Commit
16bddb4
1 Parent(s): 467e4db

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.4050
22
- - Bleu: 0.5608
23
- - Rouge1: 0.7770
24
- - Rouge2: 0.5994
25
- - Rougel: 0.7763
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.3660
22
+ - Bleu: 0.4889
23
+ - Rouge1: 0.7442
24
+ - Rouge2: 0.5302
25
+ - Rougel: 0.7434
26
 
27
  ## Model description
28
 
all_results.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 8.0,
3
+ "eval_bleu": 0.48887049804156,
4
+ "eval_loss": 0.3660341203212738,
5
+ "eval_rouge1": 0.7441728211754235,
6
+ "eval_rouge2": 0.5301574363836805,
7
+ "eval_rougeL": 0.743357806649209,
8
+ "eval_runtime": 74.2126,
9
+ "eval_samples": 10118,
10
+ "eval_samples_per_second": 136.338,
11
+ "eval_steps_per_second": 17.046,
12
+ "perplexity": 1.442004443470027,
13
+ "total_flos": 7.520432484148838e+16,
14
+ "train_loss": 0.23126965857739035,
15
+ "train_runtime": 11366.9663,
16
+ "train_samples": 40489,
17
+ "train_samples_per_second": 71.24,
18
+ "train_steps_per_second": 8.907
19
+ }
egy_training_log.txt CHANGED
@@ -156,3 +156,5 @@ INFO:root:Epoch 7.0: Train Loss = 0.1253, Eval Loss = 0.3939472734928131
156
  INFO:absl:Using default tokenizer.
157
  INFO:root:Epoch 8.0: Train Loss = 0.1166, Eval Loss = 0.3990260660648346
158
  INFO:absl:Using default tokenizer.
 
 
 
156
  INFO:absl:Using default tokenizer.
157
  INFO:root:Epoch 8.0: Train Loss = 0.1166, Eval Loss = 0.3990260660648346
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.48887049804156,
4
+ "eval_loss": 0.3660341203212738,
5
+ "eval_rouge1": 0.7441728211754235,
6
+ "eval_rouge2": 0.5301574363836805,
7
+ "eval_rougeL": 0.743357806649209,
8
+ "eval_runtime": 74.2126,
9
+ "eval_samples": 10118,
10
+ "eval_samples_per_second": 136.338,
11
+ "eval_steps_per_second": 17.046,
12
+ "perplexity": 1.442004443470027
13
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 8.0,
3
+ "total_flos": 7.520432484148838e+16,
4
+ "train_loss": 0.23126965857739035,
5
+ "train_runtime": 11366.9663,
6
+ "train_samples": 40489,
7
+ "train_samples_per_second": 71.24,
8
+ "train_steps_per_second": 8.907
9
+ }
train_vs_val_loss.png ADDED
trainer_state.json ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.3660341203212738,
3
+ "best_model_checkpoint": "/home/iais_marenpielka/Bouthaina/res_nw_lev_03/checkpoint-15186",
4
+ "epoch": 8.0,
5
+ "eval_steps": 500,
6
+ "global_step": 40496,
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.426126956939697,
14
+ "learning_rate": 4.773575540996625e-05,
15
+ "loss": 0.6345,
16
+ "step": 5062
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_bleu": 0.4054405178422978,
21
+ "eval_loss": 0.424884170293808,
22
+ "eval_rouge1": 0.6718054932020717,
23
+ "eval_rouge2": 0.4168304983667167,
24
+ "eval_rougeL": 0.6705720028130773,
25
+ "eval_runtime": 99.0407,
26
+ "eval_samples_per_second": 102.16,
27
+ "eval_steps_per_second": 12.773,
28
+ "step": 5062
29
+ },
30
+ {
31
+ "epoch": 2.0,
32
+ "grad_norm": 3.7220001220703125,
33
+ "learning_rate": 4.522334723049435e-05,
34
+ "loss": 0.3258,
35
+ "step": 10124
36
+ },
37
+ {
38
+ "epoch": 2.0,
39
+ "eval_bleu": 0.4443048022041477,
40
+ "eval_loss": 0.38237395882606506,
41
+ "eval_rouge1": 0.7134969978151362,
42
+ "eval_rouge2": 0.4799759371169404,
43
+ "eval_rougeL": 0.7123642730734705,
44
+ "eval_runtime": 184.2876,
45
+ "eval_samples_per_second": 54.903,
46
+ "eval_steps_per_second": 6.864,
47
+ "step": 10124
48
+ },
49
+ {
50
+ "epoch": 3.0,
51
+ "grad_norm": 4.069755554199219,
52
+ "learning_rate": 4.271093905102244e-05,
53
+ "loss": 0.2266,
54
+ "step": 15186
55
+ },
56
+ {
57
+ "epoch": 3.0,
58
+ "eval_bleu": 0.48887049804156,
59
+ "eval_loss": 0.3660341203212738,
60
+ "eval_rouge1": 0.7441728211754235,
61
+ "eval_rouge2": 0.5301574363836805,
62
+ "eval_rougeL": 0.743357806649209,
63
+ "eval_runtime": 197.651,
64
+ "eval_samples_per_second": 51.191,
65
+ "eval_steps_per_second": 6.4,
66
+ "step": 15186
67
+ },
68
+ {
69
+ "epoch": 4.0,
70
+ "grad_norm": 2.417670488357544,
71
+ "learning_rate": 4.0198530871550526e-05,
72
+ "loss": 0.1702,
73
+ "step": 20248
74
+ },
75
+ {
76
+ "epoch": 4.0,
77
+ "eval_bleu": 0.5217066405916664,
78
+ "eval_loss": 0.37126386165618896,
79
+ "eval_rouge1": 0.7592034964866012,
80
+ "eval_rouge2": 0.5617725815136836,
81
+ "eval_rougeL": 0.7583714246633779,
82
+ "eval_runtime": 197.8347,
83
+ "eval_samples_per_second": 51.144,
84
+ "eval_steps_per_second": 6.394,
85
+ "step": 20248
86
+ },
87
+ {
88
+ "epoch": 5.0,
89
+ "grad_norm": 2.2886266708374023,
90
+ "learning_rate": 3.7686122692078615e-05,
91
+ "loss": 0.1405,
92
+ "step": 25310
93
+ },
94
+ {
95
+ "epoch": 5.0,
96
+ "eval_bleu": 0.5410963843168277,
97
+ "eval_loss": 0.38092052936553955,
98
+ "eval_rouge1": 0.7670677626194377,
99
+ "eval_rouge2": 0.5785130119272781,
100
+ "eval_rougeL": 0.766336455280991,
101
+ "eval_runtime": 74.4752,
102
+ "eval_samples_per_second": 135.857,
103
+ "eval_steps_per_second": 16.986,
104
+ "step": 25310
105
+ },
106
+ {
107
+ "epoch": 6.0,
108
+ "grad_norm": 1.4138972759246826,
109
+ "learning_rate": 3.517371451260672e-05,
110
+ "loss": 0.1253,
111
+ "step": 30372
112
+ },
113
+ {
114
+ "epoch": 6.0,
115
+ "eval_bleu": 0.5538973347056134,
116
+ "eval_loss": 0.3939472734928131,
117
+ "eval_rouge1": 0.7718106498807895,
118
+ "eval_rouge2": 0.5899343275061358,
119
+ "eval_rougeL": 0.7710407354471525,
120
+ "eval_runtime": 197.8643,
121
+ "eval_samples_per_second": 51.136,
122
+ "eval_steps_per_second": 6.393,
123
+ "step": 30372
124
+ },
125
+ {
126
+ "epoch": 7.0,
127
+ "grad_norm": 1.0359286069869995,
128
+ "learning_rate": 3.266130633313481e-05,
129
+ "loss": 0.1166,
130
+ "step": 35434
131
+ },
132
+ {
133
+ "epoch": 7.0,
134
+ "eval_bleu": 0.5535836812783581,
135
+ "eval_loss": 0.3990260660648346,
136
+ "eval_rouge1": 0.7744583802216872,
137
+ "eval_rouge2": 0.5941788640581145,
138
+ "eval_rougeL": 0.7736991376335538,
139
+ "eval_runtime": 197.6914,
140
+ "eval_samples_per_second": 51.181,
141
+ "eval_steps_per_second": 6.399,
142
+ "step": 35434
143
+ },
144
+ {
145
+ "epoch": 8.0,
146
+ "grad_norm": 3.439483165740967,
147
+ "learning_rate": 3.0148898153662896e-05,
148
+ "loss": 0.1107,
149
+ "step": 40496
150
+ },
151
+ {
152
+ "epoch": 8.0,
153
+ "eval_bleu": 0.5607932303098884,
154
+ "eval_loss": 0.4049707055091858,
155
+ "eval_rouge1": 0.7769922891885475,
156
+ "eval_rouge2": 0.5994002303095487,
157
+ "eval_rougeL": 0.7762651005907448,
158
+ "eval_runtime": 197.4325,
159
+ "eval_samples_per_second": 51.248,
160
+ "eval_steps_per_second": 6.407,
161
+ "step": 40496
162
+ },
163
+ {
164
+ "epoch": 8.0,
165
+ "step": 40496,
166
+ "total_flos": 7.520432484148838e+16,
167
+ "train_loss": 0.23126965857739035,
168
+ "train_runtime": 11366.9663,
169
+ "train_samples_per_second": 71.24,
170
+ "train_steps_per_second": 8.907
171
+ }
172
+ ],
173
+ "logging_steps": 500,
174
+ "max_steps": 101240,
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": 7.520432484148838e+16,
200
+ "train_batch_size": 8,
201
+ "trial_name": null,
202
+ "trial_params": null
203
+ }