dreji18 commited on
Commit
9b31cb1
1 Parent(s): adc4c95

adding model files

Browse files
config.json ADDED
@@ -0,0 +1,242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForTokenClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "O",
13
+ "1": "B-Activity",
14
+ "2": "B-Administration",
15
+ "3": "B-Age",
16
+ "4": "B-Area",
17
+ "5": "B-Biological_attribute",
18
+ "6": "B-Biological_structure",
19
+ "7": "B-Clinical_[even](Lab_value",
20
+ "8": "B-Clinical_e[vent](Therapeutic_procedure",
21
+ "9": "B-Clinical_event",
22
+ "10": "B-Color",
23
+ "11": "B-Coreference",
24
+ "12": "B-Date",
25
+ "13": "B-Detailed_description",
26
+ "14": "B-Diag[no](Lab_value",
27
+ "15": "B-Diagnostic_[procedure](Coreference",
28
+ "16": "B-Diagnostic_procedure",
29
+ "17": "B-Disease_disorder",
30
+ "18": "B-Distance",
31
+ "19": "B-Dosage",
32
+ "20": "B-Duration",
33
+ "21": "B-Family_history",
34
+ "22": "B-Frequency",
35
+ "23": "B-Height",
36
+ "24": "B-History",
37
+ "25": "B-La[b](Sign_symptom",
38
+ "26": "B-Lab_value",
39
+ "27": "B-Mass",
40
+ "28": "B-Medication",
41
+ "29": "B-Non[b](Sign_symptom",
42
+ "30": "B-Non[biological](Detailed_description",
43
+ "31": "B-Nonbiological_location",
44
+ "32": "B-Occupation",
45
+ "33": "B-Other_entity",
46
+ "34": "B-Other_event",
47
+ "35": "B-Outcome",
48
+ "36": "B-Personal_[back](Biological_structure",
49
+ "37": "B-Personal_backg[round](Detailed_description",
50
+ "38": "B-Personal_backg[round](Shape",
51
+ "39": "B-Personal_background",
52
+ "40": "B-Qualitative_concept",
53
+ "41": "B-Quantitative_concept",
54
+ "42": "B-Sever[it](Coreference",
55
+ "43": "B-Severity",
56
+ "44": "B-Sex",
57
+ "45": "B-Shape",
58
+ "46": "B-Sign_[symptom](Sign_symptom",
59
+ "47": "B-Sign_symptom",
60
+ "48": "B-Su[b](Sign_symptom",
61
+ "49": "B-Subject",
62
+ "50": "B-Texture",
63
+ "51": "B-The[rap](Detailed_description",
64
+ "52": "B-Therapeutic_[procedure](Coreference",
65
+ "53": "B-Therapeutic_procedure",
66
+ "54": "B-Time",
67
+ "55": "B-Volume",
68
+ "56": "B-Weight",
69
+ "57": "B-[A](Lab_value",
70
+ "58": "I-Activity",
71
+ "59": "I-Administration",
72
+ "60": "I-Age",
73
+ "61": "I-Area",
74
+ "62": "I-Biological_attribute",
75
+ "63": "I-Biological_structure",
76
+ "64": "I-Clinical_event",
77
+ "65": "I-Color",
78
+ "66": "I-Coreference",
79
+ "67": "I-Date",
80
+ "68": "I-Detailed_description",
81
+ "69": "I-Diag[no](Lab_value",
82
+ "70": "I-Diagnostic_[procedure](Coreference",
83
+ "71": "I-Diagnostic_procedure",
84
+ "72": "I-Disease_disorder",
85
+ "73": "I-Distance",
86
+ "74": "I-Dosage",
87
+ "75": "I-Duration",
88
+ "76": "I-Family_history",
89
+ "77": "I-Frequency",
90
+ "78": "I-Height",
91
+ "79": "I-History",
92
+ "80": "I-La[b](Sign_symptom",
93
+ "81": "I-Lab_value",
94
+ "82": "I-Mass",
95
+ "83": "I-Medication",
96
+ "84": "I-Non[b](Sign_symptom",
97
+ "85": "I-Nonbiological_location",
98
+ "86": "I-Occupation",
99
+ "87": "I-Other_entity",
100
+ "88": "I-Other_event",
101
+ "89": "I-Outcome",
102
+ "90": "I-Personal_backg[round](Shape",
103
+ "91": "I-Personal_background",
104
+ "92": "I-Qualitative_concept",
105
+ "93": "I-Quantitative_concept",
106
+ "94": "I-Severity",
107
+ "95": "I-Shape",
108
+ "96": "I-Sign_[symptom](Sign_symptom",
109
+ "97": "I-Sign_symptom",
110
+ "98": "I-Subject",
111
+ "99": "I-Texture",
112
+ "100": "I-The[rap](Detailed_description",
113
+ "101": "I-Therapeutic_[procedure](Coreference",
114
+ "102": "I-Therapeutic_procedure",
115
+ "103": "I-Time",
116
+ "104": "I-Volume",
117
+ "105": "I-Weight",
118
+ "106": "I-[A](Lab_value"
119
+ },
120
+ "initializer_range": 0.02,
121
+ "label2id": {
122
+ "B-Activity": 1,
123
+ "B-Administration": 2,
124
+ "B-Age": 3,
125
+ "B-Area": 4,
126
+ "B-Biological_attribute": 5,
127
+ "B-Biological_structure": 6,
128
+ "B-Clinical_[even](Lab_value": 7,
129
+ "B-Clinical_e[vent](Therapeutic_procedure": 8,
130
+ "B-Clinical_event": 9,
131
+ "B-Color": 10,
132
+ "B-Coreference": 11,
133
+ "B-Date": 12,
134
+ "B-Detailed_description": 13,
135
+ "B-Diag[no](Lab_value": 14,
136
+ "B-Diagnostic_[procedure](Coreference": 15,
137
+ "B-Diagnostic_procedure": 16,
138
+ "B-Disease_disorder": 17,
139
+ "B-Distance": 18,
140
+ "B-Dosage": 19,
141
+ "B-Duration": 20,
142
+ "B-Family_history": 21,
143
+ "B-Frequency": 22,
144
+ "B-Height": 23,
145
+ "B-History": 24,
146
+ "B-La[b](Sign_symptom": 25,
147
+ "B-Lab_value": 26,
148
+ "B-Mass": 27,
149
+ "B-Medication": 28,
150
+ "B-Non[b](Sign_symptom": 29,
151
+ "B-Non[biological](Detailed_description": 30,
152
+ "B-Nonbiological_location": 31,
153
+ "B-Occupation": 32,
154
+ "B-Other_entity": 33,
155
+ "B-Other_event": 34,
156
+ "B-Outcome": 35,
157
+ "B-Personal_[back](Biological_structure": 36,
158
+ "B-Personal_backg[round](Detailed_description": 37,
159
+ "B-Personal_backg[round](Shape": 38,
160
+ "B-Personal_background": 39,
161
+ "B-Qualitative_concept": 40,
162
+ "B-Quantitative_concept": 41,
163
+ "B-Sever[it](Coreference": 42,
164
+ "B-Severity": 43,
165
+ "B-Sex": 44,
166
+ "B-Shape": 45,
167
+ "B-Sign_[symptom](Sign_symptom": 46,
168
+ "B-Sign_symptom": 47,
169
+ "B-Su[b](Sign_symptom": 48,
170
+ "B-Subject": 49,
171
+ "B-Texture": 50,
172
+ "B-The[rap](Detailed_description": 51,
173
+ "B-Therapeutic_[procedure](Coreference": 52,
174
+ "B-Therapeutic_procedure": 53,
175
+ "B-Time": 54,
176
+ "B-Volume": 55,
177
+ "B-Weight": 56,
178
+ "B-[A](Lab_value": 57,
179
+ "I-Activity": 58,
180
+ "I-Administration": 59,
181
+ "I-Age": 60,
182
+ "I-Area": 61,
183
+ "I-Biological_attribute": 62,
184
+ "I-Biological_structure": 63,
185
+ "I-Clinical_event": 64,
186
+ "I-Color": 65,
187
+ "I-Coreference": 66,
188
+ "I-Date": 67,
189
+ "I-Detailed_description": 68,
190
+ "I-Diag[no](Lab_value": 69,
191
+ "I-Diagnostic_[procedure](Coreference": 70,
192
+ "I-Diagnostic_procedure": 71,
193
+ "I-Disease_disorder": 72,
194
+ "I-Distance": 73,
195
+ "I-Dosage": 74,
196
+ "I-Duration": 75,
197
+ "I-Family_history": 76,
198
+ "I-Frequency": 77,
199
+ "I-Height": 78,
200
+ "I-History": 79,
201
+ "I-La[b](Sign_symptom": 80,
202
+ "I-Lab_value": 81,
203
+ "I-Mass": 82,
204
+ "I-Medication": 83,
205
+ "I-Non[b](Sign_symptom": 84,
206
+ "I-Nonbiological_location": 85,
207
+ "I-Occupation": 86,
208
+ "I-Other_entity": 87,
209
+ "I-Other_event": 88,
210
+ "I-Outcome": 89,
211
+ "I-Personal_backg[round](Shape": 90,
212
+ "I-Personal_background": 91,
213
+ "I-Qualitative_concept": 92,
214
+ "I-Quantitative_concept": 93,
215
+ "I-Severity": 94,
216
+ "I-Shape": 95,
217
+ "I-Sign_[symptom](Sign_symptom": 96,
218
+ "I-Sign_symptom": 97,
219
+ "I-Subject": 98,
220
+ "I-Texture": 99,
221
+ "I-The[rap](Detailed_description": 100,
222
+ "I-Therapeutic_[procedure](Coreference": 101,
223
+ "I-Therapeutic_procedure": 102,
224
+ "I-Time": 103,
225
+ "I-Volume": 104,
226
+ "I-Weight": 105,
227
+ "I-[A](Lab_value": 106,
228
+ "O": 0
229
+ },
230
+ "max_position_embeddings": 512,
231
+ "model_type": "distilbert",
232
+ "n_heads": 12,
233
+ "n_layers": 6,
234
+ "pad_token_id": 0,
235
+ "qa_dropout": 0.1,
236
+ "seq_classif_dropout": 0.2,
237
+ "sinusoidal_pos_embds": false,
238
+ "tie_weights_": true,
239
+ "torch_dtype": "float32",
240
+ "transformers_version": "4.18.0",
241
+ "vocab_size": 30522
242
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68379ec0b19ee4c0335ffcf30d7e88f30b556c70868801cab4cc1a6d8c73bc2e
3
+ size 265814261
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "distilbert-base-uncased", "tokenizer_class": "DistilBertTokenizer"}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff