Xenova HF staff commited on
Commit
3e79fd1
1 Parent(s): bf134c0

Upload folder using huggingface_hub

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