Xenova HF staff commited on
Commit
6f6023d
·
1 Parent(s): 4b63107

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