Upload folder using huggingface_hub
Browse files- config.json +1 -1
- onnx/model.onnx +2 -2
- onnx/model_quantized.onnx +2 -2
- quantize_config.json +17 -17
- tokenizer_config.json +40 -1
config.json
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
"position_embedding_type": "absolute",
|
22 |
"tie_word_embeddings": false,
|
23 |
"token_dropout": true,
|
24 |
-
"transformers_version": "4.
|
25 |
"use_cache": false,
|
26 |
"vocab_list": null,
|
27 |
"vocab_size": 4105
|
|
|
21 |
"position_embedding_type": "absolute",
|
22 |
"tie_word_embeddings": false,
|
23 |
"token_dropout": true,
|
24 |
+
"transformers_version": "4.36.0.dev0",
|
25 |
"use_cache": false,
|
26 |
"vocab_list": null,
|
27 |
"vocab_size": 4105
|
onnx/model.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a85063dab3cffeb54aef654851cde75399eca929b6b45c1b647cca86b8ec07fd
|
3 |
+
size 1915651038
|
onnx/model_quantized.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3bb9ab3a09c995ce6a242a3360429f6f245702519b7c85c65848bb7a1f244d39
|
3 |
+
size 482169232
|
quantize_config.json
CHANGED
@@ -4,29 +4,29 @@
|
|
4 |
"per_model_config": {
|
5 |
"model": {
|
6 |
"op_types": [
|
7 |
-
"MatMul",
|
8 |
-
"Equal",
|
9 |
-
"Reshape",
|
10 |
-
"Concat",
|
11 |
-
"ReduceSum",
|
12 |
-
"Unsqueeze",
|
13 |
-
"Transpose",
|
14 |
-
"Pow",
|
15 |
-
"ReduceMean",
|
16 |
"CumSum",
|
17 |
-
"Not",
|
18 |
-
"Shape",
|
19 |
-
"Softmax",
|
20 |
-
"Add",
|
21 |
"Cast",
|
|
|
22 |
"Mul",
|
23 |
"Constant",
|
24 |
-
"
|
25 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
"Erf",
|
|
|
27 |
"Gather",
|
28 |
-
"
|
29 |
-
"
|
|
|
|
|
|
|
|
|
30 |
],
|
31 |
"weight_type": "QInt8"
|
32 |
}
|
|
|
4 |
"per_model_config": {
|
5 |
"model": {
|
6 |
"op_types": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
"CumSum",
|
|
|
|
|
|
|
|
|
8 |
"Cast",
|
9 |
+
"Transpose",
|
10 |
"Mul",
|
11 |
"Constant",
|
12 |
+
"Sqrt",
|
13 |
+
"Div",
|
14 |
+
"Not",
|
15 |
+
"Add",
|
16 |
+
"Reshape",
|
17 |
+
"Softmax",
|
18 |
+
"Shape",
|
19 |
+
"ReduceSum",
|
20 |
+
"MatMul",
|
21 |
"Erf",
|
22 |
+
"Equal",
|
23 |
"Gather",
|
24 |
+
"Unsqueeze",
|
25 |
+
"Pow",
|
26 |
+
"ReduceMean",
|
27 |
+
"Where",
|
28 |
+
"Concat",
|
29 |
+
"Sub"
|
30 |
],
|
31 |
"weight_type": "QInt8"
|
32 |
}
|
tokenizer_config.json
CHANGED
@@ -1,5 +1,44 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"clean_up_tokenization_spaces": true,
|
|
|
|
|
|
|
3 |
"model_max_length": 1000,
|
4 |
-
"
|
|
|
|
|
5 |
}
|
|
|
1 |
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<unk>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<pad>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "<mask>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "<cls>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
}
|
35 |
+
},
|
36 |
"clean_up_tokenization_spaces": true,
|
37 |
+
"cls_token": "<cls>",
|
38 |
+
"eos_token": null,
|
39 |
+
"mask_token": "<mask>",
|
40 |
"model_max_length": 1000,
|
41 |
+
"pad_token": "<pad>",
|
42 |
+
"tokenizer_class": "EsmTokenizer",
|
43 |
+
"unk_token": "<unk>"
|
44 |
}
|