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