Upload folder using huggingface_hub
Browse files- config.json +1 -1
- onnx/model.onnx +2 -2
- onnx/model_quantized.onnx +2 -2
- quantize_config.json +31 -0
- tokenizer_config.json +7 -0
config.json
CHANGED
@@ -26,7 +26,7 @@
|
|
26 |
"num_memory_blocks": 0,
|
27 |
"pad_token_id": 0,
|
28 |
"position_embedding_type": "absolute",
|
29 |
-
"transformers_version": "4.
|
30 |
"type_vocab_size": 2,
|
31 |
"vocab_size": 30000
|
32 |
}
|
|
|
26 |
"num_memory_blocks": 0,
|
27 |
"pad_token_id": 0,
|
28 |
"position_embedding_type": "absolute",
|
29 |
+
"transformers_version": "4.33.0.dev0",
|
30 |
"type_vocab_size": 2,
|
31 |
"vocab_size": 30000
|
32 |
}
|
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:bfa8f39b9d7199cb045ec7d47ce243a315e5691388d823f24eb85bbe20b74d26
|
3 |
+
size 44722744
|
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:fd21debbbbed634e8ec2cbae146201e2e543a88c0c71646a1e14322a9e486744
|
3 |
+
size 39954616
|
quantize_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": true,
|
3 |
+
"reduce_range": true,
|
4 |
+
"per_model_config": {
|
5 |
+
"model": {
|
6 |
+
"op_types": [
|
7 |
+
"Tanh",
|
8 |
+
"ReduceMean",
|
9 |
+
"Cast",
|
10 |
+
"Unsqueeze",
|
11 |
+
"Pow",
|
12 |
+
"Softmax",
|
13 |
+
"Div",
|
14 |
+
"Shape",
|
15 |
+
"Slice",
|
16 |
+
"Identity",
|
17 |
+
"Sqrt",
|
18 |
+
"Concat",
|
19 |
+
"Sub",
|
20 |
+
"MatMul",
|
21 |
+
"Add",
|
22 |
+
"Constant",
|
23 |
+
"Gather",
|
24 |
+
"Mul",
|
25 |
+
"Reshape",
|
26 |
+
"Transpose"
|
27 |
+
],
|
28 |
+
"weight_type": "QInt8"
|
29 |
+
}
|
30 |
+
}
|
31 |
+
}
|
tokenizer_config.json
CHANGED
@@ -13,10 +13,17 @@
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
|
|
16 |
"model_max_length": 512,
|
|
|
17 |
"pad_token": "<pad>",
|
|
|
|
|
18 |
"remove_space": true,
|
19 |
"sep_token": "[SEP]",
|
|
|
20 |
"tokenizer_class": "AlbertTokenizer",
|
|
|
|
|
21 |
"unk_token": "<unk>"
|
22 |
}
|
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
+
"max_length": 100,
|
17 |
"model_max_length": 512,
|
18 |
+
"pad_to_multiple_of": null,
|
19 |
"pad_token": "<pad>",
|
20 |
+
"pad_token_type_id": 0,
|
21 |
+
"padding_side": "right",
|
22 |
"remove_space": true,
|
23 |
"sep_token": "[SEP]",
|
24 |
+
"stride": 0,
|
25 |
"tokenizer_class": "AlbertTokenizer",
|
26 |
+
"truncation_side": "right",
|
27 |
+
"truncation_strategy": "longest_first",
|
28 |
"unk_token": "<unk>"
|
29 |
}
|