Upload 7 files
Browse files- config.json +95 -0
- model_quantized.onnx +3 -0
- ort_config.json +35 -0
- special_tokens_map.json +37 -0
- tokenizer.json +0 -0
- tokenizer_config.json +62 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/tmp/tmplotfp6ra",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
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 |
+
"id2label": {
|
12 |
+
"0": "O",
|
13 |
+
"1": "B-PER",
|
14 |
+
"2": "I-PER",
|
15 |
+
"3": "B-LOC",
|
16 |
+
"4": "I-LOC",
|
17 |
+
"5": "B-ORG",
|
18 |
+
"6": "I-ORG",
|
19 |
+
"7": "B-ANIM",
|
20 |
+
"8": "I-ANIM",
|
21 |
+
"9": "B-BIO",
|
22 |
+
"10": "I-BIO",
|
23 |
+
"11": "B-CEL",
|
24 |
+
"12": "I-CEL",
|
25 |
+
"13": "B-DIS",
|
26 |
+
"14": "I-DIS",
|
27 |
+
"15": "B-EVE",
|
28 |
+
"16": "I-EVE",
|
29 |
+
"17": "B-FOOD",
|
30 |
+
"18": "I-FOOD",
|
31 |
+
"19": "B-INST",
|
32 |
+
"20": "I-INST",
|
33 |
+
"21": "B-MEDIA",
|
34 |
+
"22": "I-MEDIA",
|
35 |
+
"23": "B-PLANT",
|
36 |
+
"24": "I-PLANT",
|
37 |
+
"25": "B-MYTH",
|
38 |
+
"26": "I-MYTH",
|
39 |
+
"27": "B-TIME",
|
40 |
+
"28": "I-TIME",
|
41 |
+
"29": "B-VEHI",
|
42 |
+
"30": "I-VEHI",
|
43 |
+
"31": "B-MISC",
|
44 |
+
"32": "I-MISC"
|
45 |
+
},
|
46 |
+
"initializer_range": 0.02,
|
47 |
+
"intermediate_size": 3072,
|
48 |
+
"label2id": {
|
49 |
+
"B-ANIM": 7,
|
50 |
+
"B-BIO": 9,
|
51 |
+
"B-CEL": 11,
|
52 |
+
"B-DIS": 13,
|
53 |
+
"B-EVE": 15,
|
54 |
+
"B-FOOD": 17,
|
55 |
+
"B-INST": 19,
|
56 |
+
"B-LOC": 3,
|
57 |
+
"B-MEDIA": 21,
|
58 |
+
"B-MISC": 31,
|
59 |
+
"B-MYTH": 25,
|
60 |
+
"B-ORG": 5,
|
61 |
+
"B-PER": 1,
|
62 |
+
"B-PLANT": 23,
|
63 |
+
"B-TIME": 27,
|
64 |
+
"B-VEHI": 29,
|
65 |
+
"I-ANIM": 8,
|
66 |
+
"I-BIO": 10,
|
67 |
+
"I-CEL": 12,
|
68 |
+
"I-DIS": 14,
|
69 |
+
"I-EVE": 16,
|
70 |
+
"I-FOOD": 18,
|
71 |
+
"I-INST": 20,
|
72 |
+
"I-LOC": 4,
|
73 |
+
"I-MEDIA": 22,
|
74 |
+
"I-MISC": 32,
|
75 |
+
"I-MYTH": 26,
|
76 |
+
"I-ORG": 6,
|
77 |
+
"I-PER": 2,
|
78 |
+
"I-PLANT": 24,
|
79 |
+
"I-TIME": 28,
|
80 |
+
"I-VEHI": 30,
|
81 |
+
"O": 0
|
82 |
+
},
|
83 |
+
"layer_norm_eps": 1e-12,
|
84 |
+
"max_position_embeddings": 512,
|
85 |
+
"model_type": "bert",
|
86 |
+
"num_attention_heads": 12,
|
87 |
+
"num_hidden_layers": 12,
|
88 |
+
"pad_token_id": 0,
|
89 |
+
"position_embedding_type": "absolute",
|
90 |
+
"torch_dtype": "float32",
|
91 |
+
"transformers_version": "4.37.2",
|
92 |
+
"type_vocab_size": 2,
|
93 |
+
"use_cache": true,
|
94 |
+
"vocab_size": 31102
|
95 |
+
}
|
model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6fac853b07e6ee283b3c8d8e1c53bcc23376d3af8dba40fac4f682effd24263c
|
3 |
+
size 110214576
|
ort_config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"one_external_file": true,
|
3 |
+
"opset": null,
|
4 |
+
"optimization": {},
|
5 |
+
"optimum_version": "1.17.1",
|
6 |
+
"quantization": {
|
7 |
+
"activations_dtype": "QUInt8",
|
8 |
+
"activations_symmetric": false,
|
9 |
+
"format": "QOperator",
|
10 |
+
"is_static": false,
|
11 |
+
"mode": "IntegerOps",
|
12 |
+
"nodes_to_exclude": [],
|
13 |
+
"nodes_to_quantize": [],
|
14 |
+
"operators_to_quantize": [
|
15 |
+
"Conv",
|
16 |
+
"MatMul",
|
17 |
+
"Attention",
|
18 |
+
"LSTM",
|
19 |
+
"Gather",
|
20 |
+
"Transpose",
|
21 |
+
"EmbedLayerNormalization"
|
22 |
+
],
|
23 |
+
"per_channel": false,
|
24 |
+
"qdq_add_pair_to_weight": false,
|
25 |
+
"qdq_dedicated_pair": false,
|
26 |
+
"qdq_op_type_per_channel_support_to_axis": {
|
27 |
+
"MatMul": 1
|
28 |
+
},
|
29 |
+
"reduce_range": false,
|
30 |
+
"weights_dtype": "QInt8",
|
31 |
+
"weights_symmetric": true
|
32 |
+
},
|
33 |
+
"transformers_version": "4.37.2",
|
34 |
+
"use_external_data_format": false
|
35 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"mask_token": {
|
10 |
+
"content": "[MASK]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"sep_token": {
|
24 |
+
"content": "[SEP]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "[UNK]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"101": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"102": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"103": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"104": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_basic_tokenize": true,
|
47 |
+
"do_lower_case": false,
|
48 |
+
"mask_token": "[MASK]",
|
49 |
+
"max_len": 512,
|
50 |
+
"max_length": 512,
|
51 |
+
"model_max_length": 512,
|
52 |
+
"never_split": null,
|
53 |
+
"pad_token": "[PAD]",
|
54 |
+
"sep_token": "[SEP]",
|
55 |
+
"stride": 0,
|
56 |
+
"strip_accents": null,
|
57 |
+
"tokenize_chinese_chars": true,
|
58 |
+
"tokenizer_class": "BertTokenizer",
|
59 |
+
"truncation_side": "right",
|
60 |
+
"truncation_strategy": "longest_first",
|
61 |
+
"unk_token": "[UNK]"
|
62 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|