grazh commited on
Commit
289396f
·
verified ·
1 Parent(s): fee5a06

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "d4data/biomedical-ner-all",
4
+ "activation": "gelu",
5
+ "architectures": [
6
+ "DistilBertForTokenClassification"
7
+ ],
8
+ "attention_dropout": 0.1,
9
+ "dim": 768,
10
+ "dropout": 0.1,
11
+ "hidden_dim": 3072,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "B-Activity",
15
+ "2": "B-Administration",
16
+ "3": "B-Age",
17
+ "4": "B-Area",
18
+ "5": "B-Biological_attribute",
19
+ "6": "B-Biological_structure",
20
+ "7": "B-Clinical_event",
21
+ "8": "B-Color",
22
+ "9": "B-Coreference",
23
+ "10": "B-Date",
24
+ "11": "B-Detailed_description",
25
+ "12": "B-Diagnostic_procedure",
26
+ "13": "B-Disease_disorder",
27
+ "14": "B-Distance",
28
+ "15": "B-Dosage",
29
+ "16": "B-Duration",
30
+ "17": "B-Family_history",
31
+ "18": "B-Frequency",
32
+ "19": "B-Height",
33
+ "20": "B-History",
34
+ "21": "B-Lab_value",
35
+ "22": "B-Mass",
36
+ "23": "B-Medication",
37
+ "24": "B-Non[biological](Detailed_description",
38
+ "25": "B-Nonbiological_location",
39
+ "26": "B-Occupation",
40
+ "27": "B-Other_entity",
41
+ "28": "B-Other_event",
42
+ "29": "B-Outcome",
43
+ "30": "B-Personal_[back](Biological_structure",
44
+ "31": "B-Personal_background",
45
+ "32": "B-Qualitative_concept",
46
+ "33": "B-Quantitative_concept",
47
+ "34": "B-Severity",
48
+ "35": "B-Sex",
49
+ "36": "B-Shape",
50
+ "37": "B-Sign_symptom",
51
+ "38": "B-Subject",
52
+ "39": "B-Texture",
53
+ "40": "B-Therapeutic_procedure",
54
+ "41": "B-Time",
55
+ "42": "B-Volume",
56
+ "43": "B-Weight",
57
+ "44": "I-Activity",
58
+ "45": "I-Administration",
59
+ "46": "I-Age",
60
+ "47": "I-Area",
61
+ "48": "I-Biological_attribute",
62
+ "49": "I-Biological_structure",
63
+ "50": "I-Clinical_event",
64
+ "51": "I-Color",
65
+ "52": "I-Coreference",
66
+ "53": "I-Date",
67
+ "54": "I-Detailed_description",
68
+ "55": "I-Diagnostic_procedure",
69
+ "56": "I-Disease_disorder",
70
+ "57": "I-Distance",
71
+ "58": "I-Dosage",
72
+ "59": "I-Duration",
73
+ "60": "I-Family_history",
74
+ "61": "I-Frequency",
75
+ "62": "I-Height",
76
+ "63": "I-History",
77
+ "64": "I-Lab_value",
78
+ "65": "I-Mass",
79
+ "66": "I-Medication",
80
+ "67": "I-Nonbiological_location",
81
+ "68": "I-Occupation",
82
+ "69": "I-Other_entity",
83
+ "70": "I-Other_event",
84
+ "71": "I-Outcome",
85
+ "72": "I-Personal_background",
86
+ "73": "I-Qualitative_concept",
87
+ "74": "I-Quantitative_concept",
88
+ "75": "I-Severity",
89
+ "76": "I-Shape",
90
+ "77": "I-Sign_symptom",
91
+ "78": "I-Subject",
92
+ "79": "I-Texture",
93
+ "80": "I-Therapeutic_procedure",
94
+ "81": "I-Time",
95
+ "82": "I-Volume",
96
+ "83": "I-Weight"
97
+ },
98
+ "initializer_range": 0.02,
99
+ "label2id": {
100
+ "B-Activity": 1,
101
+ "B-Administration": 2,
102
+ "B-Age": 3,
103
+ "B-Area": 4,
104
+ "B-Biological_attribute": 5,
105
+ "B-Biological_structure": 6,
106
+ "B-Clinical_event": 7,
107
+ "B-Color": 8,
108
+ "B-Coreference": 9,
109
+ "B-Date": 10,
110
+ "B-Detailed_description": 11,
111
+ "B-Diagnostic_procedure": 12,
112
+ "B-Disease_disorder": 13,
113
+ "B-Distance": 14,
114
+ "B-Dosage": 15,
115
+ "B-Duration": 16,
116
+ "B-Family_history": 17,
117
+ "B-Frequency": 18,
118
+ "B-Height": 19,
119
+ "B-History": 20,
120
+ "B-Lab_value": 21,
121
+ "B-Mass": 22,
122
+ "B-Medication": 23,
123
+ "B-Non[biological](Detailed_description": 24,
124
+ "B-Nonbiological_location": 25,
125
+ "B-Occupation": 26,
126
+ "B-Other_entity": 27,
127
+ "B-Other_event": 28,
128
+ "B-Outcome": 29,
129
+ "B-Personal_[back](Biological_structure": 30,
130
+ "B-Personal_background": 31,
131
+ "B-Qualitative_concept": 32,
132
+ "B-Quantitative_concept": 33,
133
+ "B-Severity": 34,
134
+ "B-Sex": 35,
135
+ "B-Shape": 36,
136
+ "B-Sign_symptom": 37,
137
+ "B-Subject": 38,
138
+ "B-Texture": 39,
139
+ "B-Therapeutic_procedure": 40,
140
+ "B-Time": 41,
141
+ "B-Volume": 42,
142
+ "B-Weight": 43,
143
+ "I-Activity": 44,
144
+ "I-Administration": 45,
145
+ "I-Age": 46,
146
+ "I-Area": 47,
147
+ "I-Biological_attribute": 48,
148
+ "I-Biological_structure": 49,
149
+ "I-Clinical_event": 50,
150
+ "I-Color": 51,
151
+ "I-Coreference": 52,
152
+ "I-Date": 53,
153
+ "I-Detailed_description": 54,
154
+ "I-Diagnostic_procedure": 55,
155
+ "I-Disease_disorder": 56,
156
+ "I-Distance": 57,
157
+ "I-Dosage": 58,
158
+ "I-Duration": 59,
159
+ "I-Family_history": 60,
160
+ "I-Frequency": 61,
161
+ "I-Height": 62,
162
+ "I-History": 63,
163
+ "I-Lab_value": 64,
164
+ "I-Mass": 65,
165
+ "I-Medication": 66,
166
+ "I-Nonbiological_location": 67,
167
+ "I-Occupation": 68,
168
+ "I-Other_entity": 69,
169
+ "I-Other_event": 70,
170
+ "I-Outcome": 71,
171
+ "I-Personal_background": 72,
172
+ "I-Qualitative_concept": 73,
173
+ "I-Quantitative_concept": 74,
174
+ "I-Severity": 75,
175
+ "I-Shape": 76,
176
+ "I-Sign_symptom": 77,
177
+ "I-Subject": 78,
178
+ "I-Texture": 79,
179
+ "I-Therapeutic_procedure": 80,
180
+ "I-Time": 81,
181
+ "I-Volume": 82,
182
+ "I-Weight": 83,
183
+ "O": 0
184
+ },
185
+ "max_position_embeddings": 512,
186
+ "model_type": "distilbert",
187
+ "n_heads": 12,
188
+ "n_layers": 6,
189
+ "pad_token_id": 0,
190
+ "qa_dropout": 0.1,
191
+ "seq_classif_dropout": 0.2,
192
+ "sinusoidal_pos_embds": false,
193
+ "tie_weights_": true,
194
+ "torch_dtype": "float32",
195
+ "transformers_version": "4.49.0",
196
+ "vocab_size": 30522
197
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9030e297e46523287f01a265858c9700ee8e2891f7773cf4c6a54f90585916c
3
+ size 265843036
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b80db9fe3a9e41fda8db4ad52023866e74a23aacbb702dc395b1b2dc07553dfb
3
+ size 119645528
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86d06e4d8635322bab5735dafd360a8358d08d58c43c15a27425a33984f1297e
3
+ size 132988463
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f7fbaf4db27c9283fc32a26ad79028ee4f42817877da2a3193e62c3fcda3f00
3
+ size 67002983
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d3a6c3e50a962a3abe6c0277f05bfe7402a4768af8c64891d711a578d14ddc1
3
+ size 122303495
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:768881e89d6b5f0b74c7eb8b136118ef16bb56c108366976e56d7001b12c6a0a
3
+ size 71854410
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f7fbaf4db27c9283fc32a26ad79028ee4f42817877da2a3193e62c3fcda3f00
3
+ size 67002983
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db474f6b0ee499270ed35ba76c2c5f39d7a23d5df43658219a613c58fbb6b58a
3
+ size 67002983
quantize_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "modes": [
3
+ "fp16",
4
+ "q8",
5
+ "int8",
6
+ "uint8",
7
+ "q4",
8
+ "q4f16",
9
+ "bnb4"
10
+ ],
11
+ "per_channel": true,
12
+ "reduce_range": true,
13
+ "block_size": null,
14
+ "is_symmetric": true,
15
+ "accuracy_level": null,
16
+ "quant_type": 1,
17
+ "op_block_list": null
18
+ }
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,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
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": false,
45
+ "cls_token": "[CLS]",
46
+ "cuda": 0,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_length": 512,
51
+ "model_max_length": 512,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "stride": 0,
55
+ "strip_accents": null,
56
+ "tokenize_chinese_chars": true,
57
+ "tokenizer_class": "DistilBertTokenizer",
58
+ "truncation_side": "right",
59
+ "truncation_strategy": "longest_first",
60
+ "unk_token": "[UNK]"
61
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff