Xenova HF staff commited on
Commit
5517256
1 Parent(s): 26034eb

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-en-ROMANCE",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "swish",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "MarianMTModel"
9
+ ],
10
+ "attention_dropout": 0.0,
11
+ "bad_words_ids": [
12
+ [
13
+ 65000
14
+ ]
15
+ ],
16
+ "bos_token_id": 0,
17
+ "classif_dropout": 0.0,
18
+ "classifier_dropout": 0.0,
19
+ "d_model": 512,
20
+ "decoder_attention_heads": 8,
21
+ "decoder_ffn_dim": 2048,
22
+ "decoder_layerdrop": 0.0,
23
+ "decoder_layers": 6,
24
+ "decoder_start_token_id": 65000,
25
+ "decoder_vocab_size": 65001,
26
+ "do_blenderbot_90_layernorm": false,
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
+ "extra_pos_embeddings": 0,
34
+ "force_bos_token_to_be_generated": false,
35
+ "forced_eos_token_id": 0,
36
+ "gradient_checkpointing": false,
37
+ "id2label": {
38
+ "0": "LABEL_0",
39
+ "1": "LABEL_1",
40
+ "2": "LABEL_2"
41
+ },
42
+ "init_std": 0.02,
43
+ "is_encoder_decoder": true,
44
+ "label2id": {
45
+ "LABEL_0": 0,
46
+ "LABEL_1": 1,
47
+ "LABEL_2": 2
48
+ },
49
+ "max_length": 512,
50
+ "max_position_embeddings": 512,
51
+ "model_type": "marian",
52
+ "normalize_before": false,
53
+ "normalize_embedding": false,
54
+ "num_beams": 4,
55
+ "num_hidden_layers": 6,
56
+ "pad_token_id": 65000,
57
+ "scale_embedding": true,
58
+ "share_encoder_decoder_embeddings": true,
59
+ "static_position_embeddings": true,
60
+ "transformers_version": "4.32.0.dev0",
61
+ "use_cache": true,
62
+ "vocab_size": 65001
63
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bad_words_ids": [
4
+ [
5
+ 65000
6
+ ]
7
+ ],
8
+ "bos_token_id": 0,
9
+ "decoder_start_token_id": 65000,
10
+ "eos_token_id": 0,
11
+ "forced_eos_token_id": 0,
12
+ "max_length": 512,
13
+ "num_beams": 4,
14
+ "pad_token_id": 65000,
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:dd2c57556209a030144100d8763769bad4248e5091d016ad76749e50e2d919e2
3
+ size 368725660
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19568739bc7ccb217e6a517073389a545e9b9b9f812c9a2c74aa31143c80309f
3
+ size 368961142
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83c7044c96aa2113be3278220287c7800afa890c33e0fdd15ba24e938ddad4a8
3
+ size 93819733
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a408152e2544a17d23acf68782f69b12f34eab83a9f5df38169c4d48b79a5142
3
+ size 93448377
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c17794858cb965bb28866230d3bdce2c4d5eee08d00fb7e897f6f6a09111134
3
+ size 356075151
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef1594ef4271af8fe9d1fad4a4b1edae5f36304326023a0b6713c09780bad486
3
+ size 90176913
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aff538be2943a9ec2e66e4a2cabf41dfe55b961da0df1e77584b209d0b0878c4
3
+ size 209938220
onnx/encoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4ddfd9338ba3d7c6b9c2d1410ed94fb7e06741226918cef6148031101bbd019
3
+ size 52899742
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
+ "Softmax",
8
+ "MatMul",
9
+ "Gather",
10
+ "Where",
11
+ "Pow",
12
+ "Unsqueeze",
13
+ "Div",
14
+ "ConstantOfShape",
15
+ "Concat",
16
+ "Cast",
17
+ "Sub",
18
+ "Range",
19
+ "ReduceMean",
20
+ "Transpose",
21
+ "Equal",
22
+ "Add",
23
+ "Expand",
24
+ "Sigmoid",
25
+ "Mul",
26
+ "Constant",
27
+ "Sqrt",
28
+ "Reshape",
29
+ "Shape"
30
+ ],
31
+ "weight_type": "QInt8"
32
+ },
33
+ "decoder_with_past_model": {
34
+ "op_types": [
35
+ "Softmax",
36
+ "MatMul",
37
+ "Gather",
38
+ "Where",
39
+ "Pow",
40
+ "Unsqueeze",
41
+ "Div",
42
+ "ConstantOfShape",
43
+ "Concat",
44
+ "Cast",
45
+ "Sub",
46
+ "Range",
47
+ "ReduceMean",
48
+ "Transpose",
49
+ "Equal",
50
+ "Add",
51
+ "Expand",
52
+ "Sigmoid",
53
+ "Mul",
54
+ "Constant",
55
+ "Sqrt",
56
+ "Reshape",
57
+ "Shape"
58
+ ],
59
+ "weight_type": "QInt8"
60
+ },
61
+ "decoder_model": {
62
+ "op_types": [
63
+ "Softmax",
64
+ "MatMul",
65
+ "Gather",
66
+ "Where",
67
+ "Pow",
68
+ "Unsqueeze",
69
+ "Div",
70
+ "ConstantOfShape",
71
+ "Concat",
72
+ "Slice",
73
+ "Cast",
74
+ "Squeeze",
75
+ "Sub",
76
+ "Range",
77
+ "ReduceMean",
78
+ "Transpose",
79
+ "Equal",
80
+ "Less",
81
+ "Add",
82
+ "Expand",
83
+ "Sigmoid",
84
+ "Mul",
85
+ "Constant",
86
+ "Sqrt",
87
+ "Reshape",
88
+ "Shape"
89
+ ],
90
+ "weight_type": "QInt8"
91
+ },
92
+ "decoder_model_merged": {
93
+ "op_types": [
94
+ "Softmax",
95
+ "MatMul",
96
+ "Gather",
97
+ "Where",
98
+ "Pow",
99
+ "Unsqueeze",
100
+ "Div",
101
+ "ConstantOfShape",
102
+ "Concat",
103
+ "Slice",
104
+ "Cast",
105
+ "Squeeze",
106
+ "If",
107
+ "Sub",
108
+ "Range",
109
+ "ReduceMean",
110
+ "Transpose",
111
+ "Equal",
112
+ "Less",
113
+ "Add",
114
+ "Expand",
115
+ "Sigmoid",
116
+ "Mul",
117
+ "Constant",
118
+ "Sqrt",
119
+ "Reshape",
120
+ "Shape"
121
+ ],
122
+ "weight_type": "QInt8"
123
+ }
124
+ }
125
+ }
source.spm ADDED
Binary file (779 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 (799 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": "fr+fr_BE+fr_CA+fr_FR+wa+frp+oc+ca+rm+lld+fur+lij+lmo+es+es_AR+es_CL+es_CO+es_CR+es_DO+es_EC+es_ES+es_GT+es_HN+es_MX+es_NI+es_PA+es_PE+es_PR+es_SV+es_UY+es_VE+pt+pt_br+pt_BR+pt_PT+gl+lad+an+mwl+it+it_IT+co+nap+scn+vec+sc+ro+la",
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