Xenova HF staff commited on
Commit
e05e917
1 Parent(s): a71cd1c

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-it-en",
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
+ 80378
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": 80378,
26
+ "decoder_vocab_size": 80379,
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": 80378,
54
+ "scale_embedding": true,
55
+ "share_encoder_decoder_embeddings": true,
56
+ "static_position_embeddings": true,
57
+ "transformers_version": "4.32.0.dev0",
58
+ "use_cache": true,
59
+ "vocab_size": 80379
60
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bad_words_ids": [
4
+ [
5
+ 80378
6
+ ]
7
+ ],
8
+ "bos_token_id": 0,
9
+ "decoder_start_token_id": 80378,
10
+ "eos_token_id": 0,
11
+ "forced_eos_token_id": 0,
12
+ "max_length": 512,
13
+ "num_beams": 6,
14
+ "pad_token_id": 80378,
15
+ "transformers_version": "4.32.0.dev0"
16
+ }
onnx/decoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a359dc3dca5603297cf187fc32208b9ab2600a1e201c1e9ca985e326081e884a
3
+ size 431775460
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:062c587fe59cb2b8b7befccacd7d2248dcf3064f6db21e7228a02d50073352fc
3
+ size 432010942
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab140f973e212b51dc7cc1521aad0ed92d6102d7ff21ca594b453638f77f4cec
3
+ size 109705207
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3613b01af756c2086cdade24d074c303045dca80036b9689f7fb3c87752586e8
3
+ size 109333851
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5421b8fa00730bb13c7d75ff90a4598306a6be8235e6dba9294488b344a7c3a
3
+ size 419124951
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6206ba77a84434c3f15b552ddfcd7fc4948f4d83aefb799190633666b58217dc
3
+ size 106062387
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89f9ba4c549438d78606622334f070565b23ff4408e43b7e2b0c2ddf67c15389
3
+ size 241432364
onnx/encoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a025d2d85c90da23880116b67175e43e71921d8d2bf446b9f1eacdc86015aa4c
3
+ size 60773278
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
+ "Div",
8
+ "ReduceMean",
9
+ "Softmax",
10
+ "Expand",
11
+ "Unsqueeze",
12
+ "Sqrt",
13
+ "Sigmoid",
14
+ "Constant",
15
+ "Mul",
16
+ "Where",
17
+ "Range",
18
+ "Equal",
19
+ "Add",
20
+ "Pow",
21
+ "Cast",
22
+ "ConstantOfShape",
23
+ "Sub",
24
+ "Reshape",
25
+ "Shape",
26
+ "Transpose",
27
+ "MatMul",
28
+ "Concat",
29
+ "Gather"
30
+ ],
31
+ "weight_type": "QInt8"
32
+ },
33
+ "decoder_with_past_model": {
34
+ "op_types": [
35
+ "Div",
36
+ "ReduceMean",
37
+ "Softmax",
38
+ "Expand",
39
+ "Unsqueeze",
40
+ "Sqrt",
41
+ "Sigmoid",
42
+ "Constant",
43
+ "Mul",
44
+ "Where",
45
+ "Range",
46
+ "Equal",
47
+ "Add",
48
+ "Pow",
49
+ "Cast",
50
+ "ConstantOfShape",
51
+ "Sub",
52
+ "Reshape",
53
+ "Shape",
54
+ "Transpose",
55
+ "MatMul",
56
+ "Concat",
57
+ "Gather"
58
+ ],
59
+ "weight_type": "QInt8"
60
+ },
61
+ "decoder_model": {
62
+ "op_types": [
63
+ "Div",
64
+ "ReduceMean",
65
+ "Softmax",
66
+ "Expand",
67
+ "Unsqueeze",
68
+ "Sqrt",
69
+ "Sigmoid",
70
+ "Constant",
71
+ "Mul",
72
+ "Slice",
73
+ "Where",
74
+ "Range",
75
+ "Equal",
76
+ "Add",
77
+ "Squeeze",
78
+ "Pow",
79
+ "Less",
80
+ "Cast",
81
+ "ConstantOfShape",
82
+ "Sub",
83
+ "Reshape",
84
+ "Shape",
85
+ "Transpose",
86
+ "MatMul",
87
+ "Concat",
88
+ "Gather"
89
+ ],
90
+ "weight_type": "QInt8"
91
+ },
92
+ "decoder_model_merged": {
93
+ "op_types": [
94
+ "Div",
95
+ "ReduceMean",
96
+ "Softmax",
97
+ "Expand",
98
+ "Unsqueeze",
99
+ "Sqrt",
100
+ "Sigmoid",
101
+ "Constant",
102
+ "If",
103
+ "Mul",
104
+ "Slice",
105
+ "Where",
106
+ "Range",
107
+ "Equal",
108
+ "Add",
109
+ "Squeeze",
110
+ "Pow",
111
+ "Less",
112
+ "Cast",
113
+ "ConstantOfShape",
114
+ "Sub",
115
+ "Reshape",
116
+ "Shape",
117
+ "Transpose",
118
+ "MatMul",
119
+ "Concat",
120
+ "Gather"
121
+ ],
122
+ "weight_type": "QInt8"
123
+ }
124
+ }
125
+ }
source.spm ADDED
Binary file (814 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 (790 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": "en",
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