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 |
],
|
@@ -23,7 +23,6 @@
|
|
23 |
"num_hidden_layers": 3,
|
24 |
"pad_token_id": 0,
|
25 |
"position_embedding_type": "absolute",
|
26 |
-
"torch_dtype": "float32",
|
27 |
"transformers_version": "4.40.1",
|
28 |
"type_vocab_size": 2,
|
29 |
"use_cache": true,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "Mihaiii/test22",
|
3 |
"architectures": [
|
4 |
"BertModel"
|
5 |
],
|
|
|
23 |
"num_hidden_layers": 3,
|
24 |
"pad_token_id": 0,
|
25 |
"position_embedding_type": "absolute",
|
|
|
26 |
"transformers_version": "4.40.1",
|
27 |
"type_vocab_size": 2,
|
28 |
"use_cache": true,
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d013ae9979ca43cf9a3c6fcbeab8782789d1615a64cc3a983870c2bfff2fe1e8
|
3 |
+
size 69035106
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:28b6332f7ea7ab22b74d77ec8d58510f85a755d48032281f7d23f6c96c3ab254
|
3 |
+
size 17452601
|
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 |
+
"MatMul",
|
8 |
+
"Concat",
|
9 |
+
"Mul",
|
10 |
+
"Add",
|
11 |
+
"Reshape",
|
12 |
+
"Cast",
|
13 |
+
"Softmax",
|
14 |
+
"Shape",
|
15 |
+
"Constant",
|
16 |
+
"Sqrt",
|
17 |
+
"Unsqueeze",
|
18 |
+
"ReduceMean",
|
19 |
+
"Pow",
|
20 |
+
"Transpose",
|
21 |
+
"Gather",
|
22 |
+
"Erf",
|
23 |
+
"Sub",
|
24 |
+
"Div",
|
25 |
+
"Slice"
|
26 |
+
],
|
27 |
+
"weight_type": "QInt8"
|
28 |
+
}
|
29 |
+
}
|
30 |
+
}
|