Davlan commited on
Commit
ce802ba
1 Parent(s): ca58c60

add MT model

Browse files
all_results.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "predict_bleu": 2.0347,
4
+ "predict_gen_len": 56.0513,
5
+ "predict_loss": 4.543285846710205,
6
+ "predict_runtime": 772.5211,
7
+ "predict_samples": 1500,
8
+ "predict_samples_per_second": 1.942,
9
+ "predict_steps_per_second": 0.194,
10
+ "train_loss": 1.0457585005237526,
11
+ "train_runtime": 9612.1472,
12
+ "train_samples": 31104,
13
+ "train_samples_per_second": 32.359,
14
+ "train_steps_per_second": 3.237
15
+ }
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/m2m100_418M",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "relu",
5
+ "architectures": [
6
+ "M2M100ForConditionalGeneration"
7
+ ],
8
+ "attention_dropout": 0.1,
9
+ "bos_token_id": 0,
10
+ "d_model": 1024,
11
+ "decoder_attention_heads": 16,
12
+ "decoder_ffn_dim": 4096,
13
+ "decoder_layerdrop": 0.05,
14
+ "decoder_layers": 12,
15
+ "decoder_start_token_id": 2,
16
+ "dropout": 0.1,
17
+ "early_stopping": true,
18
+ "encoder_attention_heads": 16,
19
+ "encoder_ffn_dim": 4096,
20
+ "encoder_layerdrop": 0.05,
21
+ "encoder_layers": 12,
22
+ "eos_token_id": 2,
23
+ "forced_bos_token_id": 128054,
24
+ "gradient_checkpointing": false,
25
+ "init_std": 0.02,
26
+ "is_encoder_decoder": true,
27
+ "max_length": 200,
28
+ "max_position_embeddings": 1024,
29
+ "model_type": "m2m_100",
30
+ "num_beams": 5,
31
+ "num_hidden_layers": 12,
32
+ "pad_token_id": 1,
33
+ "scale_embedding": true,
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.10.3",
36
+ "use_cache": true,
37
+ "vocab_size": 128112
38
+ }
generated_predictions.txt ADDED
The diff for this file is too large to render. See raw diff
 
