VanessaSchenkel
commited on
Commit
•
5846475
1
Parent(s):
f0c73ba
Training in progress epoch 0
Browse files- README.md +6 -6
- config.json +23 -49
- logs/train/events.out.tfevents.1660141651.f4bbb5c638e3.143.0.v2 +3 -0
- logs/validation/events.out.tfevents.1660151899.f4bbb5c638e3.143.1.v2 +3 -0
- special_tokens_map.json +100 -56
- spiece.model +3 -0
- tf_model.h5 +2 -2
- tokenizer.json +2 -2
- tokenizer_config.json +104 -69
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:
|
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 [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": "
|
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 |
-
"
|
10 |
],
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
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 |
-
"
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
"
|
43 |
-
"
|
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":
|
51 |
-
"
|
52 |
-
"
|
53 |
-
"
|
54 |
"transformers_version": "4.21.1",
|
55 |
"use_cache": true,
|
56 |
-
"vocab_size":
|
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 |
-
"
|
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 |
],
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
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 |
-
"
|
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 |
],
|
56 |
-
"bos_token": "<s>",
|
57 |
-
"cls_token": "<s>",
|
58 |
"eos_token": "</s>",
|
59 |
-
"
|
60 |
-
|
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":
|
73 |
-
"
|
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 |
}
|