Xenova HF staff commited on
Commit
bb8167e
1 Parent(s): f671f12

Upload folder using huggingface_hub

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