add MT model
Browse files- all_results.json +22 -0
- config.json +38 -0
- eval_results.json +10 -0
- generated_predictions.txt +0 -0
- predict_results.json +9 -0
- pytorch_model.bin +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +1 -0
- tokenizer_config.json +1 -0
- train_results.json +8 -0
- trainer_state.json +151 -0
- training_args.bin +3 -0
- vocab.json +0 -0
all_results.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_bleu": 20.9075,
|
4 |
+
"eval_gen_len": 28.154,
|
5 |
+
"eval_loss": 1.9943630695343018,
|
6 |
+
"eval_runtime": 317.7546,
|
7 |
+
"eval_samples": 1500,
|
8 |
+
"eval_samples_per_second": 4.721,
|
9 |
+
"eval_steps_per_second": 0.472,
|
10 |
+
"predict_bleu": 20.4224,
|
11 |
+
"predict_gen_len": 27.8047,
|
12 |
+
"predict_loss": 1.9980764389038086,
|
13 |
+
"predict_runtime": 305.2765,
|
14 |
+
"predict_samples": 1500,
|
15 |
+
"predict_samples_per_second": 4.914,
|
16 |
+
"predict_steps_per_second": 0.491,
|
17 |
+
"train_loss": 1.5991938028774728,
|
18 |
+
"train_runtime": 3183.7746,
|
19 |
+
"train_samples": 35179,
|
20 |
+
"train_samples_per_second": 33.148,
|
21 |
+
"train_steps_per_second": 3.315
|
22 |
+
}
|
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": 128022,
|
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 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_bleu": 20.9075,
|
4 |
+
"eval_gen_len": 28.154,
|
5 |
+
"eval_loss": 1.9943630695343018,
|
6 |
+
"eval_runtime": 317.7546,
|
7 |
+
"eval_samples": 1500,
|
8 |
+
"eval_samples_per_second": 4.721,
|
9 |
+
"eval_steps_per_second": 0.472
|
10 |
+
}
|
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": 20.4224,
|
3 |
+
"predict_gen_len": 27.8047,
|
4 |
+
"predict_loss": 1.9980764389038086,
|
5 |
+
"predict_runtime": 305.2765,
|
6 |
+
"predict_samples": 1500,
|
7 |
+
"predict_samples_per_second": 4.914,
|
8 |
+
"predict_steps_per_second": 0.491
|
9 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b63da15df675bb47b76a3b5da47ac0f8e0dceb6ed3dcd4acdb40d560dd792b8
|
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": 3.0,
|
3 |
+
"train_loss": 1.5991938028774728,
|
4 |
+
"train_runtime": 3183.7746,
|
5 |
+
"train_samples": 35179,
|
6 |
+
"train_samples_per_second": 33.148,
|
7 |
+
"train_steps_per_second": 3.315
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.0,
|
5 |
+
"global_step": 10554,
|
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.14,
|
12 |
+
"learning_rate": 4.763122986545386e-05,
|
13 |
+
"loss": 2.8548,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.28,
|
18 |
+
"learning_rate": 4.5262459730907715e-05,
|
19 |
+
"loss": 2.3007,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.43,
|
24 |
+
"learning_rate": 4.289368959636157e-05,
|
25 |
+
"loss": 2.1065,
|
26 |
+
"step": 1500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.57,
|
30 |
+
"learning_rate": 4.052491946181542e-05,
|
31 |
+
"loss": 2.003,
|
32 |
+
"step": 2000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.71,
|
36 |
+
"learning_rate": 3.8156149327269285e-05,
|
37 |
+
"loss": 1.9011,
|
38 |
+
"step": 2500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.85,
|
42 |
+
"learning_rate": 3.578737919272314e-05,
|
43 |
+
"loss": 1.8626,
|
44 |
+
"step": 3000
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.99,
|
48 |
+
"learning_rate": 3.3418609058177e-05,
|
49 |
+
"loss": 1.7947,
|
50 |
+
"step": 3500
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 1.14,
|
54 |
+
"learning_rate": 3.1049838923630854e-05,
|
55 |
+
"loss": 1.5552,
|
56 |
+
"step": 4000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 1.28,
|
60 |
+
"learning_rate": 2.8681068789084707e-05,
|
61 |
+
"loss": 1.5226,
|
62 |
+
"step": 4500
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 1.42,
|
66 |
+
"learning_rate": 2.6312298654538564e-05,
|
67 |
+
"loss": 1.4956,
|
68 |
+
"step": 5000
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 1.56,
|
72 |
+
"learning_rate": 2.394352851999242e-05,
|
73 |
+
"loss": 1.4945,
|
74 |
+
"step": 5500
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 1.71,
|
78 |
+
"learning_rate": 2.1574758385446277e-05,
|
79 |
+
"loss": 1.483,
|
80 |
+
"step": 6000
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 1.85,
|
84 |
+
"learning_rate": 1.9205988250900133e-05,
|
85 |
+
"loss": 1.455,
|
86 |
+
"step": 6500
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 1.99,
|
90 |
+
"learning_rate": 1.683721811635399e-05,
|
91 |
+
"loss": 1.4144,
|
92 |
+
"step": 7000
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 2.13,
|
96 |
+
"learning_rate": 1.4468447981807845e-05,
|
97 |
+
"loss": 1.2245,
|
98 |
+
"step": 7500
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 2.27,
|
102 |
+
"learning_rate": 1.2099677847261701e-05,
|
103 |
+
"loss": 1.2118,
|
104 |
+
"step": 8000
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 2.42,
|
108 |
+
"learning_rate": 9.73090771271556e-06,
|
109 |
+
"loss": 1.2089,
|
110 |
+
"step": 8500
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 2.56,
|
114 |
+
"learning_rate": 7.362137578169415e-06,
|
115 |
+
"loss": 1.1903,
|
116 |
+
"step": 9000
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 2.7,
|
120 |
+
"learning_rate": 4.993367443623271e-06,
|
121 |
+
"loss": 1.1946,
|
122 |
+
"step": 9500
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 2.84,
|
126 |
+
"learning_rate": 2.624597309077127e-06,
|
127 |
+
"loss": 1.1845,
|
128 |
+
"step": 10000
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 2.98,
|
132 |
+
"learning_rate": 2.558271745309835e-07,
|
133 |
+
"loss": 1.1696,
|
134 |
+
"step": 10500
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 3.0,
|
138 |
+
"step": 10554,
|
139 |
+
"total_flos": 1.8520983108550656e+16,
|
140 |
+
"train_loss": 1.5991938028774728,
|
141 |
+
"train_runtime": 3183.7746,
|
142 |
+
"train_samples_per_second": 33.148,
|
143 |
+
"train_steps_per_second": 3.315
|
144 |
+
}
|
145 |
+
],
|
146 |
+
"max_steps": 10554,
|
147 |
+
"num_train_epochs": 3,
|
148 |
+
"total_flos": 1.8520983108550656e+16,
|
149 |
+
"trial_name": null,
|
150 |
+
"trial_params": null
|
151 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c9d47f201ddbbd388ed7dc93361b9afe5be7a8415f88a82441bfed682d24c421
|
3 |
+
size 2799
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|