Upload folder using huggingface_hub
Browse files- config.json +1 -1
- generation_config.json +1 -1
- onnx/model.onnx +2 -2
- onnx/model_quantized.onnx +2 -2
- quantize_config.json +30 -0
config.json
CHANGED
@@ -18,7 +18,7 @@
|
|
18 |
"num_hidden_layers": 12,
|
19 |
"pad_token_id": 0,
|
20 |
"position_embedding_type": "absolute",
|
21 |
-
"transformers_version": "4.
|
22 |
"type_vocab_size": 2,
|
23 |
"use_cache": true,
|
24 |
"vocab_size": 28996
|
|
|
18 |
"num_hidden_layers": 12,
|
19 |
"pad_token_id": 0,
|
20 |
"position_embedding_type": "absolute",
|
21 |
+
"transformers_version": "4.33.0.dev0",
|
22 |
"type_vocab_size": 2,
|
23 |
"use_cache": true,
|
24 |
"vocab_size": 28996
|
generation_config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"pad_token_id": 0,
|
4 |
-
"transformers_version": "4.
|
5 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"pad_token_id": 0,
|
4 |
+
"transformers_version": "4.33.0.dev0"
|
5 |
}
|
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:b8d9bfb5975103e93dd25fbc5318bdbfdbb65b7baa6f7a03697d66232380a516
|
3 |
+
size 433633812
|
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:9a213cb783bb2080b6bfce0df69e5030e8704aa5226bb9a236d29c7b717cec87
|
3 |
+
size 109670507
|
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 |
+
"Constant",
|
8 |
+
"Reshape",
|
9 |
+
"Shape",
|
10 |
+
"Softmax",
|
11 |
+
"Mul",
|
12 |
+
"Cast",
|
13 |
+
"Unsqueeze",
|
14 |
+
"Erf",
|
15 |
+
"Sub",
|
16 |
+
"Sqrt",
|
17 |
+
"Gather",
|
18 |
+
"Transpose",
|
19 |
+
"Pow",
|
20 |
+
"Div",
|
21 |
+
"MatMul",
|
22 |
+
"ReduceMean",
|
23 |
+
"Add",
|
24 |
+
"Slice",
|
25 |
+
"Concat"
|
26 |
+
],
|
27 |
+
"weight_type": "QInt8"
|
28 |
+
}
|
29 |
+
}
|
30 |
+
}
|