connorboyle
commited on
Commit
•
9769589
1
Parent(s):
71d61d6
Fix ID2Label Attribute of Config
Browse files- config.json +49 -49
config.json
CHANGED
@@ -9,55 +9,55 @@
|
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
-
"id2label":
|
13 |
-
"O",
|
14 |
-
"B-AGE",
|
15 |
-
"I-AGE",
|
16 |
-
"B-BIOID",
|
17 |
-
"I-BIOID",
|
18 |
-
"B-CITY",
|
19 |
-
"I-CITY",
|
20 |
-
"B-COUNTRY",
|
21 |
-
"I-COUNTRY",
|
22 |
-
"B-DATE",
|
23 |
-
"I-DATE",
|
24 |
-
"B-DEVICE",
|
25 |
-
"I-DEVICE",
|
26 |
-
"B-DOCTOR",
|
27 |
-
"I-DOCTOR",
|
28 |
-
"B-EMAIL",
|
29 |
-
"I-EMAIL",
|
30 |
-
"B-FAX",
|
31 |
-
"I-FAX",
|
32 |
-
"B-HEALTHPLAN",
|
33 |
-
"I-HEALTHPLAN",
|
34 |
-
"B-HOSPITAL",
|
35 |
-
"I-HOSPITAL",
|
36 |
-
"B-IDNUM",
|
37 |
-
"I-IDNUM",
|
38 |
-
"B-LOCATION-OTHER",
|
39 |
-
"I-LOCATION-OTHER",
|
40 |
-
"B-MEDICALRECORD",
|
41 |
-
"I-MEDICALRECORD",
|
42 |
-
"B-ORGANIZATION",
|
43 |
-
"I-ORGANIZATION",
|
44 |
-
"B-PATIENT",
|
45 |
-
"I-PATIENT",
|
46 |
-
"B-PHONE",
|
47 |
-
"I-PHONE",
|
48 |
-
"B-PROFESSION",
|
49 |
-
"I-PROFESSION",
|
50 |
-
"B-STATE",
|
51 |
-
"I-STATE",
|
52 |
-
"B-STREET",
|
53 |
-
"I-STREET",
|
54 |
-
"B-URL",
|
55 |
-
"I-URL",
|
56 |
-
"B-USERNAME",
|
57 |
-
"I-USERNAME",
|
58 |
-
"B-ZIP",
|
59 |
-
"I-ZIP"
|
60 |
-
|
61 |
"initializer_range": 0.02,
|
62 |
"intermediate_size": 3072,
|
63 |
"label2id": {
|
|
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "O",
|
14 |
+
"1": "B-AGE",
|
15 |
+
"2": "I-AGE",
|
16 |
+
"3": "B-BIOID",
|
17 |
+
"4": "I-BIOID",
|
18 |
+
"5": "B-CITY",
|
19 |
+
"6": "I-CITY",
|
20 |
+
"7": "B-COUNTRY",
|
21 |
+
"8": "I-COUNTRY",
|
22 |
+
"9": "B-DATE",
|
23 |
+
"10": "I-DATE",
|
24 |
+
"11": "B-DEVICE",
|
25 |
+
"12": "I-DEVICE",
|
26 |
+
"13": "B-DOCTOR",
|
27 |
+
"14": "I-DOCTOR",
|
28 |
+
"15": "B-EMAIL",
|
29 |
+
"16": "I-EMAIL",
|
30 |
+
"17": "B-FAX",
|
31 |
+
"18": "I-FAX",
|
32 |
+
"19": "B-HEALTHPLAN",
|
33 |
+
"20": "I-HEALTHPLAN",
|
34 |
+
"21": "B-HOSPITAL",
|
35 |
+
"22": "I-HOSPITAL",
|
36 |
+
"23": "B-IDNUM",
|
37 |
+
"24": "I-IDNUM",
|
38 |
+
"25": "B-LOCATION-OTHER",
|
39 |
+
"26": "I-LOCATION-OTHER",
|
40 |
+
"27": "B-MEDICALRECORD",
|
41 |
+
"28": "I-MEDICALRECORD",
|
42 |
+
"29": "B-ORGANIZATION",
|
43 |
+
"30": "I-ORGANIZATION",
|
44 |
+
"31": "B-PATIENT",
|
45 |
+
"32": "I-PATIENT",
|
46 |
+
"33": "B-PHONE",
|
47 |
+
"34": "I-PHONE",
|
48 |
+
"35": "B-PROFESSION",
|
49 |
+
"36": "I-PROFESSION",
|
50 |
+
"37": "B-STATE",
|
51 |
+
"38": "I-STATE",
|
52 |
+
"39": "B-STREET",
|
53 |
+
"40": "I-STREET",
|
54 |
+
"41": "B-URL",
|
55 |
+
"42": "I-URL",
|
56 |
+
"43": "B-USERNAME",
|
57 |
+
"44": "I-USERNAME",
|
58 |
+
"45": "B-ZIP",
|
59 |
+
"46": "I-ZIP"
|
60 |
+
},
|
61 |
"initializer_range": 0.02,
|
62 |
"intermediate_size": 3072,
|
63 |
"label2id": {
|