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": 24,
|
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": 24,
|
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 1417727640
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b89b8e23138941db4c4a2c72c119f1941f8f1f9f7ff0d813e784c6bc067d63bd
|
3 |
size 1417727640
|
onnx/model_quantized.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 357203959
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:adfebe52baad33233222ff7b02c1e6621eb77136eac1e15b3cd0aa2e240ebf8e
|
3 |
size 357203959
|
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 |
+
"Pow",
|
8 |
+
"Cast",
|
9 |
+
"Div",
|
10 |
+
"CumSum",
|
11 |
+
"Not",
|
12 |
+
"MatMul",
|
13 |
+
"ConstantOfShape",
|
14 |
+
"Equal",
|
15 |
+
"Mul",
|
16 |
+
"Concat",
|
17 |
+
"Shape",
|
18 |
+
"ReduceMean",
|
19 |
+
"Sub",
|
20 |
+
"Sqrt",
|
21 |
+
"Softmax",
|
22 |
+
"Transpose",
|
23 |
+
"Unsqueeze",
|
24 |
+
"Gather",
|
25 |
+
"Expand",
|
26 |
+
"Reshape",
|
27 |
+
"Constant",
|
28 |
+
"Erf",
|
29 |
+
"Where",
|
30 |
+
"Add",
|
31 |
+
"Slice"
|
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 |
}
|