Xenova HF staff commited on
Commit
4f62562
1 Parent(s): 9784336

Upload folder using huggingface_hub

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