VanessaSchenkel commited on
Commit
5846475
1 Parent(s): f0c73ba

Training in progress epoch 0

Browse files
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 [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.3352
17
- - Validation Loss: 0.9963
18
- - Train Bleu: 42.2304
19
- - Train Gen Len: 39.4181
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.3352 | 0.9963 | 42.2304 | 39.4181 | 0 |
47
 
48
 
49
  ### Framework versions
 
11
 
12
  # VanessaSchenkel/padrao-mbart-finetuned-news_commentary
13
 
14
+ This model is a fine-tuned version of [unicamp-dl/translation-en-pt-t5](https://huggingface.co/unicamp-dl/translation-en-pt-t5) on an unknown dataset.
15
  It achieves the following results on the evaluation set:
16
+ - Train Loss: 1.4815
17
+ - Validation Loss: 1.2135
18
+ - Train Bleu: 40.5781
19
+ - Train Gen Len: 34.7447
20
  - Epoch: 0
21
 
22
  ## Model description
 
43
 
44
  | Train Loss | Validation Loss | Train Bleu | Train Gen Len | Epoch |
45
  |:----------:|:---------------:|:----------:|:-------------:|:-----:|
46
+ | 1.4815 | 1.2135 | 40.5781 | 34.7447 | 0 |
47
 
48
 
49
  ### Framework versions
config.json CHANGED
@@ -1,57 +1,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
  }
 
1
  {
2
+ "_name_or_path": "unicamp-dl/translation-en-pt-t5",
 
 
 
 
 
3
  "architectures": [
4
+ "T5ForConditionalGeneration"
5
  ],
6
+ "d_ff": 3072,
7
+ "d_kv": 64,
8
+ "d_model": 768,
9
+ "decoder_start_token_id": 0,
10
+ "dense_act_fn": "relu",
11
+ "dropout_rate": 0.1,
12
+ "eos_token_id": 1,
13
+ "feed_forward_proj": "relu",
14
+ "initializer_factor": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  "is_encoder_decoder": true,
16
+ "is_gated_act": false,
17
+ "layer_norm_epsilon": 1e-06,
18
+ "model_type": "t5",
19
+ "n_positions": 512,
20
+ "num_decoder_layers": 12,
21
+ "num_heads": 12,
22
+ "num_layers": 12,
 
 
 
 
 
23
  "output_past": true,
24
+ "pad_token_id": 0,
25
+ "relative_attention_max_distance": 128,
26
+ "relative_attention_num_buckets": 32,
27
+ "torch_dtype": "float32",
28
  "transformers_version": "4.21.1",
29
  "use_cache": true,
30
+ "vocab_size": 32128
31
  }
logs/train/events.out.tfevents.1660141651.f4bbb5c638e3.143.0.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ded3b29a9a6c2f3110a9a78fb38e5e4453e03224705b519bc43226d74a747c8f
3
+ size 5550300
logs/validation/events.out.tfevents.1660151899.f4bbb5c638e3.143.1.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd3562e58d3dd51857d466d6edf84fd3e2d3ef2edcfffb0ba069845c2eb3ef1d
3
+ size 194
special_tokens_map.json CHANGED
@@ -1,63 +1,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
  }
 
