Xenova HF staff commited on
Commit
8814cef
1 Parent(s): 54eedb8

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-ROMANCE-en",
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
+ "dropout": 0.1,
27
+ "encoder_attention_heads": 8,
28
+ "encoder_ffn_dim": 2048,
29
+ "encoder_layerdrop": 0.0,
30
+ "encoder_layers": 6,
31
+ "eos_token_id": 0,
32
+ "forced_eos_token_id": 0,
33
+ "id2label": {
34
+ "0": "LABEL_0",
35
+ "1": "LABEL_1",
36
+ "2": "LABEL_2"
37
+ },
38
+ "init_std": 0.02,
39
+ "is_encoder_decoder": true,
40
+ "label2id": {
41
+ "LABEL_0": 0,
42
+ "LABEL_1": 1,
43
+ "LABEL_2": 2
44
+ },
45
+ "max_length": 512,
46
+ "max_position_embeddings": 512,
47
+ "model_type": "marian",
48
+ "normalize_before": false,
49
+ "normalize_embedding": false,
50
+ "num_beams": 4,
51
+ "num_hidden_layers": 6,
52
+ "pad_token_id": 65000,
53
+ "scale_embedding": true,
54
+ "share_encoder_decoder_embeddings": true,
55
+ "static_position_embeddings": true,
56
+ "transformers_version": "4.32.0.dev0",
57
+ "use_cache": true,
58
+ "vocab_size": 65001
59
+ }
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:4da2ebc17ce162357c04c25c32eb6084c0dfcd95b14dc559a757c8eb75040a04
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:328116e3814e87a9add8565e4d946fbb569d5aa61e0025078bd8ac0db0487241
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:9f6f03ba3bd3ee4561aab1f3498ad84d35960765ff727e1f975ee32ba7815873
3
+ size 93819732
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d64ef6ef74489ddd308ac0b467359de02791142e794774dbfba093107c5378e
3
+ size 93448376
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af45f8d12a7784061292298cb38b7e9efc706c704098bde6cb231254681a146b
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:6221accfbf793beedb15af5e75612b6bf8ad81bafc68d77f47f530f08f0a79ec
3
+ size 90176912
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52f3723aca18acf2ed1a2b06770a50420fc3d5d8aef8245e9fcca4cec307ca02
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:13750ba31ee80c88f6bbb28aa03320674c50394efb95f791d5c4f5c8894232bf
3
+ size 52899741
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
+ "Constant",
8
+ "Range",
9
+ "Pow",
10
+ "Div",
11
+ "ReduceMean",
12
+ "Reshape",
13
+ "Gather",
14
+ "Equal",
15
+ "Softmax",
16
+ "ConstantOfShape",
17
+ "Cast",
18
+ "Transpose",
19
+ "Add",
20
+ "Sqrt",
21
+ "Shape",
22
+ "Sigmoid",
23
+ "Unsqueeze",
24
+ "Mul",
25
+ "Sub",
26
+ "Where",
27
+ "MatMul",
28
+ "Expand",
29
+ "Concat"
30
+ ],
31
+ "weight_type": "QInt8"
32
+ },
33
+ "decoder_with_past_model": {
34
+ "op_types": [
35
+ "Constant",
36
+ "Range",
37
+ "Pow",
38
+ "Div",
39
+ "ReduceMean",
40
+ "Reshape",
41
+ "Gather",
42
+ "Equal",
43
+ "Softmax",
44
+ "ConstantOfShape",
45
+ "Cast",
46
+ "Transpose",
47
+ "Add",
48
+ "Sqrt",
49
+ "Shape",
50
+ "Sigmoid",
51
+ "Unsqueeze",
52
+ "Mul",
53
+ "Sub",
54
+ "Where",
55
+ "MatMul",
56
+ "Expand",
57
+ "Concat"
58
+ ],
59
+ "weight_type": "QInt8"
60
+ },
61
+ "decoder_model": {
62
+ "op_types": [
63
+ "Constant",
64
+ "Range",
65
+ "Pow",
66
+ "Squeeze",
67
+ "Less",
68
+ "Slice",
69
+ "Div",
70
+ "Gather",
71
+ "Reshape",
72
+ "ReduceMean",
73
+ "Equal",
74
+ "Softmax",
75
+ "ConstantOfShape",
76
+ "Cast",
77
+ "Transpose",
78
+ "Add",
79
+ "Sqrt",
80
+ "Shape",
81
+ "Sigmoid",
82
+ "Unsqueeze",
83
+ "Mul",
84
+ "Sub",
85
+ "Where",
86
+ "MatMul",
87
+ "Expand",
88
+ "Concat"
89
+ ],
90
+ "weight_type": "QInt8"
91
+ },
92
+ "decoder_model_merged": {
93
+ "op_types": [
94
+ "Constant",
95
+ "If",
96
+ "Range",
97
+ "Pow",
98
+ "Squeeze",
99
+ "Less",
100
+ "Slice",
101
+ "Div",
102
+ "Gather",
103
+ "Reshape",
104
+ "ReduceMean",
105
+ "Equal",
106
+ "Softmax",
107
+ "ConstantOfShape",
108
+ "Cast",
109
+ "Transpose",
110
+ "Add",
111
+ "Sqrt",
112
+ "Shape",
113
+ "Sigmoid",
114
+ "Unsqueeze",
115
+ "Mul",
116
+ "Sub",
117
+ "Where",
118
+ "MatMul",
119
+ "Expand",
120
+ "Concat"
121
+ ],
122
+ "weight_type": "QInt8"
123
+ }
124
+ }
125
+ }
source.spm ADDED
Binary file (800 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 (779 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": "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",
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