Xenova HF staff commited on
Commit
b228a28
1 Parent(s): 48bf8cb

Upload folder using huggingface_hub

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