CoolFace
Modelpublic

grazh/d4data-biomedical-ner-all

sourceHugging Faceupdated 10mo agoView on Hugging Face
0likes9downloads
config.json198 linesDownload Raw Back to root
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}
198