Xenova HF staff commited on
Commit
3e0a9d1
1 Parent(s): e126e5e

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ source.spm filter=lfs diff=lfs merge=lfs -text
37
+ target.spm filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-uk-ru",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "swish",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "MarianMTModel"
9
+ ],
10
+ "attention_dropout": 0.0,
11
+ "bad_words_ids": [
12
+ [
13
+ 57776
14
+ ]
15
+ ],
16
+ "bos_token_id": 0,
17
+ "classif_dropout": 0.0,
18
+ "classifier_dropout": 0.0,
19
+ "d_model": 512,
20
+ "decoder_attention_heads": 8,
21
+ "decoder_ffn_dim": 2048,
22
+ "decoder_layerdrop": 0.0,
23
+ "decoder_layers": 6,
24
+ "decoder_start_token_id": 57776,
25
+ "decoder_vocab_size": 57777,
26
+ "dropout": 0.1,
27
+ "encoder_attention_heads": 8,
28
+ "encoder_ffn_dim": 2048,
29
+ "encoder_layerdrop": 0.0,
30
+ "encoder_layers": 6,
31
+ "eos_token_id": 0,
32
+ "extra_pos_embeddings": 57777,
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": 6,
52
+ "num_hidden_layers": 6,
53
+ "pad_token_id": 57776,
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": 57777
60
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 57776
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 57776,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 6,
13
+ "pad_token_id": 57776,
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:ee3a8db12ba946f6f9fcac1f49d024d0271c5de0b22f14c4e87a5ee9736c8968
3
+ size 220780021
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b82bfada2fb9bbe21d9af72be9af89cdd3a719710507586f1964d33dfc80144d
3
+ size 221015588
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a99fed7dd89b22fee3752b8f6c7ac5e81d563635cf8198f49ca551f498daf76
3
+ size 56485220
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a5ce3c104ae82600b98416db17a78a9abba58851435a97ec9e51ee3a17d30a1
3
+ size 56114518
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5eacb554f384b09d980ee048858ea401771146b55f3cf390ed7b1067cc1873cc
3
+ size 208129512
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecbf033ad5d83dc3c41b6ca4a7acf24cc7027bea56fac7b625e36ec36356ec7c
3
+ size 52843054
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc2eac8e87781fb9872ec1a33007ee06515844db23321ce1b232cd5ef88b874e
3
+ size 195143468
onnx/encoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b599e2f4fbf1ea36cf983f1c0f40fcb2bb0ad8f6e0d1a7591da46b5ca9bf48a
3
+ size 49201054
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
+ "Sqrt",
8
+ "Constant",
9
+ "Unsqueeze",
10
+ "Less",
11
+ "Slice",
12
+ "Sigmoid",
13
+ "Concat",
14
+ "MatMul",
15
+ "Shape",
16
+ "Gather",
17
+ "Expand",
18
+ "Softmax",
19
+ "Cast",
20
+ "Equal",
21
+ "Pow",
22
+ "ReduceMean",
23
+ "Sub",
24
+ "Range",
25
+ "ConstantOfShape",
26
+ "Reshape",
27
+ "Where",
28
+ "Div",
29
+ "Squeeze",
30
+ "Mul",
31
+ "Transpose",
32
+ "Add"
33
+ ],
34
+ "weight_type": "QInt8"
35
+ },
36
+ "encoder_model": {
37
+ "op_types": [
38
+ "Sqrt",
39
+ "Constant",
40
+ "Unsqueeze",
41
+ "Sigmoid",
42
+ "Concat",
43
+ "MatMul",
44
+ "Shape",
45
+ "Gather",
46
+ "Expand",
47
+ "Softmax",
48
+ "Cast",
49
+ "Equal",
50
+ "Pow",
51
+ "ReduceMean",
52
+ "Sub",
53
+ "Range",
54
+ "ConstantOfShape",
55
+ "Reshape",
56
+ "Where",
57
+ "Div",
58
+ "Mul",
59
+ "Transpose",
60
+ "Add"
61
+ ],
62
+ "weight_type": "QInt8"
63
+ },
64
+ "decoder_model_merged": {
65
+ "op_types": [
66
+ "Sqrt",
67
+ "Constant",
68
+ "Unsqueeze",
69
+ "If",
70
+ "Less",
71
+ "Slice",
72
+ "Sigmoid",
73
+ "Concat",
74
+ "MatMul",
75
+ "Shape",
76
+ "Gather",
77
+ "Expand",
78
+ "Softmax",
79
+ "Cast",
80
+ "Equal",
81
+ "Pow",
82
+ "ReduceMean",
83
+ "Sub",
84
+ "Range",
85
+ "ConstantOfShape",
86
+ "Reshape",
87
+ "Where",
88
+ "Div",
89
+ "Squeeze",
90
+ "Mul",
91
+ "Transpose",
92
+ "Add"
93
+ ],
94
+ "weight_type": "QInt8"
95
+ },
96
+ "decoder_with_past_model": {
97
+ "op_types": [
98
+ "Sqrt",
99
+ "Constant",
100
+ "Unsqueeze",
101
+ "Sigmoid",
102
+ "Concat",
103
+ "MatMul",
104
+ "Shape",
105
+ "Gather",
106
+ "Expand",
107
+ "Softmax",
108
+ "Cast",
109
+ "Equal",
110
+ "Pow",
111
+ "ReduceMean",
112
+ "Sub",
113
+ "Range",
114
+ "ConstantOfShape",
115
+ "Reshape",
116
+ "Where",
117
+ "Div",
118
+ "Mul",
119
+ "Transpose",
120
+ "Add"
121
+ ],
122
+ "weight_type": "QInt8"
123
+ }
124
+ }
125
+ }
source.spm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d8d0a245c07efca75da76f0c68e9d61bc9667af1ee81d230faf14869653b234
3
+ size 1031670
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
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d989ee1653a22aa05280110ca2abaccb8a77b397a64f14576984f0a9f9a8d2ec
3
+ size 1049819
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": "ukr",
8
+ "sp_model_kwargs": {},
9
+ "target_lang": "rus",
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