predict_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "predict_bleu": 2.0347,
3
+ "predict_gen_len": 56.0513,
4
+ "predict_loss": 4.543285846710205,
5
+ "predict_runtime": 772.5211,
6
+ "predict_samples": 1500,
7
+ "predict_samples_per_second": 1.942,
8
+ "predict_steps_per_second": 0.194
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e303baae2670a7a6a8c6a19c9779f1f85dee7137dee32366e7c3cba138e09fc
3
+ size 1935792071
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8f7c76ed2a5e0822be39f0a4f95a55eb19c78f4593ce609e2edbc2aea4d380a
3
+ size 2423393
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "additional_special_tokens": ["__af__", "__am__", "__ar__", "__ast__", "__az__", "__ba__", "__be__", "__bg__", "__bn__", "__br__", "__bs__", "__ca__", "__ceb__", "__cs__", "__cy__", "__da__", "__de__", "__el__", "__en__", "__es__", "__et__", "__fa__", "__ff__", "__fi__", "__fr__", "__fy__", "__ga__", "__gd__", "__gl__", "__gu__", "__ha__", "__he__", "__hi__", "__hr__", "__ht__", "__hu__", "__hy__", "__id__", "__ig__", "__ilo__", "__is__", "__it__", "__ja__", "__jv__", "__ka__", "__kk__", "__km__", "__kn__", "__ko__", "__lb__", "__lg__", "__ln__", "__lo__", "__lt__", "__lv__", "__mg__", "__mk__", "__ml__", "__mn__", "__mr__", "__ms__", "__my__", "__ne__", "__nl__", "__no__", "__ns__", "__oc__", "__or__", "__pa__", "__pl__", "__ps__", "__pt__", "__ro__", "__ru__", "__sd__", "__si__", "__sk__", "__sl__", "__so__", "__sq__", "__sr__", "__ss__", "__su__", "__sv__", "__sw__", "__ta__", "__th__", "__tl__", "__tn__", "__tr__", "__uk__", "__ur__", "__uz__", "__vi__", "__wo__", "__xh__", "__yi__", "__yo__", "__zh__", "__zu__"]}
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"src_lang": null, "tgt_lang": null, "bos_token": "<s>", "eos_token": "</s>", "sep_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>", "sp_model_kwargs": {}, "special_tokens_map_file": "m2m_100_1.2B_v2/special_tokens_map.json", "tokenizer_file": null, "name_or_path": "facebook/m2m100_418M", "model_max_length": 1024, "additional_special_tokens": ["__af__", "__am__", "__ar__", "__ast__", "__az__", "__ba__", "__be__", "__bg__", "__bn__", "__br__", "__bs__", "__ca__", "__ceb__", "__cs__", "__cy__", "__da__", "__de__", "__el__", "__en__", "__es__", "__et__", "__fa__", "__ff__", "__fi__", "__fr__", "__fy__", "__ga__", "__gd__", "__gl__", "__gu__", "__ha__", "__he__", "__hi__", "__hr__", "__ht__", "__hu__", "__hy__", "__id__", "__ig__", "__ilo__", "__is__", "__it__", "__ja__", "__jv__", "__ka__", "__kk__", "__km__", "__kn__", "__ko__", "__lb__", "__lg__", "__ln__", "__lo__", "__lt__", "__lv__", "__mg__", "__mk__", "__ml__", "__mn__", "__mr__", "__ms__", "__my__", "__ne__", "__nl__", "__no__", "__ns__", "__oc__", "__or__", "__pa__", "__pl__", "__ps__", "__pt__", "__ro__", "__ru__", "__sd__", "__si__", "__sk__", "__sl__", "__so__", "__sq__", "__sr__", "__ss__", "__su__", "__sv__", "__sw__", "__ta__", "__th__", "__tl__", "__tn__", "__tr__", "__uk__", "__ur__", "__uz__", "__vi__", "__wo__", "__xh__", "__yi__", "__yo__", "__zh__", "__zu__"], "tokenizer_class": "M2M100Tokenizer"}
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "train_loss": 1.0457585005237526,
4
+ "train_runtime": 9612.1472,
5
+ "train_samples": 31104,
6
+ "train_samples_per_second": 32.359,
7
+ "train_steps_per_second": 3.237
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,397 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 10.0,
5
+ "global_step": 31110,
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.16,
12
+ "learning_rate": 4.919639987142398e-05,
13
+ "loss": 3.736,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.32,
18
+ "learning_rate": 4.839279974284796e-05,
19
+ "loss": 2.694,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.48,
24
+ "learning_rate": 4.758919961427194e-05,
25
+ "loss": 2.3793,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 0.64,
30
+ "learning_rate": 4.678559948569592e-05,
31
+ "loss": 2.2157,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 0.8,
36
+ "learning_rate": 4.59819993571199e-05,
37
+ "loss": 2.0865,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 0.96,
42
+ "learning_rate": 4.517839922854388e-05,
43
+ "loss": 1.9888,
44
+ "step": 3000
45
+ },
46
+ {
47
+ "epoch": 1.13,
48
+ "learning_rate": 4.4374799099967856e-05,
49
+ "loss": 1.7791,
50
+ "step": 3500
51
+ },
52
+ {
53
+ "epoch": 1.29,
54
+ "learning_rate": 4.357119897139183e-05,
55
+ "loss": 1.7181,
56
+ "step": 4000
57
+ },
58
+ {
59
+ "epoch": 1.45,
60
+ "learning_rate": 4.2767598842815816e-05,
61
+ "loss": 1.6788,
62
+ "step": 4500
63
+ },
64
+ {
65
+ "epoch": 1.61,
66
+ "learning_rate": 4.196399871423979e-05,
67
+ "loss": 1.6565,
68
+ "step": 5000
69
+ },
70
+ {
71
+ "epoch": 1.77,
72
+ "learning_rate": 4.1160398585663775e-05,
73
+ "loss": 1.6128,
74
+ "step": 5500
75
+ },
76
+ {
77
+ "epoch": 1.93,
78
+ "learning_rate": 4.035679845708776e-05,
79
+ "loss": 1.5839,
80
+ "step": 6000
81
+ },
82
+ {
83
+ "epoch": 2.09,
84
+ "learning_rate": 3.9553198328511734e-05,
85
+ "loss": 1.4628,
86
+ "step": 6500
87
+ },
88
+ {
89
+ "epoch": 2.25,
90
+ "learning_rate": 3.874959819993572e-05,
91
+ "loss": 1.3677,
92
+ "step": 7000
93
+ },
94
+ {
95
+ "epoch": 2.41,
96
+ "learning_rate": 3.7945998071359693e-05,
97
+ "loss": 1.3458,
98
+ "step": 7500
99
+ },
100
+ {
101
+ "epoch": 2.57,
102
+ "learning_rate": 3.7142397942783676e-05,
103
+ "loss": 1.3436,
104
+ "step": 8000
105
+ },
106
+ {
107
+ "epoch": 2.73,
108
+ "learning_rate": 3.633879781420765e-05,
109
+ "loss": 1.3476,
110
+ "step": 8500
111
+ },
112
+ {
113
+ "epoch": 2.89,
114
+ "learning_rate": 3.5535197685631636e-05,
115
+ "loss": 1.3265,
116
+ "step": 9000
117
+ },
118
+ {
119
+ "epoch": 3.05,
120
+ "learning_rate": 3.473159755705561e-05,
121
+ "loss": 1.2552,
122
+ "step": 9500
123
+ },
124
+ {
125
+ "epoch": 3.21,
126
+ "learning_rate": 3.392799742847959e-05,
127
+ "loss": 1.1139,
128
+ "step": 10000
129
+ },
130
+ {
131
+ "epoch": 3.38,
132
+ "learning_rate": 3.312439729990357e-05,
133
+ "loss": 1.1205,
134
+ "step": 10500
135
+ },
136
+ {
137
+ "epoch": 3.54,
138
+ "learning_rate": 3.232079717132755e-05,
139
+ "loss": 1.1202,
140
+ "step": 11000
141
+ },
142
+ {
143
+ "epoch": 3.7,
144
+ "learning_rate": 3.151719704275153e-05,
145
+ "loss": 1.1305,
146
+ "step": 11500
147
+ },
148
+ {
149
+ "epoch": 3.86,
150
+ "learning_rate": 3.071359691417551e-05,
151
+ "loss": 1.1291,
152
+ "step": 12000
153
+ },
154
+ {
155
+ "epoch": 4.02,
156
+ "learning_rate": 2.9909996785599486e-05,
157
+ "loss": 1.1071,
158
+ "step": 12500
159
+ },
160
+ {
161
+ "epoch": 4.18,
162
+ "learning_rate": 2.9106396657023466e-05,
163
+ "loss": 0.9143,
164
+ "step": 13000
165
+ },
166
+ {
167
+ "epoch": 4.34,
168
+ "learning_rate": 2.8302796528447446e-05,
169
+ "loss": 0.9409,
170
+ "step": 13500
171
+ },
172
+ {
173
+ "epoch": 4.5,
174
+ "learning_rate": 2.7499196399871425e-05,
175
+ "loss": 0.9381,
176
+ "step": 14000
177
+ },
178
+ {
179
+ "epoch": 4.66,
180
+ "learning_rate": 2.6695596271295405e-05,
181
+ "loss": 0.96,
182
+ "step": 14500
183
+ },
184
+ {
185
+ "epoch": 4.82,
186
+ "learning_rate": 2.589199614271938e-05,
187
+ "loss": 0.9616,
188
+ "step": 15000
189
+ },
190
+ {
191
+ "epoch": 4.98,
192
+ "learning_rate": 2.508839601414336e-05,
193
+ "loss": 0.948,
194
+ "step": 15500
195
+ },
196
+ {
197
+ "epoch": 5.14,
198
+ "learning_rate": 2.4284795885567344e-05,
199
+ "loss": 0.7787,
200
+ "step": 16000
201
+ },
202
+ {
203
+ "epoch": 5.3,
204
+ "learning_rate": 2.3481195756991323e-05,
205
+ "loss": 0.7821,
206
+ "step": 16500
207
+ },
208
+ {
209
+ "epoch": 5.46,
210
+ "learning_rate": 2.2677595628415303e-05,
211
+ "loss": 0.7927,
212
+ "step": 17000
213
+ },
214
+ {
215
+ "epoch": 5.63,
216
+ "learning_rate": 2.1873995499839283e-05,
217
+ "loss": 0.7907,
218
+ "step": 17500
219
+ },
220
+ {
221
+ "epoch": 5.79,
222
+ "learning_rate": 2.107039537126326e-05,
223
+ "loss": 0.7904,
224
+ "step": 18000
225
+ },
226
+ {
227
+ "epoch": 5.95,
228
+ "learning_rate": 2.026679524268724e-05,
229
+ "loss": 0.804,
230
+ "step": 18500
231
+ },
232
+ {
233
+ "epoch": 6.11,
234
+ "learning_rate": 1.9463195114111218e-05,
235
+ "loss": 0.6899,
236
+ "step": 19000
237
+ },
238
+ {
239
+ "epoch": 6.27,
240
+ "learning_rate": 1.8659594985535198e-05,
241
+ "loss": 0.6512,
242
+ "step": 19500
243
+ },
244
+ {
245
+ "epoch": 6.43,
246
+ "learning_rate": 1.7855994856959177e-05,
247
+ "loss": 0.6662,
248
+ "step": 20000
249
+ },
250
+ {
251
+ "epoch": 6.59,
252
+ "learning_rate": 1.7052394728383157e-05,
253
+ "loss": 0.6688,
254
+ "step": 20500
255
+ },
256
+ {
257
+ "epoch": 6.75,
258
+ "learning_rate": 1.6248794599807137e-05,
259
+ "loss": 0.6663,
260
+ "step": 21000
261
+ },
262
+ {
263
+ "epoch": 6.91,
264
+ "learning_rate": 1.5445194471231116e-05,
265
+ "loss": 0.6584,
266
+ "step": 21500
267
+ },
268
+ {
269
+ "epoch": 7.07,
270
+ "learning_rate": 1.4641594342655096e-05,
271
+ "loss": 0.6115,
272
+ "step": 22000
273
+ },
274
+ {
275
+ "epoch": 7.23,
276
+ "learning_rate": 1.3837994214079075e-05,
277
+ "loss": 0.5433,
278
+ "step": 22500
279
+ },
280
+ {
281
+ "epoch": 7.39,
282
+ "learning_rate": 1.3034394085503055e-05,
283
+ "loss": 0.5653,
284
+ "step": 23000
285
+ },
286
+ {
287
+ "epoch": 7.55,
288
+ "learning_rate": 1.2230793956927033e-05,
289
+ "loss": 0.5509,
290
+ "step": 23500
291
+ },
292
+ {
293
+ "epoch": 7.71,
294
+ "learning_rate": 1.1427193828351013e-05,
295
+ "loss": 0.553,
296
+ "step": 24000
297
+ },
298
+ {
299
+ "epoch": 7.88,
300
+ "learning_rate": 1.0623593699774992e-05,
301
+ "loss": 0.5659,
302
+ "step": 24500
303
+ },
304
+ {
305
+ "epoch": 8.04,
306
+ "learning_rate": 9.819993571198972e-06,
307
+ "loss": 0.5369,
308
+ "step": 25000
309
+ },
310
+ {
311
+ "epoch": 8.2,
312
+ "learning_rate": 9.016393442622952e-06,
313
+ "loss": 0.4594,
314
+ "step": 25500
315
+ },
316
+ {
317
+ "epoch": 8.36,
318
+ "learning_rate": 8.212793314046931e-06,
319
+ "loss": 0.4692,
320
+ "step": 26000
321
+ },
322
+ {
323
+ "epoch": 8.52,
324
+ "learning_rate": 7.40919318547091e-06,
325
+ "loss": 0.4773,
326
+ "step": 26500
327
+ },
328
+ {
329
+ "epoch": 8.68,
330
+ "learning_rate": 6.605593056894889e-06,
331
+ "loss": 0.479,
332
+ "step": 27000
333
+ },
334
+ {
335
+ "epoch": 8.84,
336
+ "learning_rate": 5.801992928318869e-06,
337
+ "loss": 0.4784,
338
+ "step": 27500
339
+ },
340
+ {
341
+ "epoch": 9.0,
342
+ "learning_rate": 4.998392799742848e-06,
343
+ "loss": 0.4781,
344
+ "step": 28000
345
+ },
346
+ {
347
+ "epoch": 9.16,
348
+ "learning_rate": 4.194792671166828e-06,
349
+ "loss": 0.423,
350
+ "step": 28500
351
+ },
352
+ {
353
+ "epoch": 9.32,
354
+ "learning_rate": 3.391192542590807e-06,
355
+ "loss": 0.4236,
356
+ "step": 29000
357
+ },
358
+ {
359
+ "epoch": 9.48,
360
+ "learning_rate": 2.5875924140147865e-06,
361
+ "loss": 0.4197,
362
+ "step": 29500
363
+ },
364
+ {
365
+ "epoch": 9.64,
366
+ "learning_rate": 1.7839922854387657e-06,
367
+ "loss": 0.4091,
368
+ "step": 30000
369
+ },
370
+ {
371
+ "epoch": 9.8,
372
+ "learning_rate": 9.80392156862745e-07,
373
+ "loss": 0.4076,
374
+ "step": 30500
375
+ },
376
+ {
377
+ "epoch": 9.96,
378
+ "learning_rate": 1.7679202828672455e-07,
379
+ "loss": 0.4182,
380
+ "step": 31000
381
+ },
382
+ {
383
+ "epoch": 10.0,
384
+ "step": 31110,
385
+ "total_flos": 4.532670747485798e+16,
386
+ "train_loss": 1.0457585005237526,
387
+ "train_runtime": 9612.1472,
388
+ "train_samples_per_second": 32.359,
389
+ "train_steps_per_second": 3.237
390
+ }
391
+ ],
392
+ "max_steps": 31110,
393
+ "num_train_epochs": 10,
394
+ "total_flos": 4.532670747485798e+16,
395
+ "trial_name": null,
396
+ "trial_params": null
397
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7216c863d16be8c75fd4e4efe1cfd607b6a8e944b7af46f10749b875c7fa79a
3
+ size 2735
vocab.json ADDED
The diff for this file is too large to render. See raw diff