VanessaSchenkel
commited on
Commit
•
a39fde7
1
Parent(s):
43f21b1
Training in progress epoch 0
Browse files- README.md +6 -6
- config.json +49 -23
- logs/train/events.out.tfevents.1660157834.b97199405a5d.141.0.v2 +3 -0
- logs/validation/events.out.tfevents.1660175237.b97199405a5d.141.1.v2 +3 -0
- special_tokens_map.json +56 -100
- tf_model.h5 +2 -2
- tokenizer.json +2 -2
- tokenizer_config.json +69 -104
README.md
CHANGED
@@ -11,12 +11,12 @@ probably proofread and complete it, then remove this comment. -->
|
|
11 |
|
12 |
# VanessaSchenkel/padrao-mbart-finetuned-news_commentary
|
13 |
|
14 |
-
This model is a fine-tuned version of [
|
15 |
It achieves the following results on the evaluation set:
|
16 |
-
- Train Loss: 1.
|
17 |
-
- Validation Loss: 1.
|
18 |
-
- Train Bleu:
|
19 |
-
- Train Gen Len:
|
20 |
- Epoch: 0
|
21 |
|
22 |
## Model description
|
@@ -43,7 +43,7 @@ The following hyperparameters were used during training:
|
|
43 |
|
44 |
| Train Loss | Validation Loss | Train Bleu | Train Gen Len | Epoch |
|
45 |
|:----------:|:---------------:|:----------:|:-------------:|:-----:|
|
46 |
-
| 1.
|
47 |
|
48 |
|
49 |
### Framework versions
|
|
|
11 |
|
12 |
# VanessaSchenkel/padrao-mbart-finetuned-news_commentary
|
13 |
|
14 |
+
This model is a fine-tuned version of [Narrativa/mbart-large-50-finetuned-opus-en-pt-translation](https://huggingface.co/Narrativa/mbart-large-50-finetuned-opus-en-pt-translation) on an unknown dataset.
|
15 |
It achieves the following results on the evaluation set:
|
16 |
+
- Train Loss: 1.3464
|
17 |
+
- Validation Loss: 1.0152
|
18 |
+
- Train Bleu: 41.9877
|
19 |
+
- Train Gen Len: 39.2418
|
20 |
- Epoch: 0
|
21 |
|
22 |
## Model description
|
|
|
43 |
|
44 |
| Train Loss | Validation Loss | Train Bleu | Train Gen Len | Epoch |
|
45 |
|:----------:|:---------------:|:----------:|:-------------:|:-----:|
|
46 |
+
| 1.3464 | 1.0152 | 41.9877 | 39.2418 | 0 |
|
47 |
|
48 |
|
49 |
### Framework versions
|
config.json
CHANGED
@@ -1,31 +1,57 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
|
|
|
|
|
|
|
|
|
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
"is_encoder_decoder": true,
|
16 |
-
"
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
"
|
22 |
-
"
|
|
|
|
|
|
|
|
|
|
|
23 |
"output_past": true,
|
24 |
-
"pad_token_id":
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
"transformers_version": "4.21.1",
|
29 |
"use_cache": true,
|
30 |
-
"vocab_size":
|
31 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "Narrativa/mbart-large-50-finetuned-opus-en-pt-translation",
|
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 |
+
"decoder_start_token_id": 2,
|
21 |
+
"dropout": 0.1,
|
22 |
+
"early_stopping": true,
|
23 |
+
"encoder_attention_heads": 16,
|
24 |
+
"encoder_ffn_dim": 4096,
|
25 |
+
"encoder_layerdrop": 0.0,
|
26 |
+
"encoder_layers": 12,
|
27 |
+
"eos_token_id": 2,
|
28 |
+
"forced_eos_token_id": 2,
|
29 |
+
"gradient_checkpointing": false,
|
30 |
+
"id2label": {
|
31 |
+
"0": "LABEL_0",
|
32 |
+
"1": "LABEL_1",
|
33 |
+
"2": "LABEL_2"
|
34 |
+
},
|
35 |
+
"init_std": 0.02,
|
36 |
"is_encoder_decoder": true,
|
37 |
+
"label2id": {
|
38 |
+
"LABEL_0": 0,
|
39 |
+
"LABEL_1": 1,
|
40 |
+
"LABEL_2": 2
|
41 |
+
},
|
42 |
+
"max_length": 200,
|
43 |
+
"max_position_embeddings": 1024,
|
44 |
+
"model_type": "mbart",
|
45 |
+
"normalize_before": true,
|
46 |
+
"normalize_embedding": true,
|
47 |
+
"num_beams": 5,
|
48 |
+
"num_hidden_layers": 12,
|
49 |
"output_past": true,
|
50 |
+
"pad_token_id": 1,
|
51 |
+
"scale_embedding": true,
|
52 |
+
"static_position_embeddings": false,
|
53 |
+
"tokenizer_class": "MBart50Tokenizer",
|
54 |
"transformers_version": "4.21.1",
|
55 |
"use_cache": true,
|
56 |
+
"vocab_size": 250054
|
57 |
}
|
logs/train/events.out.tfevents.1660157834.b97199405a5d.141.0.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:923f3e0261732d3947b0250f1498bbf9aa7e0b914511f5fafead22fbbe1d9e8e
|
3 |
+
size 7875517
|
logs/validation/events.out.tfevents.1660175237.b97199405a5d.141.1.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:48768f4933b0651b632f60035a5c2993fdfc02d727363e0a826a0661b2fb53ef
|
3 |
+
size 194
|
special_tokens_map.json
CHANGED
@@ -1,107 +1,63 @@
|
|
1 |
{
|
2 |
"additional_special_tokens": [
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"
|
45 |
-
"
|
46 |
-
"
|
47 |
-
"
|
48 |
-
"
|
49 |
-
"
|
50 |
-
"
|
51 |
-
"
|
52 |
-
"
|
53 |
-
"
|
54 |
-
"
|
55 |
-
"<extra_id_52>",
|
56 |
-
"<extra_id_53>",
|
57 |
-
"<extra_id_54>",
|
58 |
-
"<extra_id_55>",
|
59 |
-
"<extra_id_56>",
|
60 |
-
"<extra_id_57>",
|
61 |
-
"<extra_id_58>",
|
62 |
-
"<extra_id_59>",
|
63 |
-
"<extra_id_60>",
|
64 |
-
"<extra_id_61>",
|
65 |
-
"<extra_id_62>",
|
66 |
-
"<extra_id_63>",
|
67 |
-
"<extra_id_64>",
|
68 |
-
"<extra_id_65>",
|
69 |
-
"<extra_id_66>",
|
70 |
-
"<extra_id_67>",
|
71 |
-
"<extra_id_68>",
|
72 |
-
"<extra_id_69>",
|
73 |
-
"<extra_id_70>",
|
74 |
-
"<extra_id_71>",
|
75 |
-
"<extra_id_72>",
|
76 |
-
"<extra_id_73>",
|
77 |
-
"<extra_id_74>",
|
78 |
-
"<extra_id_75>",
|
79 |
-
"<extra_id_76>",
|
80 |
-
"<extra_id_77>",
|
81 |
-
"<extra_id_78>",
|
82 |
-
"<extra_id_79>",
|
83 |
-
"<extra_id_80>",
|
84 |
-
"<extra_id_81>",
|
85 |
-
"<extra_id_82>",
|
86 |
-
"<extra_id_83>",
|
87 |
-
"<extra_id_84>",
|
88 |
-
"<extra_id_85>",
|
89 |
-
"<extra_id_86>",
|
90 |
-
"<extra_id_87>",
|
91 |
-
"<extra_id_88>",
|
92 |
-
"<extra_id_89>",
|
93 |
-
"<extra_id_90>",
|
94 |
-
"<extra_id_91>",
|
95 |
-
"<extra_id_92>",
|
96 |
-
"<extra_id_93>",
|
97 |
-
"<extra_id_94>",
|
98 |
-
"<extra_id_95>",
|
99 |
-
"<extra_id_96>",
|
100 |
-
"<extra_id_97>",
|
101 |
-
"<extra_id_98>",
|
102 |
-
"<extra_id_99>"
|
103 |
],
|
|
|
|
|
104 |
"eos_token": "</s>",
|
|
|
105 |
"pad_token": "<pad>",
|
|
|
106 |
"unk_token": "<unk>"
|
107 |
}
|
|
|
1 |
{
|
2 |
"additional_special_tokens": [
|
3 |
+
"ar_AR",
|
4 |
+
"cs_CZ",
|
5 |
+
"de_DE",
|
6 |
+
"en_XX",
|
7 |
+
"es_XX",
|
8 |
+
"et_EE",
|
9 |
+
"fi_FI",
|
10 |
+
"fr_XX",
|
11 |
+
"gu_IN",
|
12 |
+
"hi_IN",
|
13 |
+
"it_IT",
|
14 |
+
"ja_XX",
|
15 |
+
"kk_KZ",
|
16 |
+
"ko_KR",
|
17 |
+
"lt_LT",
|
18 |
+
"lv_LV",
|
19 |
+
"my_MM",
|
20 |
+
"ne_NP",
|
21 |
+
"nl_XX",
|
22 |
+
"ro_RO",
|
23 |
+
"ru_RU",
|
24 |
+
"si_LK",
|
25 |
+
"tr_TR",
|
26 |
+
"vi_VN",
|
27 |
+
"zh_CN",
|
28 |
+
"af_ZA",
|
29 |
+
"az_AZ",
|
30 |
+
"bn_IN",
|
31 |
+
"fa_IR",
|
32 |
+
"he_IL",
|
33 |
+
"hr_HR",
|
34 |
+
"id_ID",
|
35 |
+
"ka_GE",
|
36 |
+
"km_KH",
|
37 |
+
"mk_MK",
|
38 |
+
"ml_IN",
|
39 |
+
"mn_MN",
|
40 |
+
"mr_IN",
|
41 |
+
"pl_PL",
|
42 |
+
"ps_AF",
|
43 |
+
"pt_XX",
|
44 |
+
"sv_SE",
|
45 |
+
"sw_KE",
|
46 |
+
"ta_IN",
|
47 |
+
"te_IN",
|
48 |
+
"th_TH",
|
49 |
+
"tl_XX",
|
50 |
+
"uk_UA",
|
51 |
+
"ur_PK",
|
52 |
+
"xh_ZA",
|
53 |
+
"gl_ES",
|
54 |
+
"sl_SI"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
],
|
56 |
+
"bos_token": "<s>",
|
57 |
+
"cls_token": "<s>",
|
58 |
"eos_token": "</s>",
|
59 |
+
"mask_token": "<mask>",
|
60 |
"pad_token": "<pad>",
|
61 |
+
"sep_token": "</s>",
|
62 |
"unk_token": "<unk>"
|
63 |
}
|
tf_model.h5
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44ded4b10dab2fa9fe6b320a9b7c22b2f2d60ef94ae48be87aa0f63c0522a5c8
|
3 |
+
size 2445079280
|
tokenizer.json
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a4a39cc65c0a7c37d92df7c3c5d137f392c4c7d4e925ef47b0bbeb4354ca6b84
|
3 |
+
size 17094494
|
tokenizer_config.json
CHANGED
@@ -1,112 +1,77 @@
|
|
1 |
{
|
2 |
"additional_special_tokens": [
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"
|
45 |
-
"
|
46 |
-
"
|
47 |
-
"
|
48 |
-
"
|
49 |
-
"
|
50 |
-
"
|
51 |
-
"
|
52 |
-
"
|
53 |
-
"
|
54 |
-
"
|
55 |
-
"<extra_id_52>",
|
56 |
-
"<extra_id_53>",
|
57 |
-
"<extra_id_54>",
|
58 |
-
"<extra_id_55>",
|
59 |
-
"<extra_id_56>",
|
60 |
-
"<extra_id_57>",
|
61 |
-
"<extra_id_58>",
|
62 |
-
"<extra_id_59>",
|
63 |
-
"<extra_id_60>",
|
64 |
-
"<extra_id_61>",
|
65 |
-
"<extra_id_62>",
|
66 |
-
"<extra_id_63>",
|
67 |
-
"<extra_id_64>",
|
68 |
-
"<extra_id_65>",
|
69 |
-
"<extra_id_66>",
|
70 |
-
"<extra_id_67>",
|
71 |
-
"<extra_id_68>",
|
72 |
-
"<extra_id_69>",
|
73 |
-
"<extra_id_70>",
|
74 |
-
"<extra_id_71>",
|
75 |
-
"<extra_id_72>",
|
76 |
-
"<extra_id_73>",
|
77 |
-
"<extra_id_74>",
|
78 |
-
"<extra_id_75>",
|
79 |
-
"<extra_id_76>",
|
80 |
-
"<extra_id_77>",
|
81 |
-
"<extra_id_78>",
|
82 |
-
"<extra_id_79>",
|
83 |
-
"<extra_id_80>",
|
84 |
-
"<extra_id_81>",
|
85 |
-
"<extra_id_82>",
|
86 |
-
"<extra_id_83>",
|
87 |
-
"<extra_id_84>",
|
88 |
-
"<extra_id_85>",
|
89 |
-
"<extra_id_86>",
|
90 |
-
"<extra_id_87>",
|
91 |
-
"<extra_id_88>",
|
92 |
-
"<extra_id_89>",
|
93 |
-
"<extra_id_90>",
|
94 |
-
"<extra_id_91>",
|
95 |
-
"<extra_id_92>",
|
96 |
-
"<extra_id_93>",
|
97 |
-
"<extra_id_94>",
|
98 |
-
"<extra_id_95>",
|
99 |
-
"<extra_id_96>",
|
100 |
-
"<extra_id_97>",
|
101 |
-
"<extra_id_98>",
|
102 |
-
"<extra_id_99>"
|
103 |
],
|
|
|
|
|
104 |
"eos_token": "</s>",
|
105 |
-
"
|
106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
"pad_token": "<pad>",
|
|
|
108 |
"sp_model_kwargs": {},
|
109 |
-
"special_tokens_map_file":
|
110 |
-
"
|
|
|
|
|
111 |
"unk_token": "<unk>"
|
112 |
}
|
|
|
1 |
{
|
2 |
"additional_special_tokens": [
|
3 |
+
"ar_AR",
|
4 |
+
"cs_CZ",
|
5 |
+
"de_DE",
|
6 |
+
"en_XX",
|
7 |
+
"es_XX",
|
8 |
+
"et_EE",
|
9 |
+
"fi_FI",
|
10 |
+
"fr_XX",
|
11 |
+
"gu_IN",
|
12 |
+
"hi_IN",
|
13 |
+
"it_IT",
|
14 |
+
"ja_XX",
|
15 |
+
"kk_KZ",
|
16 |
+
"ko_KR",
|
17 |
+
"lt_LT",
|
18 |
+
"lv_LV",
|
19 |
+
"my_MM",
|
20 |
+
"ne_NP",
|
21 |
+
"nl_XX",
|
22 |
+
"ro_RO",
|
23 |
+
"ru_RU",
|
24 |
+
"si_LK",
|
25 |
+
"tr_TR",
|
26 |
+
"vi_VN",
|
27 |
+
"zh_CN",
|
28 |
+
"af_ZA",
|
29 |
+
"az_AZ",
|
30 |
+
"bn_IN",
|
31 |
+
"fa_IR",
|
32 |
+
"he_IL",
|
33 |
+
"hr_HR",
|
34 |
+
"id_ID",
|
35 |
+
"ka_GE",
|
36 |
+
"km_KH",
|
37 |
+
"mk_MK",
|
38 |
+
"ml_IN",
|
39 |
+
"mn_MN",
|
40 |
+
"mr_IN",
|
41 |
+
"pl_PL",
|
42 |
+
"ps_AF",
|
43 |
+
"pt_XX",
|
44 |
+
"sv_SE",
|
45 |
+
"sw_KE",
|
46 |
+
"ta_IN",
|
47 |
+
"te_IN",
|
48 |
+
"th_TH",
|
49 |
+
"tl_XX",
|
50 |
+
"uk_UA",
|
51 |
+
"ur_PK",
|
52 |
+
"xh_ZA",
|
53 |
+
"gl_ES",
|
54 |
+
"sl_SI"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
],
|
56 |
+
"bos_token": "<s>",
|
57 |
+
"cls_token": "<s>",
|
58 |
"eos_token": "</s>",
|
59 |
+
"mask_token": {
|
60 |
+
"__type": "AddedToken",
|
61 |
+
"content": "<mask>",
|
62 |
+
"lstrip": true,
|
63 |
+
"normalized": true,
|
64 |
+
"rstrip": false,
|
65 |
+
"single_word": false
|
66 |
+
},
|
67 |
+
"model_max_length": 1024,
|
68 |
+
"name_or_path": "Narrativa/mbart-large-50-finetuned-opus-en-pt-translation",
|
69 |
"pad_token": "<pad>",
|
70 |
+
"sep_token": "</s>",
|
71 |
"sp_model_kwargs": {},
|
72 |
+
"special_tokens_map_file": "/home/suraj/projects/mbart-50/hf_models/mbart-50-large/special_tokens_map.json",
|
73 |
+
"src_lang": "en_XX",
|
74 |
+
"tgt_lang": "pt_XX",
|
75 |
+
"tokenizer_class": "MBart50Tokenizer",
|
76 |
"unk_token": "<unk>"
|
77 |
}
|