Xenova HF staff commited on
Commit
beaa15e
1 Parent(s): 86253fe

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ 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
+ 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-en-uk",
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
+ 61586
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": 61586,
26
+ "decoder_vocab_size": 61587,
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": 61586,
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": 61587
60
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 61586
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 61586,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 61586,
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:0062cc59b39a40f11aa32d3314e5224252fbb002b2e0090f9e80dc7c46e26273
3
+ size 228598141
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c2373ce4a47c70a30d94a831f4575dd73dcd9b442d7228b6e87d8b7c815f170
3
+ size 228833708
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0892312ea1d359fb749b16deb5005246eb17974bd2b5424344b0e9ae83e0a142
3
+ size 58451180
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60881867e00ee1c5ef5fb79cde3a52e5d76437199731cd6896b1cd948bb3ea29
3
+ size 58080478
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c81dac772f548b1c2c23f6f6c4f825c8a3ced503dbdb3909983eafe757c0120
3
+ size 215947632
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26c8484cc35fbdcf8503f04d313dbca87b1db2170fb0dc7b83b7539ce15ae499
3
+ size 54809014
onnx/encoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c19ceebde08e5bd62de1e5badd618d1f2ed092b8397aaf5a60f450da54533e90
3
+ size 202946348
onnx/encoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:234c3738c258b3b7c913452a4ab6203b1a24f459355af8ef563dd4d94792d087
3
+ size 51151774
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
+ "Concat",
8
+ "Less",
9
+ "Slice",
10
+ "Gather",
11
+ "ReduceMean",
12
+ "Squeeze",
13
+ "Add",
14
+ "Sqrt",
15
+ "Equal",
16
+ "Shape",
17
+ "Transpose",
18
+ "Unsqueeze",
19
+ "ConstantOfShape",
20
+ "Expand",
21
+ "MatMul",
22
+ "Range",
23
+ "Softmax",
24
+ "Constant",
25
+ "Where",
26
+ "Sigmoid",
27
+ "Pow",
28
+ "Div",
29
+ "Sub",
30
+ "Cast",
31
+ "Reshape",
32
+ "Mul"
33
+ ],
34
+ "weight_type": "QInt8"
35
+ },
36
+ "encoder_model": {
37
+ "op_types": [
38
+ "Concat",
39
+ "Gather",
40
+ "ReduceMean",
41
+ "Add",
42
+ "Sqrt",
43
+ "Equal",
44
+ "Shape",
45
+ "Transpose",
46
+ "Unsqueeze",
47
+ "ConstantOfShape",
48
+ "Expand",
49
+ "MatMul",
50
+ "Range",
51
+ "Softmax",
52
+ "Constant",
53
+ "Where",
54
+ "Sigmoid",
55
+ "Pow",
56
+ "Div",
57
+ "Sub",
58
+ "Cast",
59
+ "Reshape",
60
+ "Mul"
61
+ ],
62
+ "weight_type": "QInt8"
63
+ },
64
+ "decoder_model_merged": {
65
+ "op_types": [
66
+ "Concat",
67
+ "Less",
68
+ "Slice",
69
+ "Gather",
70
+ "ReduceMean",
71
+ "Squeeze",
72
+ "Add",
73
+ "Sqrt",
74
+ "Equal",
75
+ "Shape",
76
+ "Transpose",
77
+ "Unsqueeze",
78
+ "ConstantOfShape",
79
+ "Expand",
80
+ "MatMul",
81
+ "Range",
82
+ "Softmax",
83
+ "Constant",
84
+ "Where",
85
+ "Sigmoid",
86
+ "Pow",
87
+ "Div",
88
+ "If",
89
+ "Sub",
90
+ "Cast",
91
+ "Reshape",
92
+ "Mul"
93
+ ],
94
+ "weight_type": "QInt8"
95
+ },
96
+ "decoder_with_past_model": {
97
+ "op_types": [
98
+ "Concat",
99
+ "Gather",
100
+ "ReduceMean",
101
+ "Add",
102
+ "Sqrt",
103
+ "Equal",
104
+ "Shape",
105
+ "Transpose",
106
+ "Unsqueeze",
107
+ "ConstantOfShape",
108
+ "Expand",
109
+ "MatMul",
110
+ "Range",
111
+ "Softmax",
112
+ "Constant",
113
+ "Where",
114
+ "Sigmoid",
115
+ "Pow",
116
+ "Div",
117
+ "Sub",
118
+ "Cast",
119
+ "Reshape",
120
+ "Mul"
121
+ ],
122
+ "weight_type": "QInt8"
123
+ }
124
+ }
125
+ }
source.spm ADDED
Binary file (809 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
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7abd810b2df512e6fe177f8732f6a0b3107614c84cc52aba20d805b4cb0d7b6b
3
+ size 1007605
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": "uk",
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