kiranbandi
commited on
Commit
•
98828b2
1
Parent(s):
02e3db8
Upload 8 files
Browse files- config.json +25 -0
- onnx/model.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- quantize_config.json +32 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +22 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "maxspad/nlp-qual-q3i",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 3072,
|
13 |
+
"layer_norm_eps": 1e-12,
|
14 |
+
"max_position_embeddings": 512,
|
15 |
+
"model_type": "bert",
|
16 |
+
"num_attention_heads": 12,
|
17 |
+
"num_hidden_layers": 12,
|
18 |
+
"pad_token_id": 0,
|
19 |
+
"position_embedding_type": "absolute",
|
20 |
+
"problem_type": "single_label_classification",
|
21 |
+
"transformers_version": "4.33.2",
|
22 |
+
"type_vocab_size": 2,
|
23 |
+
"use_cache": true,
|
24 |
+
"vocab_size": 28996
|
25 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9b05378ffefa0c34ffabdc73c1fdfb7a14f57a14f3107a120a456190935c709
|
3 |
+
size 433514007
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dcd17ae19fb0cfb684c1a2d9bfee53466da7ae0012056b4a895c1300fc2dd768
|
3 |
+
size 109545269
|
quantize_config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": true,
|
3 |
+
"reduce_range": true,
|
4 |
+
"per_model_config": {
|
5 |
+
"model": {
|
6 |
+
"op_types": [
|
7 |
+
"Gemm",
|
8 |
+
"Add",
|
9 |
+
"Pow",
|
10 |
+
"ReduceMean",
|
11 |
+
"Div",
|
12 |
+
"Reshape",
|
13 |
+
"Softmax",
|
14 |
+
"Concat",
|
15 |
+
"Constant",
|
16 |
+
"Sqrt",
|
17 |
+
"Mul",
|
18 |
+
"Gather",
|
19 |
+
"Unsqueeze",
|
20 |
+
"Erf",
|
21 |
+
"Slice",
|
22 |
+
"Transpose",
|
23 |
+
"MatMul",
|
24 |
+
"Sub",
|
25 |
+
"Cast",
|
26 |
+
"Shape",
|
27 |
+
"Tanh"
|
28 |
+
],
|
29 |
+
"weight_type": "QInt8"
|
30 |
+
}
|
31 |
+
}
|
32 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_basic_tokenize": true,
|
5 |
+
"do_lower_case": false,
|
6 |
+
"mask_token": "[MASK]",
|
7 |
+
"max_length": 256,
|
8 |
+
"model_max_length": 1000000000000000019884624838656,
|
9 |
+
"never_split": null,
|
10 |
+
"pad_to_multiple_of": null,
|
11 |
+
"pad_token": "[PAD]",
|
12 |
+
"pad_token_type_id": 0,
|
13 |
+
"padding_side": "right",
|
14 |
+
"sep_token": "[SEP]",
|
15 |
+
"stride": 0,
|
16 |
+
"strip_accents": null,
|
17 |
+
"tokenize_chinese_chars": true,
|
18 |
+
"tokenizer_class": "BertTokenizer",
|
19 |
+
"truncation_side": "right",
|
20 |
+
"truncation_strategy": "longest_first",
|
21 |
+
"unk_token": "[UNK]"
|
22 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|