Upload 8 files
Browse files- config.json +1 -2
- onnx/model.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- quantize_config.json +30 -0
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "Mihaiii/
|
3 |
"architectures": [
|
4 |
"BertModel"
|
5 |
],
|
@@ -17,7 +17,6 @@
|
|
17 |
"num_hidden_layers": 2,
|
18 |
"pad_token_id": 0,
|
19 |
"position_embedding_type": "absolute",
|
20 |
-
"torch_dtype": "float32",
|
21 |
"transformers_version": "4.40.1",
|
22 |
"type_vocab_size": 2,
|
23 |
"use_cache": true,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "Mihaiii/test11",
|
3 |
"architectures": [
|
4 |
"BertModel"
|
5 |
],
|
|
|
17 |
"num_hidden_layers": 2,
|
18 |
"pad_token_id": 0,
|
19 |
"position_embedding_type": "absolute",
|
|
|
20 |
"transformers_version": "4.40.1",
|
21 |
"type_vocab_size": 2,
|
22 |
"use_cache": true,
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:54ad2d882bc2c93ea1f5165a26b0667eac1b08264581740a8de75bf7ae3fef10
|
3 |
+
size 61917599
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ca17793b26a26017f7a331135b35c490ee2d49448cb6baebb58035310b84882
|
3 |
+
size 15612512
|
quantize_config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": true,
|
3 |
+
"reduce_range": true,
|
4 |
+
"per_model_config": {
|
5 |
+
"model": {
|
6 |
+
"op_types": [
|
7 |
+
"Div",
|
8 |
+
"Softmax",
|
9 |
+
"Slice",
|
10 |
+
"Transpose",
|
11 |
+
"Shape",
|
12 |
+
"Erf",
|
13 |
+
"Gather",
|
14 |
+
"Constant",
|
15 |
+
"Sub",
|
16 |
+
"Concat",
|
17 |
+
"MatMul",
|
18 |
+
"Sqrt",
|
19 |
+
"ReduceMean",
|
20 |
+
"Pow",
|
21 |
+
"Mul",
|
22 |
+
"Cast",
|
23 |
+
"Reshape",
|
24 |
+
"Add",
|
25 |
+
"Unsqueeze"
|
26 |
+
],
|
27 |
+
"weight_type": "QInt8"
|
28 |
+
}
|
29 |
+
}
|
30 |
+
}
|