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 +31 -0
config.json
CHANGED
@@ -26,7 +26,7 @@
|
|
26 |
"num_memory_blocks": 0,
|
27 |
"pad_token_id": 0,
|
28 |
"position_embedding_type": "absolute",
|
29 |
-
"transformers_version": "4.
|
30 |
"type_vocab_size": 2,
|
31 |
"vocab_size": 30000
|
32 |
}
|
|
|
26 |
"num_memory_blocks": 0,
|
27 |
"pad_token_id": 0,
|
28 |
"position_embedding_type": "absolute",
|
29 |
+
"transformers_version": "4.33.0.dev0",
|
30 |
"type_vocab_size": 2,
|
31 |
"vocab_size": 30000
|
32 |
}
|
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:3c0ae7eb336bc54e6abcb07e2dc21838ee86eda1f5bbc21d484aadc6d9de196b
|
3 |
+
size 45270931
|
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:636b4995540f04f548f3e3651e9ad606461d09f348c469341293516fe369adab
|
3 |
+
size 40221526
|
quantize_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": true,
|
3 |
+
"reduce_range": true,
|
4 |
+
"per_model_config": {
|
5 |
+
"model": {
|
6 |
+
"op_types": [
|
7 |
+
"ReduceMean",
|
8 |
+
"Cast",
|
9 |
+
"Add",
|
10 |
+
"Tanh",
|
11 |
+
"Pow",
|
12 |
+
"Reshape",
|
13 |
+
"Shape",
|
14 |
+
"Sqrt",
|
15 |
+
"Sub",
|
16 |
+
"Slice",
|
17 |
+
"Mul",
|
18 |
+
"Transpose",
|
19 |
+
"Constant",
|
20 |
+
"Softmax",
|
21 |
+
"MatMul",
|
22 |
+
"Identity",
|
23 |
+
"Unsqueeze",
|
24 |
+
"Concat",
|
25 |
+
"Div",
|
26 |
+
"Gather"
|
27 |
+
],
|
28 |
+
"weight_type": "QInt8"
|
29 |
+
}
|
30 |
+
}
|
31 |
+
}
|