Initial commit from mrm8488
Browse files- config.json +58 -0
- pytorch_model.bin +3 -0
- sentencepiece.bpe.model +0 -0
- special_tokens_map.json +1 -0
- tokenizer_config.json +1 -0
- trainer_state.json +352 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/mbart-large-cc25",
|
3 |
+
"_num_labels": 3,
|
4 |
+
"activation_dropout": 0.0,
|
5 |
+
"activation_function": "gelu",
|
6 |
+
"add_bias_logits": false,
|
7 |
+
"add_final_layer_norm": true,
|
8 |
+
"architectures": [
|
9 |
+
"MBartForConditionalGeneration"
|
10 |
+
],
|
11 |
+
"attention_dropout": 0.0,
|
12 |
+
"bos_token_id": 0,
|
13 |
+
"classif_dropout": 0.0,
|
14 |
+
"classifier_dropout": 0.0,
|
15 |
+
"d_model": 1024,
|
16 |
+
"decoder_attention_heads": 16,
|
17 |
+
"decoder_ffn_dim": 4096,
|
18 |
+
"decoder_layerdrop": 0.0,
|
19 |
+
"decoder_layers": 12,
|
20 |
+
"dropout": 0.1,
|
21 |
+
"encoder_attention_heads": 16,
|
22 |
+
"encoder_ffn_dim": 4096,
|
23 |
+
"encoder_layerdrop": 0.0,
|
24 |
+
"encoder_layers": 12,
|
25 |
+
"eos_token_id": 2,
|
26 |
+
"gradient_checkpointing": false,
|
27 |
+
"id2label": {
|
28 |
+
"0": "LABEL_0",
|
29 |
+
"1": "LABEL_1",
|
30 |
+
"2": "LABEL_2"
|
31 |
+
},
|
32 |
+
"init_std": 0.02,
|
33 |
+
"is_encoder_decoder": true,
|
34 |
+
"label2id": {
|
35 |
+
"LABEL_0": 0,
|
36 |
+
"LABEL_1": 1,
|
37 |
+
"LABEL_2": 2
|
38 |
+
},
|
39 |
+
"max_length": 1024,
|
40 |
+
"max_position_embeddings": 1024,
|
41 |
+
"model_type": "mbart",
|
42 |
+
"normalize_before": true,
|
43 |
+
"normalize_embedding": true,
|
44 |
+
"num_beams": 5,
|
45 |
+
"num_hidden_layers": 12,
|
46 |
+
"output_past": true,
|
47 |
+
"pad_token_id": 1,
|
48 |
+
"scale_embedding": true,
|
49 |
+
"static_position_embeddings": false,
|
50 |
+
"task_specific_params": {
|
51 |
+
"translation_en_to_ro": {
|
52 |
+
"decoder_start_token_id": 250020
|
53 |
+
}
|
54 |
+
},
|
55 |
+
"transformers_version": "4.3.0.dev0",
|
56 |
+
"use_cache": true,
|
57 |
+
"vocab_size": 250027
|
58 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ea4d108c55eeab2cdf4fd9591484d86f2343e49f43c9c0f7e2a9a8723d59c9c6
|
3 |
+
size 2444606272
|
sentencepiece.bpe.model
ADDED
Binary file (5.07 MB). View file
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": "<mask>", "additional_special_tokens": ["ar_AR", "cs_CZ", "de_DE", "en_XX", "es_XX", "et_EE", "fi_FI", "fr_XX", "gu_IN", "hi_IN", "it_IT", "ja_XX", "kk_KZ", "ko_KR", "lt_LT", "lv_LV", "my_MM", "ne_NP", "nl_XX", "ro_RO", "ru_RU", "si_LK", "tr_TR", "vi_VN", "zh_CN"]}
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": "<mask>", "tokenizer_file": null, "model_max_length": 1024, "name_or_path": "facebook/mbart-large-cc25"}
|
trainer_state.json
ADDED
@@ -0,0 +1,352 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.4471057884231537,
|
5 |
+
"global_step": 28000,
|
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.01,
|
12 |
+
"learning_rate": 4.993346640053227e-05,
|
13 |
+
"loss": 2.0933,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.02,
|
18 |
+
"learning_rate": 4.986693280106454e-05,
|
19 |
+
"loss": 1.7924,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.02,
|
24 |
+
"learning_rate": 4.980039920159681e-05,
|
25 |
+
"loss": 1.0278,
|
26 |
+
"step": 1500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.03,
|
30 |
+
"learning_rate": 4.973386560212908e-05,
|
31 |
+
"loss": 1.0513,
|
32 |
+
"step": 2000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.04,
|
36 |
+
"learning_rate": 4.966733200266135e-05,
|
37 |
+
"loss": 0.9437,
|
38 |
+
"step": 2500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.05,
|
42 |
+
"learning_rate": 4.9600798403193615e-05,
|
43 |
+
"loss": 0.9916,
|
44 |
+
"step": 3000
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.06,
|
48 |
+
"learning_rate": 4.953426480372588e-05,
|
49 |
+
"loss": 0.926,
|
50 |
+
"step": 3500
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 0.06,
|
54 |
+
"learning_rate": 4.946773120425816e-05,
|
55 |
+
"loss": 0.9047,
|
56 |
+
"step": 4000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 0.07,
|
60 |
+
"learning_rate": 4.9401197604790424e-05,
|
61 |
+
"loss": 0.8648,
|
62 |
+
"step": 4500
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 0.08,
|
66 |
+
"learning_rate": 4.933466400532269e-05,
|
67 |
+
"loss": 0.8708,
|
68 |
+
"step": 5000
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 0.09,
|
72 |
+
"learning_rate": 4.9268130405854955e-05,
|
73 |
+
"loss": 0.856,
|
74 |
+
"step": 5500
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 0.1,
|
78 |
+
"learning_rate": 4.920159680638723e-05,
|
79 |
+
"loss": 0.8403,
|
80 |
+
"step": 6000
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 0.1,
|
84 |
+
"learning_rate": 4.91350632069195e-05,
|
85 |
+
"loss": 0.8486,
|
86 |
+
"step": 6500
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.11,
|
90 |
+
"learning_rate": 4.9068529607451764e-05,
|
91 |
+
"loss": 0.8463,
|
92 |
+
"step": 7000
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 0.12,
|
96 |
+
"learning_rate": 4.9001996007984036e-05,
|
97 |
+
"loss": 0.8168,
|
98 |
+
"step": 7500
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 0.13,
|
102 |
+
"learning_rate": 4.89354624085163e-05,
|
103 |
+
"loss": 0.8255,
|
104 |
+
"step": 8000
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 0.14,
|
108 |
+
"learning_rate": 4.886892880904857e-05,
|
109 |
+
"loss": 0.8256,
|
110 |
+
"step": 8500
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 0.14,
|
114 |
+
"learning_rate": 4.8802395209580846e-05,
|
115 |
+
"loss": 0.8397,
|
116 |
+
"step": 9000
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 0.15,
|
120 |
+
"learning_rate": 4.873586161011311e-05,
|
121 |
+
"loss": 0.8315,
|
122 |
+
"step": 9500
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 0.16,
|
126 |
+
"learning_rate": 4.8669328010645376e-05,
|
127 |
+
"loss": 0.8033,
|
128 |
+
"step": 10000
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.17,
|
132 |
+
"learning_rate": 4.860279441117765e-05,
|
133 |
+
"loss": 0.8076,
|
134 |
+
"step": 10500
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 0.18,
|
138 |
+
"learning_rate": 4.8536260811709914e-05,
|
139 |
+
"loss": 0.8126,
|
140 |
+
"step": 11000
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"epoch": 0.18,
|
144 |
+
"learning_rate": 4.8469727212242186e-05,
|
145 |
+
"loss": 0.7916,
|
146 |
+
"step": 11500
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"epoch": 0.19,
|
150 |
+
"learning_rate": 4.840319361277446e-05,
|
151 |
+
"loss": 0.8119,
|
152 |
+
"step": 12000
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 0.2,
|
156 |
+
"learning_rate": 4.833666001330672e-05,
|
157 |
+
"loss": 0.8081,
|
158 |
+
"step": 12500
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"epoch": 0.21,
|
162 |
+
"learning_rate": 4.827012641383899e-05,
|
163 |
+
"loss": 0.7944,
|
164 |
+
"step": 13000
|
165 |
+
},
|
166 |
+
{
|
167 |
+
"epoch": 0.22,
|
168 |
+
"learning_rate": 4.820359281437126e-05,
|
169 |
+
"loss": 0.7926,
|
170 |
+
"step": 13500
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.22,
|
174 |
+
"learning_rate": 4.813705921490353e-05,
|
175 |
+
"loss": 0.7993,
|
176 |
+
"step": 14000
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"epoch": 0.23,
|
180 |
+
"learning_rate": 4.80705256154358e-05,
|
181 |
+
"loss": 0.785,
|
182 |
+
"step": 14500
|
183 |
+
},
|
184 |
+
{
|
185 |
+
"epoch": 0.24,
|
186 |
+
"learning_rate": 4.800399201596807e-05,
|
187 |
+
"loss": 0.7799,
|
188 |
+
"step": 15000
|
189 |
+
},
|
190 |
+
{
|
191 |
+
"epoch": 0.25,
|
192 |
+
"learning_rate": 4.7937458416500335e-05,
|
193 |
+
"loss": 0.7773,
|
194 |
+
"step": 15500
|
195 |
+
},
|
196 |
+
{
|
197 |
+
"epoch": 0.26,
|
198 |
+
"learning_rate": 4.78709248170326e-05,
|
199 |
+
"loss": 0.7806,
|
200 |
+
"step": 16000
|
201 |
+
},
|
202 |
+
{
|
203 |
+
"epoch": 0.26,
|
204 |
+
"learning_rate": 4.780439121756487e-05,
|
205 |
+
"loss": 0.7824,
|
206 |
+
"step": 16500
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"epoch": 0.27,
|
210 |
+
"learning_rate": 4.7737857618097145e-05,
|
211 |
+
"loss": 0.7609,
|
212 |
+
"step": 17000
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 0.28,
|
216 |
+
"learning_rate": 4.767132401862941e-05,
|
217 |
+
"loss": 0.7855,
|
218 |
+
"step": 17500
|
219 |
+
},
|
220 |
+
{
|
221 |
+
"epoch": 0.29,
|
222 |
+
"learning_rate": 4.7604790419161675e-05,
|
223 |
+
"loss": 0.7805,
|
224 |
+
"step": 18000
|
225 |
+
},
|
226 |
+
{
|
227 |
+
"epoch": 0.3,
|
228 |
+
"learning_rate": 4.753825681969395e-05,
|
229 |
+
"loss": 0.7591,
|
230 |
+
"step": 18500
|
231 |
+
},
|
232 |
+
{
|
233 |
+
"epoch": 0.3,
|
234 |
+
"learning_rate": 4.747172322022622e-05,
|
235 |
+
"loss": 0.7765,
|
236 |
+
"step": 19000
|
237 |
+
},
|
238 |
+
{
|
239 |
+
"epoch": 0.31,
|
240 |
+
"learning_rate": 4.7405189620758485e-05,
|
241 |
+
"loss": 0.7643,
|
242 |
+
"step": 19500
|
243 |
+
},
|
244 |
+
{
|
245 |
+
"epoch": 0.32,
|
246 |
+
"learning_rate": 4.733865602129076e-05,
|
247 |
+
"loss": 0.767,
|
248 |
+
"step": 20000
|
249 |
+
},
|
250 |
+
{
|
251 |
+
"epoch": 0.33,
|
252 |
+
"learning_rate": 4.727212242182302e-05,
|
253 |
+
"loss": 0.7648,
|
254 |
+
"step": 20500
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 0.34,
|
258 |
+
"learning_rate": 4.720558882235529e-05,
|
259 |
+
"loss": 0.7711,
|
260 |
+
"step": 21000
|
261 |
+
},
|
262 |
+
{
|
263 |
+
"epoch": 0.34,
|
264 |
+
"learning_rate": 4.713905522288756e-05,
|
265 |
+
"loss": 0.7772,
|
266 |
+
"step": 21500
|
267 |
+
},
|
268 |
+
{
|
269 |
+
"epoch": 0.35,
|
270 |
+
"learning_rate": 4.707252162341983e-05,
|
271 |
+
"loss": 0.7644,
|
272 |
+
"step": 22000
|
273 |
+
},
|
274 |
+
{
|
275 |
+
"epoch": 0.36,
|
276 |
+
"learning_rate": 4.70059880239521e-05,
|
277 |
+
"loss": 0.767,
|
278 |
+
"step": 22500
|
279 |
+
},
|
280 |
+
{
|
281 |
+
"epoch": 0.37,
|
282 |
+
"learning_rate": 4.693945442448437e-05,
|
283 |
+
"loss": 0.7471,
|
284 |
+
"step": 23000
|
285 |
+
},
|
286 |
+
{
|
287 |
+
"epoch": 0.38,
|
288 |
+
"learning_rate": 4.6872920825016634e-05,
|
289 |
+
"loss": 0.7594,
|
290 |
+
"step": 23500
|
291 |
+
},
|
292 |
+
{
|
293 |
+
"epoch": 0.38,
|
294 |
+
"learning_rate": 4.6806387225548906e-05,
|
295 |
+
"loss": 0.7496,
|
296 |
+
"step": 24000
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 0.39,
|
300 |
+
"learning_rate": 4.673985362608118e-05,
|
301 |
+
"loss": 0.7666,
|
302 |
+
"step": 24500
|
303 |
+
},
|
304 |
+
{
|
305 |
+
"epoch": 0.4,
|
306 |
+
"learning_rate": 4.6673320026613444e-05,
|
307 |
+
"loss": 0.7476,
|
308 |
+
"step": 25000
|
309 |
+
},
|
310 |
+
{
|
311 |
+
"epoch": 0.41,
|
312 |
+
"learning_rate": 4.660678642714571e-05,
|
313 |
+
"loss": 0.7393,
|
314 |
+
"step": 25500
|
315 |
+
},
|
316 |
+
{
|
317 |
+
"epoch": 0.42,
|
318 |
+
"learning_rate": 4.6540252827677974e-05,
|
319 |
+
"loss": 0.7488,
|
320 |
+
"step": 26000
|
321 |
+
},
|
322 |
+
{
|
323 |
+
"epoch": 0.42,
|
324 |
+
"learning_rate": 4.6473719228210246e-05,
|
325 |
+
"loss": 0.7408,
|
326 |
+
"step": 26500
|
327 |
+
},
|
328 |
+
{
|
329 |
+
"epoch": 0.43,
|
330 |
+
"learning_rate": 4.640718562874252e-05,
|
331 |
+
"loss": 0.7609,
|
332 |
+
"step": 27000
|
333 |
+
},
|
334 |
+
{
|
335 |
+
"epoch": 0.44,
|
336 |
+
"learning_rate": 4.6340652029274784e-05,
|
337 |
+
"loss": 0.7461,
|
338 |
+
"step": 27500
|
339 |
+
},
|
340 |
+
{
|
341 |
+
"epoch": 0.45,
|
342 |
+
"learning_rate": 4.6274118429807056e-05,
|
343 |
+
"loss": 0.7369,
|
344 |
+
"step": 28000
|
345 |
+
}
|
346 |
+
],
|
347 |
+
"max_steps": 375750,
|
348 |
+
"num_train_epochs": 6,
|
349 |
+
"total_flos": 51286279954268160,
|
350 |
+
"trial_name": null,
|
351 |
+
"trial_params": null
|
352 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4b6c97e6a0bbc1b7f0e6d4916d99b09de994edcf12572dd5ccc84023cbf3c033
|
3 |
+
size 2159
|