1
  {
2
  "additional_special_tokens": [
3
+ "<extra_id_0>",
4
+ "<extra_id_1>",
5
+ "<extra_id_2>",
6
+ "<extra_id_3>",
7
+ "<extra_id_4>",
8
+ "<extra_id_5>",
9
+ "<extra_id_6>",
10
+ "<extra_id_7>",
11
+ "<extra_id_8>",
12
+ "<extra_id_9>",
13
+ "<extra_id_10>",
14
+ "<extra_id_11>",
15
+ "<extra_id_12>",
16
+ "<extra_id_13>",
17
+ "<extra_id_14>",
18
+ "<extra_id_15>",
19
+ "<extra_id_16>",
20
+ "<extra_id_17>",
21
+ "<extra_id_18>",
22
+ "<extra_id_19>",
23
+ "<extra_id_20>",
24
+ "<extra_id_21>",
25
+ "<extra_id_22>",
26
+ "<extra_id_23>",
27
+ "<extra_id_24>",
28
+ "<extra_id_25>",
29
+ "<extra_id_26>",
30
+ "<extra_id_27>",
31
+ "<extra_id_28>",
32
+ "<extra_id_29>",
33
+ "<extra_id_30>",
34
+ "<extra_id_31>",
35
+ "<extra_id_32>",
36
+ "<extra_id_33>",
37
+ "<extra_id_34>",
38
+ "<extra_id_35>",
39
+ "<extra_id_36>",
40
+ "<extra_id_37>",
41
+ "<extra_id_38>",
42
+ "<extra_id_39>",
43
+ "<extra_id_40>",
44
+ "<extra_id_41>",
45
+ "<extra_id_42>",
46
+ "<extra_id_43>",
47
+ "<extra_id_44>",
48
+ "<extra_id_45>",
49
+ "<extra_id_46>",
50
+ "<extra_id_47>",
51
+ "<extra_id_48>",
52
+ "<extra_id_49>",
53
+ "<extra_id_50>",
54
+ "<extra_id_51>",
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
  }
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcb25b1d67f04fce0e710d58430b606b4ee9887144fa2da22d123c44061cc62e
3
+ size 755569
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e5004292563b91d39d0e55dcc2ca5117c5157e17822eb9d342316d242899fab6
3
- size 2445079280
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d49894ef8500dac163acaed0504d0c63d65af34d8233a2a9fb6fc77d73496323
3
+ size 892145048
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a4a39cc65c0a7c37d92df7c3c5d137f392c4c7d4e925ef47b0bbeb4354ca6b84
3
- size 17094494
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0394be143a2f04d44c08b09d6a2d3c35134bb7dcc3efee1f8d7204ebc1f34f36
3
+ size 2386119
tokenizer_config.json CHANGED
@@ -1,77 +1,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
  }
 
1
  {
2
  "additional_special_tokens": [
3
+ "<extra_id_0>",
4
+ "<extra_id_1>",
5
+ "<extra_id_2>",
6
+ "<extra_id_3>",
7
+ "<extra_id_4>",
8
+ "<extra_id_5>",
9
+ "<extra_id_6>",
10
+ "<extra_id_7>",
11
+ "<extra_id_8>",
12
+ "<extra_id_9>",
13
+ "<extra_id_10>",
14
+ "<extra_id_11>",
15
+ "<extra_id_12>",
16
+ "<extra_id_13>",
17
+ "<extra_id_14>",
18
+ "<extra_id_15>",
19
+ "<extra_id_16>",
20
+ "<extra_id_17>",
21
+ "<extra_id_18>",
22
+ "<extra_id_19>",
23
+ "<extra_id_20>",
24
+ "<extra_id_21>",
25
+ "<extra_id_22>",
26
+ "<extra_id_23>",
27
+ "<extra_id_24>",
28
+ "<extra_id_25>",
29
+ "<extra_id_26>",
30
+ "<extra_id_27>",
31
+ "<extra_id_28>",
32
+ "<extra_id_29>",
33
+ "<extra_id_30>",
34
+ "<extra_id_31>",
35
+ "<extra_id_32>",
36
+ "<extra_id_33>",
37
+ "<extra_id_34>",
38
+ "<extra_id_35>",
39
+ "<extra_id_36>",
40
+ "<extra_id_37>",
41
+ "<extra_id_38>",
42
+ "<extra_id_39>",
43
+ "<extra_id_40>",
44
+ "<extra_id_41>",
45
+ "<extra_id_42>",
46
+ "<extra_id_43>",
47
+ "<extra_id_44>",
48
+ "<extra_id_45>",
49
+ "<extra_id_46>",
50
+ "<extra_id_47>",
51
+ "<extra_id_48>",
52
+ "<extra_id_49>",
53
+ "<extra_id_50>",
54
+ "<extra_id_51>",
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
+ "extra_ids": 100,
106
+ "name_or_path": "unicamp-dl/translation-en-pt-t5",
 
 
 
 
 
 
 
 
107
  "pad_token": "<pad>",
 
108
  "sp_model_kwargs": {},
109
+ "special_tokens_map_file": null,
110
+ "tokenizer_class": "T5Tokenizer",
 
 
111
  "unk_token": "<unk>"
112
  }