dreji18 commited on
Commit
c66942b
1 Parent(s): 26b6403

new model files

Browse files
Files changed (4) hide show
  1. config.json +155 -201
  2. pytorch_model.bin +2 -2
  3. special_tokens_map.json +7 -1
  4. tokenizer_config.json +15 -1
config.json CHANGED
@@ -16,106 +16,83 @@
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": {
@@ -125,106 +102,83 @@
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,
@@ -237,6 +191,6 @@
237
  "sinusoidal_pos_embds": false,
238
  "tie_weights_": true,
239
  "torch_dtype": "float32",
240
- "transformers_version": "4.18.0",
241
  "vocab_size": 30522
242
  }
 
16
  "4": "B-Area",
17
  "5": "B-Biological_attribute",
18
  "6": "B-Biological_structure",
19
+ "7": "B-Clinical_event",
20
+ "8": "B-Color",
21
+ "9": "B-Coreference",
22
+ "10": "B-Date",
23
+ "11": "B-Detailed_description",
24
+ "12": "B-Diagnostic_procedure",
25
+ "13": "B-Disease_disorder",
26
+ "14": "B-Distance",
27
+ "15": "B-Dosage",
28
+ "16": "B-Duration",
29
+ "17": "B-Family_history",
30
+ "18": "B-Frequency",
31
+ "19": "B-Height",
32
+ "20": "B-History",
33
+ "21": "B-Lab_value",
34
+ "22": "B-Mass",
35
+ "23": "B-Medication",
36
+ "24": "B-Non[biological](Detailed_description",
37
+ "25": "B-Nonbiological_location",
38
+ "26": "B-Occupation",
39
+ "27": "B-Other_entity",
40
+ "28": "B-Other_event",
41
+ "29": "B-Outcome",
42
+ "30": "B-Personal_[back](Biological_structure",
43
+ "31": "B-Personal_background",
44
+ "32": "B-Qualitative_concept",
45
+ "33": "B-Quantitative_concept",
46
+ "34": "B-Severity",
47
+ "35": "B-Sex",
48
+ "36": "B-Shape",
49
+ "37": "B-Sign_symptom",
50
+ "38": "B-Subject",
51
+ "39": "B-Texture",
52
+ "40": "B-Therapeutic_procedure",
53
+ "41": "B-Time",
54
+ "42": "B-Volume",
55
+ "43": "B-Weight",
56
+ "44": "I-Activity",
57
+ "45": "I-Administration",
58
+ "46": "I-Age",
59
+ "47": "I-Area",
60
+ "48": "I-Biological_attribute",
61
+ "49": "I-Biological_structure",
62
+ "50": "I-Clinical_event",
63
+ "51": "I-Color",
64
+ "52": "I-Coreference",
65
+ "53": "I-Date",
66
+ "54": "I-Detailed_description",
67
+ "55": "I-Diagnostic_procedure",
68
+ "56": "I-Disease_disorder",
69
+ "57": "I-Distance",
70
+ "58": "I-Dosage",
71
+ "59": "I-Duration",
72
+ "60": "I-Family_history",
73
+ "61": "I-Frequency",
74
+ "62": "I-Height",
75
+ "63": "I-History",
76
+ "64": "I-Lab_value",
77
+ "65": "I-Mass",
78
+ "66": "I-Medication",
79
+ "67": "I-Nonbiological_location",
80
+ "68": "I-Occupation",
81
+ "69": "I-Other_entity",
82
+ "70": "I-Other_event",
83
+ "71": "I-Outcome",
84
+ "72": "I-Personal_background",
85
+ "73": "I-Qualitative_concept",
86
+ "74": "I-Quantitative_concept",
87
+ "75": "I-Severity",
88
+ "76": "I-Shape",
89
+ "77": "I-Sign_symptom",
90
+ "78": "I-Subject",
91
+ "79": "I-Texture",
92
+ "80": "I-Therapeutic_procedure",
93
+ "81": "I-Time",
94
+ "82": "I-Volume",
95
+ "83": "I-Weight"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  },
97
  "initializer_range": 0.02,
