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 +36 -0
config.json
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
"num_hidden_layers": 6,
|
20 |
"pad_token_id": 1,
|
21 |
"position_embedding_type": "absolute",
|
22 |
-
"transformers_version": "4.
|
23 |
"type_vocab_size": 1,
|
24 |
"use_cache": true,
|
25 |
"vocab_size": 50265
|
|
|
19 |
"num_hidden_layers": 6,
|
20 |
"pad_token_id": 1,
|
21 |
"position_embedding_type": "absolute",
|
22 |
+
"transformers_version": "4.33.0.dev0",
|
23 |
"type_vocab_size": 1,
|
24 |
"use_cache": true,
|
25 |
"vocab_size": 50265
|
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:323fe48b2c838dc62c21b07b7681634031b47218553afd1bbd81eaa5dade5393
|
3 |
+
size 328829650
|
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:83ace14b3376ef74309dc5d4703471ebe1946fe796c93a0e8fc892f455ffb473
|
3 |
+
size 82970431
|
quantize_config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": true,
|
3 |
+
"reduce_range": true,
|
4 |
+
"per_model_config": {
|
5 |
+
"model": {
|
6 |
+
"op_types": [
|
7 |
+
"Where",
|
8 |
+
"Cast",
|
9 |
+
"Softmax",
|
10 |
+
"Unsqueeze",
|
11 |
+
"Reshape",
|
12 |
+
"Pow",
|
13 |
+
"Transpose",
|
14 |
+
"ConstantOfShape",
|
15 |
+
"Sqrt",
|
16 |
+
"ReduceMean",
|
17 |
+
"Concat",
|
18 |
+
"Equal",
|
19 |
+
"Sub",
|
20 |
+
"Gather",
|
21 |
+
"CumSum",
|
22 |
+
"Div",
|
23 |
+
"MatMul",
|
24 |
+
"Not",
|
25 |
+
"Mul",
|
26 |
+
"Slice",
|
27 |
+
"Add",
|
28 |
+
"Expand",
|
29 |
+
"Constant",
|
30 |
+
"Shape",
|
31 |
+
"Erf"
|
32 |
+
],
|
33 |
+
"weight_type": "QInt8"
|
34 |
+
}
|
35 |
+
}
|
36 |
+
}
|