Xenova HF staff commited on
Commit
75ff323
·
1 Parent(s): fb7c6e2

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-es-de",
3
+ "_num_labels": 3,
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "swish",
6
+ "add_bias_logits": false,
7
+ "add_final_layer_norm": false,
8
+ "architectures": [
9
+ "MarianMTModel"
10
+ ],
11
+ "attention_dropout": 0.0,
12
+ "bad_words_ids": [
13
+ [
14
+ 61300
15
+ ]
16
+ ],
17
+ "bos_token_id": 0,
18
+ "classif_dropout": 0.0,
19
+ "classifier_dropout": 0.0,
20
+ "d_model": 512,
21
+ "decoder_attention_heads": 8,
22
+ "decoder_ffn_dim": 2048,
23
+ "decoder_layerdrop": 0.0,
24
+ "decoder_layers": 6,
25
+ "decoder_start_token_id": 61300,
26
+ "decoder_vocab_size": 61301,
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
+ "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": 4,
52
+ "num_hidden_layers": 6,
53
+ "pad_token_id": 61300,
54
+ "scale_embedding": true,
55
+ "share_encoder_decoder_embeddings": true,
56
+ "static_position_embeddings": true,
57
+ "transformers_version": "4.34.0.dev0",
58
+ "use_cache": true,
59
+ "vocab_size": 61301
60
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 61300
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 61300,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 61300,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.34.0.dev0"
16
+ }
onnx/decoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aaadc3e946518a4ad772bc7826a675d74a2261208966a564e07a7f4808aae8cc
3
+ size 228011269
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a95fb5fcdd25cd4c5b070853d56f548a33077527279b8ed9f836a0b20d38ead1
3
+ size 228246836
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb6d365ceaefd8141ec6cc3dfa4e2c332d03ffc891ea732efb714e230a94cc2b
3
+ size 58303604
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c03bc4be5894719d6eb8ed94e0b2874bcc7d3ef643cf1758c0441de8814d3d3
3
+ size 57932902
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:883908b324b370ad3a4a17031a8dce546f8d4c4c5d2ec6204e178087f1246298
3
+ size 215360760
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f32a453e9c368a084e54b56256a9b1bac84a909f2d0eb1becdd4869713373ad7
3
+ size 54661438
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4fa10ea19c4f85105a203dd80b78ab3467737f7d57d7c5cc73de5f53dcb27ff
3
+ size 202360620
onnx/encoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb5765b2b22eb48c2865c65098558cfd7e45a45f2f20aafb1cdc85a1f65c4de3
3
+ size 51005342
quantize_config.json ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "decoder_model": {
6
+ "op_types": [
7
+ "Gather",
8
+ "Cast",
9
+ "Div",
10
+ "Concat",
11
+ "Sqrt",
12
+ "Expand",
13
+ "Transpose",
14
+ "MatMul",
15
+ "Add",
16
+ "Range",
17
+ "Softmax",
18
+ "Sigmoid",
19
+ "Squeeze",
20
+ "Sub",
21
+ "Equal",
22
+ "Slice",
23
+ "Constant",
24
+ "Unsqueeze",
25
+ "Less",
26
+ "ReduceMean",
27
+ "Mul",
28
+ "Pow",
29
+ "Where",
30
+ "Shape",
31
+ "Reshape",
32
+ "ConstantOfShape"
33
+ ],
34
+ "weight_type": "QInt8"
35
+ },
36
+ "encoder_model": {
37
+ "op_types": [
38
+ "Gather",
39
+ "Cast",
40
+ "Div",
41
+ "Concat",
42
+ "Sqrt",
43
+ "Expand",
44
+ "Transpose",
45
+ "MatMul",
46
+ "Add",
47
+ "Range",
48
+ "Softmax",
49
+ "Sigmoid",
50
+ "Sub",
51
+ "Equal",
52
+ "Constant",
53
+ "Unsqueeze",
54
+ "ReduceMean",
55
+ "Mul",
56
+ "Pow",
57
+ "Where",
58
+ "Shape",
59
+ "Reshape",
60
+ "ConstantOfShape"
61
+ ],
62
+ "weight_type": "QInt8"
63
+ },
64
+ "decoder_model_merged": {
65
+ "op_types": [
66
+ "If",
67
+ "Gather",
68
+ "Cast",
69
+ "Div",
70
+ "Concat",
71
+ "Sqrt",
72
+ "Expand",
73
+ "Transpose",
74
+ "MatMul",
75
+ "Add",
76
+ "Range",
77
+ "Softmax",
78
+ "Sigmoid",
79
+ "Squeeze",
80
+ "Sub",
81
+ "Equal",
82
+ "Slice",
83
+ "Constant",
84
+ "Unsqueeze",
85
+ "Less",
86
+ "ReduceMean",
87
+ "Mul",
88
+ "Pow",
89
+ "Where",
90
+ "Shape",
91
+ "Reshape",
92
+ "ConstantOfShape"
93
+ ],
94
+ "weight_type": "QInt8"
95
+ },
96
+ "decoder_with_past_model": {
97
+ "op_types": [
98
+ "Gather",
99
+ "Cast",
100
+ "Div",
101
+ "Concat",
102
+ "Sqrt",
103
+ "Expand",
104
+ "Transpose",
105
+ "MatMul",
106
+ "Add",
107
+ "Range",
108
+ "Softmax",
109
+ "Sigmoid",
110
+ "Sub",
111
+ "Equal",
112
+ "Constant",
113
+ "Unsqueeze",
114
+ "ReduceMean",
115
+ "Mul",
116
+ "Pow",
117
+ "Where",
118
+ "Shape",
119
+ "Reshape",
120
+ "ConstantOfShape"
121
+ ],
122
+ "weight_type": "QInt8"
123
+ }
124
+ }
125
+ }
source.spm ADDED
Binary file (818 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 (829 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": "es",
8
+ "sp_model_kwargs": {},
9
+ "target_lang": "de",
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