Upload folder using huggingface_hub
Browse files- onnx/text_model.onnx +3 -0
- onnx/text_model_quantized.onnx +3 -0
- onnx/vision_model.onnx +3 -0
- onnx/vision_model_quantized.onnx +3 -0
- quantize_config.json +50 -25
onnx/text_model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7cd508d579ada8842f0c51e8e096c8838b985ad1e38b55e6f68b5b979665e7c7
|
3 |
+
size 494947485
|
onnx/text_model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e15106084b59672f1c39a2d5db13eeb7669be5ebf6ad6f7c4f91f717339cdcf1
|
3 |
+
size 124987662
|
onnx/vision_model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6c4567c7cea5e0720f18fb342287cff73ebbd35ecead845bac14b6cefed05c45
|
3 |
+
size 1217751719
|
onnx/vision_model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ee6c57374a9450be119b3c9f8768ff52ea27bfa521482b0eedeaa90b59a2ba9b
|
3 |
+
size 307331740
|
quantize_config.json
CHANGED
@@ -2,42 +2,67 @@
|
|
2 |
"per_channel": true,
|
3 |
"reduce_range": true,
|
4 |
"per_model_config": {
|
5 |
-
"
|
6 |
"op_types": [
|
7 |
-
"
|
8 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
"ReduceMean",
|
|
|
10 |
"Gather",
|
|
|
|
|
|
|
|
|
|
|
11 |
"MatMul",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
"Sigmoid",
|
|
|
|
|
|
|
|
|
13 |
"ConstantOfShape",
|
14 |
-
"Unsqueeze",
|
15 |
"ArgMax",
|
16 |
-
"
|
17 |
-
"Div",
|
18 |
-
"Less",
|
19 |
-
"Flatten",
|
20 |
-
"Softmax",
|
21 |
-
"Transpose",
|
22 |
-
"Constant",
|
23 |
-
"ReduceSum",
|
24 |
"Pow",
|
25 |
-
"Mul",
|
26 |
-
"Range",
|
27 |
-
"Equal",
|
28 |
-
"Squeeze",
|
29 |
-
"Abs",
|
30 |
-
"Sub",
|
31 |
-
"Add",
|
32 |
-
"Concat",
|
33 |
-
"Slice",
|
34 |
"Expand",
|
|
|
|
|
35 |
"Where",
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
],
|
40 |
-
"weight_type": "
|
41 |
}
|
42 |
}
|
43 |
}
|
|
|
2 |
"per_channel": true,
|
3 |
"reduce_range": true,
|
4 |
"per_model_config": {
|
5 |
+
"vision_model": {
|
6 |
"op_types": [
|
7 |
+
"Transpose",
|
8 |
+
"Softmax",
|
9 |
+
"Slice",
|
10 |
+
"Sigmoid",
|
11 |
+
"Equal",
|
12 |
+
"Sqrt",
|
13 |
+
"Reshape",
|
14 |
+
"ConstantOfShape",
|
15 |
+
"Cast",
|
16 |
+
"Pow",
|
17 |
+
"Expand",
|
18 |
+
"Where",
|
19 |
+
"Concat",
|
20 |
"ReduceMean",
|
21 |
+
"Add",
|
22 |
"Gather",
|
23 |
+
"Constant",
|
24 |
+
"Mul",
|
25 |
+
"Shape",
|
26 |
+
"Conv",
|
27 |
+
"Sub",
|
28 |
"MatMul",
|
29 |
+
"Unsqueeze",
|
30 |
+
"Div"
|
31 |
+
],
|
32 |
+
"weight_type": "QUInt8"
|
33 |
+
},
|
34 |
+
"text_model": {
|
35 |
+
"op_types": [
|
36 |
+
"Transpose",
|
37 |
+
"Softmax",
|
38 |
+
"Slice",
|
39 |
"Sigmoid",
|
40 |
+
"Flatten",
|
41 |
+
"Equal",
|
42 |
+
"Sqrt",
|
43 |
+
"Reshape",
|
44 |
"ConstantOfShape",
|
|
|
45 |
"ArgMax",
|
46 |
+
"Cast",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
"Pow",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
"Expand",
|
49 |
+
"Squeeze",
|
50 |
+
"Unsqueeze",
|
51 |
"Where",
|
52 |
+
"Concat",
|
53 |
+
"ReduceMean",
|
54 |
+
"Add",
|
55 |
+
"Gather",
|
56 |
+
"Constant",
|
57 |
+
"Range",
|
58 |
+
"Mul",
|
59 |
+
"Shape",
|
60 |
+
"Sub",
|
61 |
+
"MatMul",
|
62 |
+
"Less",
|
63 |
+
"Div"
|
64 |
],
|
65 |
+
"weight_type": "QInt8"
|
66 |
}
|
67 |
}
|
68 |
}
|