98
  "label2id": {
 
102
  "B-Area": 4,
103
  "B-Biological_attribute": 5,
104
  "B-Biological_structure": 6,
105
+ "B-Clinical_event": 7,
106
+ "B-Color": 8,
107
+ "B-Coreference": 9,
108
+ "B-Date": 10,
109
+ "B-Detailed_description": 11,
110
+ "B-Diagnostic_procedure": 12,
111
+ "B-Disease_disorder": 13,
112
+ "B-Distance": 14,
113
+ "B-Dosage": 15,
114
+ "B-Duration": 16,
115
+ "B-Family_history": 17,
116
+ "B-Frequency": 18,
117
+ "B-Height": 19,
118
+ "B-History": 20,
119
+ "B-Lab_value": 21,
120
+ "B-Mass": 22,
121
+ "B-Medication": 23,
122
+ "B-Non[biological](Detailed_description": 24,
123
+ "B-Nonbiological_location": 25,
124
+ "B-Occupation": 26,
125
+ "B-Other_entity": 27,
126
+ "B-Other_event": 28,
127
+ "B-Outcome": 29,
128
+ "B-Personal_[back](Biological_structure": 30,
129
+ "B-Personal_background": 31,
130
+ "B-Qualitative_concept": 32,
131
+ "B-Quantitative_concept": 33,
132
+ "B-Severity": 34,
133
+ "B-Sex": 35,
134
+ "B-Shape": 36,
135
+ "B-Sign_symptom": 37,
136
+ "B-Subject": 38,
137
+ "B-Texture": 39,
138
+ "B-Therapeutic_procedure": 40,
139
+ "B-Time": 41,
140
+ "B-Volume": 42,
141
+ "B-Weight": 43,
142
+ "I-Activity": 44,
143
+ "I-Administration": 45,
144
+ "I-Age": 46,
145
+ "I-Area": 47,
146
+ "I-Biological_attribute": 48,
147
+ "I-Biological_structure": 49,
148
+ "I-Clinical_event": 50,
149
+ "I-Color": 51,
150
+ "I-Coreference": 52,
151
+ "I-Date": 53,
152
+ "I-Detailed_description": 54,
153
+ "I-Diagnostic_procedure": 55,
154
+ "I-Disease_disorder": 56,
155
+ "I-Distance": 57,
156
+ "I-Dosage": 58,
157
+ "I-Duration": 59,
158
+ "I-Family_history": 60,
159
+ "I-Frequency": 61,
160
+ "I-Height": 62,
161
+ "I-History": 63,
162
+ "I-Lab_value": 64,
163
+ "I-Mass": 65,
164
+ "I-Medication": 66,
165
+ "I-Nonbiological_location": 67,
166
+ "I-Occupation": 68,
167
+ "I-Other_entity": 69,
168
+ "I-Other_event": 70,
169
+ "I-Outcome": 71,
170
+ "I-Personal_background": 72,
171
+ "I-Qualitative_concept": 73,
172
+ "I-Quantitative_concept": 74,
173
+ "I-Severity": 75,
174
+ "I-Shape": 76,
175
+ "I-Sign_symptom": 77,
176
+ "I-Subject": 78,
177
+ "I-Texture": 79,
178
+ "I-Therapeutic_procedure": 80,
179
+ "I-Time": 81,
180
+ "I-Volume": 82,
181
+ "I-Weight": 83,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
182
  "O": 0
183
  },
184
  "max_position_embeddings": 512,
 
191
  "sinusoidal_pos_embds": false,
192
  "tie_weights_": true,
193
  "torch_dtype": "float32",
194
+ "transformers_version": "4.20.1",
195
  "vocab_size": 30522
196
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bd09191cafbd80946b97c301ee5bd56718f94276edff341d15d11d2992f2d699
3
- size 265814261
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b027673a3307002bc2c34795e627691e1a0b906ee3480036fb9a5b06d269f547
3
+ size 265743541
special_tokens_map.json CHANGED
@@ -1 +1,7 @@
1
- {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer_config.json CHANGED
@@ -1 +1,15 @@
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, "cuda": 0, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "distilbert-base-uncased", "tokenizer_class": "DistilBertTokenizer"}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "cuda": 0,
4
+ "do_lower_case": true,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 512,
7
+ "name_or_path": "distilbert-base-uncased",
8
+ "pad_token": "[PAD]",
9
+ "sep_token": "[SEP]",
10
+ "special_tokens_map_file": null,
11
+ "strip_accents": null,
12
+ "tokenize_chinese_chars": true,
13
+ "tokenizer_class": "DistilBertTokenizer",
14
+ "unk_token": "[UNK]"
15
+ }