azawahry commited on
Commit
81686e6
1 Parent(s): c3a1f93

Initial model commit

Browse files
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-en-mul",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "swish",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "MarianMTModel"
9
+ ],
10
+ "attention_dropout": 0.0,
11
+ "bad_words_ids": [
12
+ [
13
+ 64109
14
+ ]
15
+ ],
16
+ "bos_token_id": 0,
17
+ "classif_dropout": 0.0,
18
+ "classifier_dropout": 0.0,
19
+ "d_model": 512,
20
+ "decoder_attention_heads": 8,
21
+ "decoder_ffn_dim": 2048,
22
+ "decoder_layerdrop": 0.0,
23
+ "decoder_layers": 6,
24
+ "decoder_start_token_id": 64109,
25
+ "decoder_vocab_size": 64110,
26
+ "dropout": 0.1,
27
+ "encoder_attention_heads": 8,
28
+ "encoder_ffn_dim": 2048,
29
+ "encoder_layerdrop": 0.0,
30
+ "encoder_layers": 6,
31
+ "eos_token_id": 0,
32
+ "extra_pos_embeddings": 64110,
33
+ "forced_eos_token_id": 0,
34
+ "id2label": {
35
+ "0": "LABEL_0",
36
+ "1": "LABEL_1",
37
+ "2": "LABEL_2"
38
+ },
39
+ "init_std": 0.02,
40
+ "is_encoder_decoder": true,
41
+ "label2id": {
42
+ "LABEL_0": 0,
43
+ "LABEL_1": 1,
44
+ "LABEL_2": 2
45
+ },
46
+ "max_length": 512,
47
+ "max_position_embeddings": 512,
48
+ "model_type": "marian",
49
+ "normalize_before": false,
50
+ "normalize_embedding": false,
51
+ "num_beams": 4,
52
+ "num_hidden_layers": 6,
53
+ "pad_token_id": 64109,
54
+ "scale_embedding": true,
55
+ "share_encoder_decoder_embeddings": true,
56
+ "static_position_embeddings": true,
57
+ "torch_dtype": "float32",
58
+ "transformers_version": "4.26.1",
59
+ "use_cache": true,
60
+ "vocab_size": 64110
61
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bad_words_ids": [
4
+ [
5
+ 64109
6
+ ]
7
+ ],
8
+ "bos_token_id": 0,
9
+ "decoder_start_token_id": 64109,
10
+ "eos_token_id": 0,
11
+ "forced_eos_token_id": 0,
12
+ "max_length": 512,
13
+ "num_beams": 4,
14
+ "pad_token_id": 64109,
15
+ "transformers_version": "4.26.1"
16
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:644bd2d51850f8ebe962807c167a9aeb0dd89f165e25262b3eb2a31c3989c33e
3
+ size 615851013
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:746409eb0b7e482f3b854c89692bc91306e3ee4a32bd65882e6fc6d73d0343d9
3
+ size 308194181
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:651a53e801c5a2790308a62468a078ec69803120b315687e518d76de24c461f2
3
+ size 14575
scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68cff80b680ddf6e7abbef98b5f336b97f9b5963e2209307f639383870e8cc71
3
+ size 557
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91c9b267cde425c39aa53b1bd1888694f560f02c2c05398ea8df564fc7429dee
3
+ size 627
source.spm ADDED
Binary file (790 kB). View file
 
special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "eos_token": "</s>",
3
+ "pad_token": "<pad>",
4
+ "unk_token": "<unk>"
5
+ }
target.spm ADDED
Binary file (707 kB). View file
 
tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eos_token": "</s>",
3
+ "model_max_length": 512,
4
+ "name_or_path": "Helsinki-NLP/opus-mt-en-mul",
5
+ "pad_token": "<pad>",
6
+ "separate_vocabs": false,
7
+ "source_lang": "eng",
8
+ "sp_model_kwargs": {},
9
+ "special_tokens_map_file": null,
10
+ "target_lang": "mul",
11
+ "tokenizer_class": "MarianTokenizer",
12
+ "unk_token": "<unk>"
13
+ }
trainer_state.json ADDED
@@ -0,0 +1,308 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 2.5794920921325684,
3
+ "best_model_checkpoint": "/kaggle/working/best/checkpoint-950",
4
+ "epoch": 2.6095654892153797,
5
+ "global_step": 1000,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.13,
12
+ "eval_BLEU_ach": 4.4065,
13
+ "eval_BLEU_lgg": 1.7478,
14
+ "eval_BLEU_lug": 19.3906,
15
+ "eval_BLEU_mean": 6.3725,
16
+ "eval_BLEU_nyn": 5.6412,
17
+ "eval_BLEU_teo": 0.6765,
18
+ "eval_loss": 3.7197346687316895,
19
+ "eval_runtime": 81.4138,
20
+ "eval_samples_per_second": 30.707,
21
+ "eval_steps_per_second": 0.614,
22
+ "step": 50
23
+ },
24
+ {
25
+ "epoch": 0.26,
26
+ "eval_BLEU_ach": 10.4487,
27
+ "eval_BLEU_lgg": 6.9863,
28
+ "eval_BLEU_lug": 22.1636,
29
+ "eval_BLEU_mean": 11.2797,
30
+ "eval_BLEU_nyn": 9.4768,
31
+ "eval_BLEU_teo": 7.3231,
32
+ "eval_loss": 3.190028429031372,
33
+ "eval_runtime": 80.5044,
34
+ "eval_samples_per_second": 31.054,
35
+ "eval_steps_per_second": 0.621,
36
+ "step": 100
37
+ },
38
+ {
39
+ "epoch": 0.39,
40
+ "eval_BLEU_ach": 12.7721,
41
+ "eval_BLEU_lgg": 10.1002,
42
+ "eval_BLEU_lug": 23.7283,
43
+ "eval_BLEU_mean": 13.7176,
44
+ "eval_BLEU_nyn": 11.3816,
45
+ "eval_BLEU_teo": 10.606,
46
+ "eval_loss": 2.9923548698425293,
47
+ "eval_runtime": 80.2426,
48
+ "eval_samples_per_second": 31.156,
49
+ "eval_steps_per_second": 0.623,
50
+ "step": 150
51
+ },
52
+ {
53
+ "epoch": 0.52,
54
+ "eval_BLEU_ach": 14.146,
55
+ "eval_BLEU_lgg": 13.022,
56
+ "eval_BLEU_lug": 24.6207,
57
+ "eval_BLEU_mean": 15.4215,
58
+ "eval_BLEU_nyn": 11.8514,
59
+ "eval_BLEU_teo": 13.4677,
60
+ "eval_loss": 2.884697437286377,
61
+ "eval_runtime": 81.1433,
62
+ "eval_samples_per_second": 30.81,
63
+ "eval_steps_per_second": 0.616,
64
+ "step": 200
65
+ },
66
+ {
67
+ "epoch": 0.65,
68
+ "eval_BLEU_ach": 14.4905,
69
+ "eval_BLEU_lgg": 13.8605,
70
+ "eval_BLEU_lug": 25.8326,
71
+ "eval_BLEU_mean": 15.9588,
72
+ "eval_BLEU_nyn": 11.7846,
73
+ "eval_BLEU_teo": 13.8258,
74
+ "eval_loss": 2.819976806640625,
75
+ "eval_runtime": 82.5563,
76
+ "eval_samples_per_second": 30.282,
77
+ "eval_steps_per_second": 0.606,
78
+ "step": 250
79
+ },
80
+ {
81
+ "epoch": 0.78,
82
+ "eval_BLEU_ach": 15.9859,
83
+ "eval_BLEU_lgg": 15.2204,
84
+ "eval_BLEU_lug": 25.4128,
85
+ "eval_BLEU_mean": 17.0546,
86
+ "eval_BLEU_nyn": 13.1463,
87
+ "eval_BLEU_teo": 15.5075,
88
+ "eval_loss": 2.7662155628204346,
89
+ "eval_runtime": 80.9944,
90
+ "eval_samples_per_second": 30.866,
91
+ "eval_steps_per_second": 0.617,
92
+ "step": 300
93
+ },
94
+ {
95
+ "epoch": 0.91,
96
+ "eval_BLEU_ach": 16.6088,
97
+ "eval_BLEU_lgg": 15.9575,
98
+ "eval_BLEU_lug": 25.2816,
99
+ "eval_BLEU_mean": 17.3754,
100
+ "eval_BLEU_nyn": 12.738,
101
+ "eval_BLEU_teo": 16.2911,
102
+ "eval_loss": 2.72863507270813,
103
+ "eval_runtime": 80.9213,
104
+ "eval_samples_per_second": 30.894,
105
+ "eval_steps_per_second": 0.618,
106
+ "step": 350
107
+ },
108
+ {
109
+ "epoch": 1.04,
110
+ "eval_BLEU_ach": 17.0217,
111
+ "eval_BLEU_lgg": 16.0095,
112
+ "eval_BLEU_lug": 25.841,
113
+ "eval_BLEU_mean": 17.8794,
114
+ "eval_BLEU_nyn": 13.4439,
115
+ "eval_BLEU_teo": 17.0808,
116
+ "eval_loss": 2.703911781311035,
117
+ "eval_runtime": 82.5765,
118
+ "eval_samples_per_second": 30.275,
119
+ "eval_steps_per_second": 0.605,
120
+ "step": 400
121
+ },
122
+ {
123
+ "epoch": 1.17,
124
+ "eval_BLEU_ach": 16.8919,
125
+ "eval_BLEU_lgg": 17.5364,
126
+ "eval_BLEU_lug": 25.8493,
127
+ "eval_BLEU_mean": 18.3704,
128
+ "eval_BLEU_nyn": 13.432,
129
+ "eval_BLEU_teo": 18.1425,
130
+ "eval_loss": 2.6822402477264404,
131
+ "eval_runtime": 82.4142,
132
+ "eval_samples_per_second": 30.335,
133
+ "eval_steps_per_second": 0.607,
134
+ "step": 450
135
+ },
136
+ {
137
+ "epoch": 1.3,
138
+ "learning_rate": 0.00043472584856396867,
139
+ "loss": 2.7655,
140
+ "step": 500
141
+ },
142
+ {
143
+ "epoch": 1.3,
144
+ "eval_BLEU_ach": 16.8644,
145
+ "eval_BLEU_lgg": 17.662,
146
+ "eval_BLEU_lug": 26.7519,
147
+ "eval_BLEU_mean": 18.8597,
148
+ "eval_BLEU_nyn": 14.0338,
149
+ "eval_BLEU_teo": 18.9866,
150
+ "eval_loss": 2.6606709957122803,
151
+ "eval_runtime": 82.2093,
152
+ "eval_samples_per_second": 30.41,
153
+ "eval_steps_per_second": 0.608,
154
+ "step": 500
155
+ },
156
+ {
157
+ "epoch": 1.44,
158
+ "eval_BLEU_ach": 17.7792,
159
+ "eval_BLEU_lgg": 17.2092,
160
+ "eval_BLEU_lug": 26.9857,
161
+ "eval_BLEU_mean": 18.9292,
162
+ "eval_BLEU_nyn": 13.7654,
163
+ "eval_BLEU_teo": 18.9065,
164
+ "eval_loss": 2.6529688835144043,
165
+ "eval_runtime": 81.4731,
166
+ "eval_samples_per_second": 30.685,
167
+ "eval_steps_per_second": 0.614,
168
+ "step": 550
169
+ },
170
+ {
171
+ "epoch": 1.57,
172
+ "eval_BLEU_ach": 17.5146,
173
+ "eval_BLEU_lgg": 17.6765,
174
+ "eval_BLEU_lug": 26.2161,
175
+ "eval_BLEU_mean": 18.7786,
176
+ "eval_BLEU_nyn": 13.9067,
177
+ "eval_BLEU_teo": 18.5792,
178
+ "eval_loss": 2.640359401702881,
179
+ "eval_runtime": 82.7573,
180
+ "eval_samples_per_second": 30.209,
181
+ "eval_steps_per_second": 0.604,
182
+ "step": 600
183
+ },
184
+ {
185
+ "epoch": 1.7,
186
+ "eval_BLEU_ach": 18.0286,
187
+ "eval_BLEU_lgg": 17.2142,
188
+ "eval_BLEU_lug": 27.1338,
189
+ "eval_BLEU_mean": 19.1169,
190
+ "eval_BLEU_nyn": 14.3399,
191
+ "eval_BLEU_teo": 18.8677,
192
+ "eval_loss": 2.6239874362945557,
193
+ "eval_runtime": 83.0768,
194
+ "eval_samples_per_second": 30.093,
195
+ "eval_steps_per_second": 0.602,
196
+ "step": 650
197
+ },
198
+ {
199
+ "epoch": 1.83,
200
+ "eval_BLEU_ach": 18.2373,
201
+ "eval_BLEU_lgg": 17.8534,
202
+ "eval_BLEU_lug": 27.2152,
203
+ "eval_BLEU_mean": 19.2291,
204
+ "eval_BLEU_nyn": 14.9249,
205
+ "eval_BLEU_teo": 17.9148,
206
+ "eval_loss": 2.6153488159179688,
207
+ "eval_runtime": 83.4372,
208
+ "eval_samples_per_second": 29.963,
209
+ "eval_steps_per_second": 0.599,
210
+ "step": 700
211
+ },
212
+ {
213
+ "epoch": 1.96,
214
+ "eval_BLEU_ach": 18.1915,
215
+ "eval_BLEU_lgg": 18.7514,
216
+ "eval_BLEU_lug": 27.1244,
217
+ "eval_BLEU_mean": 19.5482,
218
+ "eval_BLEU_nyn": 14.923,
219
+ "eval_BLEU_teo": 18.7509,
220
+ "eval_loss": 2.605884075164795,
221
+ "eval_runtime": 83.7259,
222
+ "eval_samples_per_second": 29.859,
223
+ "eval_steps_per_second": 0.597,
224
+ "step": 750
225
+ },
226
+ {
227
+ "epoch": 2.09,
228
+ "eval_BLEU_ach": 18.1001,
229
+ "eval_BLEU_lgg": 18.7958,
230
+ "eval_BLEU_lug": 27.0829,
231
+ "eval_BLEU_mean": 19.6395,
232
+ "eval_BLEU_nyn": 14.6849,
233
+ "eval_BLEU_teo": 19.534,
234
+ "eval_loss": 2.5994479656219482,
235
+ "eval_runtime": 81.9571,
236
+ "eval_samples_per_second": 30.504,
237
+ "eval_steps_per_second": 0.61,
238
+ "step": 800
239
+ },
240
+ {
241
+ "epoch": 2.22,
242
+ "eval_BLEU_ach": 18.4623,
243
+ "eval_BLEU_lgg": 18.923,
244
+ "eval_BLEU_lug": 27.8801,
245
+ "eval_BLEU_mean": 20.1857,
246
+ "eval_BLEU_nyn": 15.4508,
247
+ "eval_BLEU_teo": 20.2125,
248
+ "eval_loss": 2.6000475883483887,
249
+ "eval_runtime": 82.634,
250
+ "eval_samples_per_second": 30.254,
251
+ "eval_steps_per_second": 0.605,
252
+ "step": 850
253
+ },
254
+ {
255
+ "epoch": 2.35,
256
+ "eval_BLEU_ach": 17.984,
257
+ "eval_BLEU_lgg": 19.1317,
258
+ "eval_BLEU_lug": 27.4247,
259
+ "eval_BLEU_mean": 19.9146,
260
+ "eval_BLEU_nyn": 15.4422,
261
+ "eval_BLEU_teo": 19.5903,
262
+ "eval_loss": 2.595747470855713,
263
+ "eval_runtime": 82.2257,
264
+ "eval_samples_per_second": 30.404,
265
+ "eval_steps_per_second": 0.608,
266
+ "step": 900
267
+ },
268
+ {
269
+ "epoch": 2.48,
270
+ "eval_BLEU_ach": 18.2931,
271
+ "eval_BLEU_lgg": 19.5551,
272
+ "eval_BLEU_lug": 26.6605,
273
+ "eval_BLEU_mean": 19.8366,
274
+ "eval_BLEU_nyn": 14.4395,
275
+ "eval_BLEU_teo": 20.2348,
276
+ "eval_loss": 2.5794920921325684,
277
+ "eval_runtime": 83.6122,
278
+ "eval_samples_per_second": 29.9,
279
+ "eval_steps_per_second": 0.598,
280
+ "step": 950
281
+ },
282
+ {
283
+ "epoch": 2.61,
284
+ "learning_rate": 0.0003694516971279374,
285
+ "loss": 2.2915,
286
+ "step": 1000
287
+ },
288
+ {
289
+ "epoch": 2.61,
290
+ "eval_BLEU_ach": 19.06,
291
+ "eval_BLEU_lgg": 19.0945,
292
+ "eval_BLEU_lug": 27.6451,
293
+ "eval_BLEU_mean": 20.1345,
294
+ "eval_BLEU_nyn": 15.1057,
295
+ "eval_BLEU_teo": 19.7672,
296
+ "eval_loss": 2.580702781677246,
297
+ "eval_runtime": 84.0777,
298
+ "eval_samples_per_second": 29.734,
299
+ "eval_steps_per_second": 0.595,
300
+ "step": 1000
301
+ }
302
+ ],
303
+ "max_steps": 3830,
304
+ "num_train_epochs": 10,
305
+ "total_flos": 7.668611525246976e+16,
306
+ "trial_name": null,
307
+ "trial_params": null
308
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:479ed7995aeb584398016ef5f3b9cc182e0a4fc4b175c860fada41bec51fed6c
3
+ size 3579
vocab.json ADDED
The diff for this file is too large to render. See raw diff