Fix label2id mapping.
Browse files- head_config.json +23 -23
head_config.json
CHANGED
@@ -3,29 +3,29 @@
|
|
3 |
"activation_function": "tanh",
|
4 |
"head_type": "tagging",
|
5 |
"label2id": {
|
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 |
"layers": 1,
|
31 |
"num_labels": 23
|
|
|
3 |
"activation_function": "tanh",
|
4 |
"head_type": "tagging",
|
5 |
"label2id": {
|
6 |
+
"O": 0,
|
7 |
+
"B-ADJP": 1,
|
8 |
+
"I-ADJP": 2,
|
9 |
+
"B-ADVP": 3,
|
10 |
+
"I-ADVP": 4,
|
11 |
+
"B-CONJP": 5,
|
12 |
+
"I-CONJP": 6,
|
13 |
+
"B-INTJ": 7,
|
14 |
+
"I-INTJ": 8,
|
15 |
+
"B-LST": 9,
|
16 |
+
"I-LST": 10,
|
17 |
+
"B-NP": 11,
|
18 |
+
"I-NP": 12,
|
19 |
+
"B-PP": 13,
|
20 |
+
"I-PP": 14,
|
21 |
+
"B-PRT": 15,
|
22 |
+
"I-PRT": 16,
|
23 |
+
"B-SBAR": 17,
|
24 |
+
"I-SBAR": 18,
|
25 |
+
"B-UCP": 19,
|
26 |
+
"I-UCP": 20,
|
27 |
+
"B-VP": 21,
|
28 |
+
"I-VP": 22
|
29 |
},
|
30 |
"layers": 1,
|
31 |
"num_labels": 23
|