Upload folder using huggingface_hub
Browse files- config.json +1 -1
- onnx/model.onnx +1 -1
- onnx/model_quantized.onnx +1 -1
- quantize_config.json +36 -0
- tokenizer_config.json +7 -0
config.json
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
"num_hidden_layers": 6,
|
21 |
"pad_token_id": 1,
|
22 |
"position_embedding_type": "absolute",
|
23 |
-
"transformers_version": "4.
|
24 |
"type_vocab_size": 1,
|
25 |
"use_cache": true,
|
26 |
"vocab_size": 50265
|
|
|
20 |
"num_hidden_layers": 6,
|
21 |
"pad_token_id": 1,
|
22 |
"position_embedding_type": "absolute",
|
23 |
+
"transformers_version": "4.33.0.dev0",
|
24 |
"type_vocab_size": 1,
|
25 |
"use_cache": true,
|
26 |
"vocab_size": 50265
|
onnx/model.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 326239305
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9f1dc70dcb2c3f721f629235efd43815acd5e20b4e766dfb5059e919ba039b71
|
3 |
size 326239305
|
onnx/model_quantized.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 82133629
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0d293f3930cd803878f1d3aaebdd52817e5e2f76377d706e2a5543ee4561c57a
|
3 |
size 82133629
|
quantize_config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": true,
|
3 |
+
"reduce_range": true,
|
4 |
+
"per_model_config": {
|
5 |
+
"model": {
|
6 |
+
"op_types": [
|
7 |
+
"Concat",
|
8 |
+
"Sub",
|
9 |
+
"MatMul",
|
10 |
+
"Pow",
|
11 |
+
"Div",
|
12 |
+
"Constant",
|
13 |
+
"Not",
|
14 |
+
"Erf",
|
15 |
+
"Reshape",
|
16 |
+
"Transpose",
|
17 |
+
"Slice",
|
18 |
+
"Sqrt",
|
19 |
+
"Mul",
|
20 |
+
"Where",
|
21 |
+
"ReduceMean",
|
22 |
+
"Unsqueeze",
|
23 |
+
"ConstantOfShape",
|
24 |
+
"Shape",
|
25 |
+
"Cast",
|
26 |
+
"Gather",
|
27 |
+
"Add",
|
28 |
+
"CumSum",
|
29 |
+
"Expand",
|
30 |
+
"Softmax",
|
31 |
+
"Equal"
|
32 |
+
],
|
33 |
+
"weight_type": "QInt8"
|
34 |
+
}
|
35 |
+
}
|
36 |
+
}
|
tokenizer_config.json
CHANGED
@@ -6,10 +6,17 @@
|
|
6 |
"eos_token": "</s>",
|
7 |
"errors": "replace",
|
8 |
"mask_token": "<mask>",
|
|
|
9 |
"model_max_length": 512,
|
|
|
10 |
"pad_token": "<pad>",
|
|
|
|
|
11 |
"sep_token": "</s>",
|
|
|
12 |
"tokenizer_class": "RobertaTokenizer",
|
13 |
"trim_offsets": true,
|
|
|
|
|
14 |
"unk_token": "<unk>"
|
15 |
}
|
|
|
6 |
"eos_token": "</s>",
|
7 |
"errors": "replace",
|
8 |
"mask_token": "<mask>",
|
9 |
+
"max_length": 128,
|
10 |
"model_max_length": 512,
|
11 |
+
"pad_to_multiple_of": null,
|
12 |
"pad_token": "<pad>",
|
13 |
+
"pad_token_type_id": 0,
|
14 |
+
"padding_side": "right",
|
15 |
"sep_token": "</s>",
|
16 |
+
"stride": 0,
|
17 |
"tokenizer_class": "RobertaTokenizer",
|
18 |
"trim_offsets": true,
|
19 |
+
"truncation_side": "right",
|
20 |
+
"truncation_strategy": "longest_first",
|
21 |
"unk_token": "<unk>"
|
22 |
}
|