Fix label2id mapping.
Browse files- head_config.json +18 -18
head_config.json
CHANGED
@@ -3,24 +3,24 @@
|
|
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 |
"layers": 1,
|
26 |
"num_labels": 18
|
|
|
3 |
"activation_function": "tanh",
|
4 |
"head_type": "tagging",
|
5 |
"label2id": {
|
6 |
+
"NOUN": 0,
|
7 |
+
"PUNCT": 1,
|
8 |
+
"ADP": 2,
|
9 |
+
"NUM": 3,
|
10 |
+
"SYM": 4,
|
11 |
+
"SCONJ": 5,
|
12 |
+
"ADJ": 6,
|
13 |
+
"PART": 7,
|
14 |
+
"DET": 8,
|
15 |
+
"CCONJ": 9,
|
16 |
+
"PROPN": 10,
|
17 |
+
"PRON": 11,
|
18 |
+
"X": 12,
|
19 |
+
"_": 13,
|
20 |
+
"ADV": 14,
|
21 |
+
"INTJ": 15,
|
22 |
+
"VERB": 16,
|
23 |
+
"AUX": 17
|
24 |
},
|
25 |
"layers": 1,
|
26 |
"num_labels": 18
|