Xenova HF staff commited on
Commit
99ae82e
1 Parent(s): 2ada93c

Upload folder using huggingface_hub

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