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 +33 -0
config.json
CHANGED
@@ -18,6 +18,6 @@
|
|
18 |
"seq_classif_dropout": 0.2,
|
19 |
"sinusoidal_pos_embds": false,
|
20 |
"tie_weights_": true,
|
21 |
-
"transformers_version": "4.
|
22 |
"vocab_size": 30522
|
23 |
}
|
|
|
18 |
"seq_classif_dropout": 0.2,
|
19 |
"sinusoidal_pos_embds": false,
|
20 |
"tie_weights_": true,
|
21 |
+
"transformers_version": "4.33.0.dev0",
|
22 |
"vocab_size": 30522
|
23 |
}
|
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:8ca11af9a73c6ae6ac519c16cbce48331eb67fb3df64f8fccb52096c69a27872
|
3 |
+
size 268079955
|
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:52ff4db0aaa896d9af790a1464373a77923dcd27d0479859f429598c888d8b09
|
3 |
+
size 67710626
|
quantize_config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": true,
|
3 |
+
"reduce_range": true,
|
4 |
+
"per_model_config": {
|
5 |
+
"model": {
|
6 |
+
"op_types": [
|
7 |
+
"Add",
|
8 |
+
"Concat",
|
9 |
+
"Unsqueeze",
|
10 |
+
"Shape",
|
11 |
+
"Sub",
|
12 |
+
"Where",
|
13 |
+
"Softmax",
|
14 |
+
"Erf",
|
15 |
+
"Pow",
|
16 |
+
"Gather",
|
17 |
+
"Div",
|
18 |
+
"MatMul",
|
19 |
+
"Equal",
|
20 |
+
"Mul",
|
21 |
+
"Cast",
|
22 |
+
"Expand",
|
23 |
+
"Constant",
|
24 |
+
"Transpose",
|
25 |
+
"Slice",
|
26 |
+
"ReduceMean",
|
27 |
+
"Sqrt",
|
28 |
+
"Reshape"
|
29 |
+
],
|
30 |
+
"weight_type": "QInt8"
|
31 |
+
}
|
32 |
+
}
|
33 |
+
}
|