Xenova HF Staff commited on
Commit
88db0d7
·
1 Parent(s): 5651f21

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-ru-uk",
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:feea5853f38e0e59fb2b612caa1e9316e536e6520d43b14b9bbe806e98b16f60
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:a001c801ad6328c20a9268efe2df10f6b09b3f0d77803eec3a72138aeda60514
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:7b28ef096a0f4dc8eb989ebe6e3ab0b56095f812e7b86258087a8cc6aa8b100b
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:807d4dea2f973ac13a6cde2208f6465ac9d617676285c8b1aff24b3bce578073
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:9415e0cb9c646a582ac2065af705e43c72ad5701d99d8e9cc073fc2d3efe9468
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:e920a63c059e3c972382afbe009b36bc5e5f58cc9f7c09f10c0ba2fb3e64b667
3
+ size 52843054
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c443954bb714035ce89cd4443aa82ee3807092712432e29d928cafe893db2a0b
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:5d1531b6d1bad2a7168f82d2c74acbf9a625e4f2913fe7ff476b61b6c7ec4d9a
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
+ "encoder_model": {
6
+ "op_types": [
7
+ "Sub",
8
+ "Mul",
9
+ "ReduceMean",
10
+ "MatMul",
11
+ "Shape",
12
+ "Reshape",
13
+ "Where",
14
+ "Gather",
15
+ "Sqrt",
16
+ "Div",
17
+ "Pow",
18
+ "ConstantOfShape",
19
+ "Add",
20
+ "Concat",
21
+ "Equal",
22
+ "Sigmoid",
23
+ "Constant",
24
+ "Softmax",
25
+ "Cast",
26
+ "Expand",
27
+ "Unsqueeze",
28
+ "Transpose",
29
+ "Range"
30
+ ],
31
+ "weight_type": "QInt8"
32
+ },
33
+ "decoder_with_past_model": {
34
+ "op_types": [
35
+ "Sub",
36
+ "Mul",
37
+ "ReduceMean",
38
+ "MatMul",
39
+ "Shape",
40
+ "Reshape",
41
+ "Where",
42
+ "Gather",
43
+ "Sqrt",
44
+ "Div",
45
+ "Pow",
46
+ "ConstantOfShape",
47
+ "Add",
48
+ "Concat",
49
+ "Equal",
50
+ "Sigmoid",
51
+ "Constant",
52
+ "Softmax",
53
+ "Cast",
54
+ "Expand",
55
+ "Unsqueeze",
56
+ "Transpose",
57
+ "Range"
58
+ ],
59
+ "weight_type": "QInt8"
60
+ },
61
+ "decoder_model_merged": {
62
+ "op_types": [
63
+ "Sub",
64
+ "Mul",
65
+ "ReduceMean",
66
+ "MatMul",
67
+ "Shape",
68
+ "Reshape",
69
+ "Where",
70
+ "Gather",
71
+ "Sqrt",
72
+ "Less",
73
+ "Div",
74
+ "Pow",
75
+ "ConstantOfShape",
76
+ "Add",
77
+ "Concat",
78
+ "Equal",
79
+ "Sigmoid",
80
+ "Slice",
81
+ "If",
82
+ "Constant",
83
+ "Softmax",
84
+ "Cast",
85
+ "Expand",
86
+ "Unsqueeze",
87
+ "Transpose",
88
+ "Range",
89
+ "Squeeze"
90
+ ],
91
+ "weight_type": "QInt8"
92
+ },
93
+ "decoder_model": {
94
+ "op_types": [
95
+ "Sub",
96
+ "Mul",
97
+ "ReduceMean",
98
+ "MatMul",
99
+ "Shape",
100
+ "Reshape",
101
+ "Where",
102
+ "Gather",
103
+ "Sqrt",
104
+ "Less",
105
+ "Div",
106
+ "Pow",
107
+ "ConstantOfShape",
108
+ "Add",
109
+ "Concat",
110
+ "Equal",
111
+ "Sigmoid",
112
+ "Slice",
113
+ "Constant",
114
+ "Softmax",
115
+ "Cast",
116
+ "Expand",
117
+ "Unsqueeze",
118
+ "Transpose",
119
+ "Range",
120
+ "Squeeze"
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:d989ee1653a22aa05280110ca2abaccb8a77b397a64f14576984f0a9f9a8d2ec
3
+ size 1049819
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:1d8d0a245c07efca75da76f0c68e9d61bc9667af1ee81d230faf14869653b234
3
+ size 1031670
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": "rus",
8
+ "sp_model_kwargs": {},
9
+ "target_lang": "ukr",
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