Xenova HF staff commited on
Commit
4b4961e
·
1 Parent(s): 35ac928

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-it-es",
3
+ "_num_labels": 3,
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "swish",
6
+ "add_bias_logits": false,
7
+ "add_final_layer_norm": false,
8
+ "architectures": [
9
+ "MarianMTModel"
10
+ ],
11
+ "attention_dropout": 0.0,
12
+ "bad_words_ids": [
13
+ [
14
+ 59030
15
+ ]
16
+ ],
17
+ "bos_token_id": 0,
18
+ "classif_dropout": 0.0,
19
+ "classifier_dropout": 0.0,
20
+ "d_model": 512,
21
+ "decoder_attention_heads": 8,
22
+ "decoder_ffn_dim": 2048,
23
+ "decoder_layerdrop": 0.0,
24
+ "decoder_layers": 6,
25
+ "decoder_start_token_id": 59030,
26
+ "decoder_vocab_size": 59031,
27
+ "dropout": 0.1,
28
+ "encoder_attention_heads": 8,
29
+ "encoder_ffn_dim": 2048,
30
+ "encoder_layerdrop": 0.0,
31
+ "encoder_layers": 6,
32
+ "eos_token_id": 0,
33
+ "forced_eos_token_id": 0,
34
+ "id2label": {
35
+ "0": "LABEL_0",
36
+ "1": "LABEL_1",
37
+ "2": "LABEL_2"
38
+ },
39
+ "init_std": 0.02,
40
+ "is_encoder_decoder": true,
41
+ "label2id": {
42
+ "LABEL_0": 0,
43
+ "LABEL_1": 1,
44
+ "LABEL_2": 2
45
+ },
46
+ "max_length": 512,
47
+ "max_position_embeddings": 512,
48
+ "model_type": "marian",
49
+ "normalize_before": false,
50
+ "normalize_embedding": false,
51
+ "num_beams": 6,
52
+ "num_hidden_layers": 6,
53
+ "pad_token_id": 59030,
54
+ "scale_embedding": true,
55
+ "share_encoder_decoder_embeddings": true,
56
+ "static_position_embeddings": true,
57
+ "transformers_version": "4.34.0.dev0",
58
+ "use_cache": true,
59
+ "vocab_size": 59031
60
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 59030
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 59030,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 6,
13
+ "pad_token_id": 59030,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.34.0.dev0"
16
+ }
onnx/decoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:134a4050714bcc60749d998a1711c5c235be740f8a62c782b6c4fe3d4ebe061f
3
+ size 223353229
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4b0f4c3a2ae0e9ab2dc181cd4a4cad4d09794248700bf969ab0c8a005fd88e4
3
+ size 223588796
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:147aa9f62b543cb7a7a119aabc89ce26b7defab212fb2486b2bff94e09986dce
3
+ size 57132284
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c77b7e7d45534fa3d21687864ce947d299f8739a52e38d26f2e54b7475b01798
3
+ size 56761582
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c2e4fde40fc3516b1b8640b374f9389430a28047d02320198635264e88a9d7c
3
+ size 210702720
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5f03c651333a97dcaca825be7087401ad2c2ad6e30cfb48dcb58df165bc7d4d
3
+ size 53490118
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e4c3214bfa1d8a5f24d60f522d4285cf6ba17b31f2e60825e22e3d1073d224b
3
+ size 197711660
onnx/encoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e0ef961235dc192d99555fe015ac0c28c0a93d006e98e6050a13dc45f45bb88
3
+ size 49843102
quantize_config.json ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "encoder_model": {
6
+ "op_types": [
7
+ "Add",
8
+ "MatMul",
9
+ "Reshape",
10
+ "Mul",
11
+ "ConstantOfShape",
12
+ "Pow",
13
+ "Equal",
14
+ "Range",
15
+ "Cast",
16
+ "Expand",
17
+ "Transpose",
18
+ "Concat",
19
+ "Constant",
20
+ "Gather",
21
+ "Sub",
22
+ "Softmax",
23
+ "Unsqueeze",
24
+ "Where",
25
+ "Sqrt",
26
+ "Div",
27
+ "Shape",
28
+ "Sigmoid",
29
+ "ReduceMean"
30
+ ],
31
+ "weight_type": "QInt8"
32
+ },
33
+ "decoder_with_past_model": {
34
+ "op_types": [
35
+ "Add",
36
+ "MatMul",
37
+ "Reshape",
38
+ "Mul",
39
+ "ConstantOfShape",
40
+ "Pow",
41
+ "Equal",
42
+ "Range",
43
+ "Cast",
44
+ "Expand",
45
+ "Transpose",
46
+ "Concat",
47
+ "Constant",
48
+ "Gather",
49
+ "Sub",
50
+ "Softmax",
51
+ "Unsqueeze",
52
+ "Where",
53
+ "Sqrt",
54
+ "Div",
55
+ "Shape",
56
+ "Sigmoid",
57
+ "ReduceMean"
58
+ ],
59
+ "weight_type": "QInt8"
60
+ },
61
+ "decoder_model_merged": {
62
+ "op_types": [
63
+ "Add",
64
+ "MatMul",
65
+ "Reshape",
66
+ "Mul",
67
+ "ConstantOfShape",
68
+ "Pow",
69
+ "Equal",
70
+ "Range",
71
+ "Squeeze",
72
+ "Cast",
73
+ "Expand",
74
+ "Transpose",
75
+ "Concat",
76
+ "If",
77
+ "Less",
78
+ "Constant",
79
+ "Gather",
80
+ "Sub",
81
+ "Softmax",
82
+ "Unsqueeze",
83
+ "Where",
84
+ "Sqrt",
85
+ "Div",
86
+ "Slice",
87
+ "Shape",
88
+ "Sigmoid",
89
+ "ReduceMean"
90
+ ],
91
+ "weight_type": "QInt8"
92
+ },
93
+ "decoder_model": {
94
+ "op_types": [
95
+ "Add",
96
+ "MatMul",
97
+ "Reshape",
98
+ "Mul",
99
+ "ConstantOfShape",
100
+ "Pow",
101
+ "Equal",
102
+ "Range",
103
+ "Squeeze",
104
+ "Cast",
105
+ "Expand",
106
+ "Transpose",
107
+ "Concat",
108
+ "Less",
109
+ "Constant",
110
+ "Gather",
111
+ "Sub",
112
+ "Softmax",
113
+ "Unsqueeze",
114
+ "Where",
115
+ "Sqrt",
116
+ "Div",
117
+ "Slice",
118
+ "Shape",
119
+ "Sigmoid",
120
+ "ReduceMean"
121
+ ],
122
+ "weight_type": "QInt8"
123
+ }
124
+ }
125
+ }
source.spm ADDED
Binary file (813 kB). View file
 
special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "eos_token": "</s>",
3
+ "pad_token": "<pad>",
4
+ "unk_token": "<unk>"
5
+ }
target.spm ADDED
Binary file (819 kB). View file
 
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "eos_token": "</s>",
4
+ "model_max_length": 512,
5
+ "pad_token": "<pad>",
6
+ "separate_vocabs": false,
7
+ "source_lang": "it",
8
+ "sp_model_kwargs": {},
9
+ "target_lang": "es",
10
+ "tokenizer_class": "MarianTokenizer",
11
+ "unk_token": "<unk>"
12
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff