File size: 5,141 Bytes
2f443a2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
{
  "_name_or_path": "microsoft/deberta-v3-base",
  "architectures": [
    "DebertaV2ForTokenClassification"
  ],
  "attention_probs_dropout_prob": 0.1,
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.1,
  "hidden_size": 768,
  "id2label": {
    "0": "O",
    "1": "B-ACTIVITY",
    "2": "I-ACTIVITY",
    "3": "I-ADMINISTRATION",
    "4": "B-ADMINISTRATION",
    "5": "B-AGE",
    "6": "I-AGE",
    "7": "I-AREA",
    "8": "B-AREA",
    "9": "B-BIOLOGICAL_ATTRIBUTE",
    "10": "I-BIOLOGICAL_ATTRIBUTE",
    "11": "I-BIOLOGICAL_STRUCTURE",
    "12": "B-BIOLOGICAL_STRUCTURE",
    "13": "B-CLINICAL_EVENT",
    "14": "I-CLINICAL_EVENT",
    "15": "B-COLOR",
    "16": "I-COLOR",
    "17": "I-COREFERENCE",
    "18": "B-COREFERENCE",
    "19": "B-DATE",
    "20": "I-DATE",
    "21": "I-DETAILED_DESCRIPTION",
    "22": "B-DETAILED_DESCRIPTION",
    "23": "I-DIAGNOSTIC_PROCEDURE",
    "24": "B-DIAGNOSTIC_PROCEDURE",
    "25": "I-DISEASE_DISORDER",
    "26": "B-DISEASE_DISORDER",
    "27": "B-DISTANCE",
    "28": "I-DISTANCE",
    "29": "B-DOSAGE",
    "30": "I-DOSAGE",
    "31": "I-DURATION",
    "32": "B-DURATION",
    "33": "I-FAMILY_HISTORY",
    "34": "B-FAMILY_HISTORY",
    "35": "B-FREQUENCY",
    "36": "I-FREQUENCY",
    "37": "I-HEIGHT",
    "38": "B-HEIGHT",
    "39": "B-HISTORY",
    "40": "I-HISTORY",
    "41": "I-LAB_VALUE",
    "42": "B-LAB_VALUE",
    "43": "I-MASS",
    "44": "B-MASS",
    "45": "I-MEDICATION",
    "46": "B-MEDICATION",
    "47": "I-NONBIOLOGICAL_LOCATION",
    "48": "B-NONBIOLOGICAL_LOCATION",
    "49": "I-OCCUPATION",
    "50": "B-OCCUPATION",
    "51": "B-OTHER_ENTITY",
    "52": "I-OTHER_ENTITY",
    "53": "B-OTHER_EVENT",
    "54": "I-OTHER_EVENT",
    "55": "I-OUTCOME",
    "56": "B-OUTCOME",
    "57": "I-PERSONAL_BACKGROUND",
    "58": "B-PERSONAL_BACKGROUND",
    "59": "B-QUALITATIVE_CONCEPT",
    "60": "I-QUALITATIVE_CONCEPT",
    "61": "I-QUANTITATIVE_CONCEPT",
    "62": "B-QUANTITATIVE_CONCEPT",
    "63": "B-SEVERITY",
    "64": "I-SEVERITY",
    "65": "B-SEX",
    "66": "I-SEX",
    "67": "B-SHAPE",
    "68": "I-SHAPE",
    "69": "B-SIGN_SYMPTOM",
    "70": "I-SIGN_SYMPTOM",
    "71": "B-SUBJECT",
    "72": "I-SUBJECT",
    "73": "B-TEXTURE",
    "74": "I-TEXTURE",
    "75": "B-THERAPEUTIC_PROCEDURE",
    "76": "I-THERAPEUTIC_PROCEDURE",
    "77": "I-TIME",
    "78": "B-TIME",
    "79": "B-VOLUME",
    "80": "I-VOLUME",
    "81": "I-WEIGHT",
    "82": "B-WEIGHT"
  },
  "initializer_range": 0.02,
  "intermediate_size": 3072,
  "label2id": {
    "B-ACTIVITY": 1,
    "B-ADMINISTRATION": 4,
    "B-AGE": 5,
    "B-AREA": 8,
    "B-BIOLOGICAL_ATTRIBUTE": 9,
    "B-BIOLOGICAL_STRUCTURE": 12,
    "B-CLINICAL_EVENT": 13,
    "B-COLOR": 15,
    "B-COREFERENCE": 18,
    "B-DATE": 19,
    "B-DETAILED_DESCRIPTION": 22,
    "B-DIAGNOSTIC_PROCEDURE": 24,
    "B-DISEASE_DISORDER": 26,
    "B-DISTANCE": 27,
    "B-DOSAGE": 29,
    "B-DURATION": 32,
    "B-FAMILY_HISTORY": 34,
    "B-FREQUENCY": 35,
    "B-HEIGHT": 38,
    "B-HISTORY": 39,
    "B-LAB_VALUE": 42,
    "B-MASS": 44,
    "B-MEDICATION": 46,
    "B-NONBIOLOGICAL_LOCATION": 48,
    "B-OCCUPATION": 50,
    "B-OTHER_ENTITY": 51,
    "B-OTHER_EVENT": 53,
    "B-OUTCOME": 56,
    "B-PERSONAL_BACKGROUND": 58,
    "B-QUALITATIVE_CONCEPT": 59,
    "B-QUANTITATIVE_CONCEPT": 62,
    "B-SEVERITY": 63,
    "B-SEX": 65,
    "B-SHAPE": 67,
    "B-SIGN_SYMPTOM": 69,
    "B-SUBJECT": 71,
    "B-TEXTURE": 73,
    "B-THERAPEUTIC_PROCEDURE": 75,
    "B-TIME": 78,
    "B-VOLUME": 79,
    "B-WEIGHT": 82,
    "I-ACTIVITY": 2,
    "I-ADMINISTRATION": 3,
    "I-AGE": 6,
    "I-AREA": 7,
    "I-BIOLOGICAL_ATTRIBUTE": 10,
    "I-BIOLOGICAL_STRUCTURE": 11,
    "I-CLINICAL_EVENT": 14,
    "I-COLOR": 16,
    "I-COREFERENCE": 17,
    "I-DATE": 20,
    "I-DETAILED_DESCRIPTION": 21,
    "I-DIAGNOSTIC_PROCEDURE": 23,
    "I-DISEASE_DISORDER": 25,
    "I-DISTANCE": 28,
    "I-DOSAGE": 30,
    "I-DURATION": 31,
    "I-FAMILY_HISTORY": 33,
    "I-FREQUENCY": 36,
    "I-HEIGHT": 37,
    "I-HISTORY": 40,
    "I-LAB_VALUE": 41,
    "I-MASS": 43,
    "I-MEDICATION": 45,
    "I-NONBIOLOGICAL_LOCATION": 47,
    "I-OCCUPATION": 49,
    "I-OTHER_ENTITY": 52,
    "I-OTHER_EVENT": 54,
    "I-OUTCOME": 55,
    "I-PERSONAL_BACKGROUND": 57,
    "I-QUALITATIVE_CONCEPT": 60,
    "I-QUANTITATIVE_CONCEPT": 61,
    "I-SEVERITY": 64,
    "I-SEX": 66,
    "I-SHAPE": 68,
    "I-SIGN_SYMPTOM": 70,
    "I-SUBJECT": 72,
    "I-TEXTURE": 74,
    "I-THERAPEUTIC_PROCEDURE": 76,
    "I-TIME": 77,
    "I-VOLUME": 80,
    "I-WEIGHT": 81,
    "O": 0
  },
  "layer_norm_eps": 1e-07,
  "max_position_embeddings": 512,
  "max_relative_positions": -1,
  "model_type": "deberta-v2",
  "norm_rel_ebd": "layer_norm",
  "num_attention_heads": 12,
  "num_hidden_layers": 12,
  "pad_token_id": 0,
  "pooler_dropout": 0,
  "pooler_hidden_act": "gelu",
  "pooler_hidden_size": 768,
  "pos_att_type": [
    "p2c",
    "c2p"
  ],
  "position_biased_input": false,
  "position_buckets": 256,
  "relative_attention": true,
  "share_att_key": true,
  "torch_dtype": "float32",
  "transformers_version": "4.37.0",
  "type_vocab_size": 0,
  "vocab_size": 128100
}