Xenova HF staff commited on
Commit
d26b691
·
1 Parent(s): 12888bc

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-de-es",
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:4309dfba1224b80d8ea143f18ac8ac49e2e5c683e7abdf452337f537c735d647
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:db3032638c7cf4cb6670540ba3965a32e6e1fdd78c32c2072c119254ac05612a
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:8b426d5cafcc60359eeb3577d4becd021be84c4a9eefabef811a6b0dd10e0082
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:fbb646ec2d7c749e4fbd474ab2001e9e32c429611e138419a26e25d3e95e8f8c
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:364a05f6d9384ea2d58447dcf90459f6974a86a34bfcea8bdc6eb2e5a0fb5879
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:d5d2bef8d64f52a4367afc82716f3dcca77987c14e11b84015d541380a034943
3
+ size 54661438
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffbb7193ef6c4f4c0cd1fa5017af82a77b81beaeefb3f86eca55c63854677543
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:54a64cdcdef126647fe4922b33744f6643982084ee0a58b6d441bec5d17f7deb
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
+ "Unsqueeze",
8
+ "Range",
9
+ "Add",
10
+ "Div",
11
+ "Mul",
12
+ "ReduceMean",
13
+ "Sqrt",
14
+ "Concat",
15
+ "Equal",
16
+ "MatMul",
17
+ "Reshape",
18
+ "Expand",
19
+ "Gather",
20
+ "Sub",
21
+ "ConstantOfShape",
22
+ "Constant",
23
+ "Less",
24
+ "Cast",
25
+ "Transpose",
26
+ "Squeeze",
27
+ "Where",
28
+ "Sigmoid",
29
+ "Slice",
30
+ "Softmax",
31
+ "Shape",
32
+ "Pow"
33
+ ],
34
+ "weight_type": "QInt8"
35
+ },
36
+ "encoder_model": {
37
+ "op_types": [
38
+ "Unsqueeze",
39
+ "Range",
40
+ "Add",
41
+ "Div",
42
+ "ReduceMean",
43
+ "Mul",
44
+ "Sqrt",
45
+ "Concat",
46
+ "Equal",
47
+ "MatMul",
48
+ "Reshape",
49
+ "Expand",
50
+ "Gather",
51
+ "Sub",
52
+ "ConstantOfShape",
53
+ "Constant",
54
+ "Cast",
55
+ "Transpose",
56
+ "Where",
57
+ "Sigmoid",
58
+ "Softmax",
59
+ "Shape",
60
+ "Pow"
61
+ ],
62
+ "weight_type": "QInt8"
63
+ },
64
+ "decoder_model_merged": {
65
+ "op_types": [
66
+ "Unsqueeze",
67
+ "Range",
68
+ "Add",
69
+ "Div",
70
+ "Mul",
71
+ "ReduceMean",
72
+ "Sqrt",
73
+ "Concat",
74
+ "Reshape",
75
+ "Equal",
76
+ "If",
77
+ "Expand",
78
+ "Gather",
79
+ "Sub",
80
+ "MatMul",
81
+ "ConstantOfShape",
82
+ "Constant",
83
+ "Less",
84
+ "Cast",
85
+ "Transpose",
86
+ "Squeeze",
87
+ "Where",
88
+ "Sigmoid",
89
+ "Slice",
90
+ "Softmax",
91
+ "Shape",
92
+ "Pow"
93
+ ],
94
+ "weight_type": "QInt8"
95
+ },
96
+ "decoder_with_past_model": {
97
+ "op_types": [
98
+ "Unsqueeze",
99
+ "Range",
100
+ "Add",
101
+ "Div",
102
+ "ReduceMean",
103
+ "Mul",
104
+ "Sqrt",
105
+ "Concat",
106
+ "Equal",
107
+ "MatMul",
108
+ "Reshape",
109
+ "Expand",
110
+ "Gather",
111
+ "Sub",
112
+ "ConstantOfShape",
113
+ "Constant",
114
+ "Cast",
115
+ "Transpose",
116
+ "Where",
117
+ "Sigmoid",
118
+ "Softmax",
119
+ "Shape",
120
+ "Pow"
121
+ ],
122
+ "weight_type": "QInt8"
123
+ }
124
+ }
125
+ }
source.spm ADDED
Binary file (829 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 (818 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": "de",
8
+ "sp_model_kwargs": {},
9
+ "target_lang": "es",
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