Xenova HF staff commited on
Commit
b31c82c
1 Parent(s): 68b9af1

Upload folder using huggingface_hub

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