Xenova HF staff commited on
Commit
a1c97c3
1 Parent(s): c90d208

Upload folder using huggingface_hub

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