Xenova HF staff commited on
Commit
945cb23
1 Parent(s): ae3848a

Upload folder using huggingface_hub

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