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 +18 -18
- 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:07069fd131188b82ee7edfa8701cd8171a0fbd1d3af7467804cc18f701c25d4d
|
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:3f590bca5ead742abd50542fdb187a45c646da2b7f39c3398e20ad88832b5628
|
3 |
+
size 482169233
|
quantize_config.json
CHANGED
@@ -4,29 +4,29 @@
|
|
4 |
"per_model_config": {
|
5 |
"model": {
|
6 |
"op_types": [
|
7 |
-
"
|
8 |
-
"Reshape",
|
9 |
-
"Sub",
|
10 |
-
"Erf",
|
11 |
-
"Add",
|
12 |
-
"Where",
|
13 |
-
"Unsqueeze",
|
14 |
-
"Div",
|
15 |
-
"Pow",
|
16 |
-
"Shape",
|
17 |
-
"Gather",
|
18 |
"Concat",
|
19 |
-
"Mul",
|
20 |
-
"Constant",
|
21 |
"MatMul",
|
|
|
|
|
|
|
22 |
"Sqrt",
|
23 |
-
"
|
24 |
"Not",
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
"Cast",
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
|
|
|
|
|
|
30 |
],
|
31 |
"weight_type": "QInt8"
|
32 |
}
|
|
|
4 |
"per_model_config": {
|
5 |
"model": {
|
6 |
"op_types": [
|
7 |
+
"CumSum",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
"Concat",
|
|
|
|
|
9 |
"MatMul",
|
10 |
+
"Sub",
|
11 |
+
"Reshape",
|
12 |
+
"Shape",
|
13 |
"Sqrt",
|
14 |
+
"Softmax",
|
15 |
"Not",
|
16 |
+
"Where",
|
17 |
+
"Mul",
|
18 |
+
"Transpose",
|
19 |
+
"Pow",
|
20 |
+
"ReduceSum",
|
21 |
+
"Gather",
|
22 |
"Cast",
|
23 |
+
"Constant",
|
24 |
+
"Add",
|
25 |
+
"Equal",
|
26 |
+
"Div",
|
27 |
+
"Erf",
|
28 |
+
"Unsqueeze",
|
29 |
+
"ReduceMean"
|
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 |
}
|