Fix label2id mapping.
Browse files- head_config.json +3 -3
head_config.json
CHANGED
@@ -4,14 +4,15 @@
|
|
4 |
"head_type": "tagging",
|
5 |
"label2id": {
|
6 |
"\"": 0,
|
|
|
7 |
"#": 2,
|
8 |
"$": 3,
|
9 |
-
"''": 1,
|
10 |
"(": 4,
|
11 |
")": 5,
|
12 |
",": 6,
|
13 |
".": 7,
|
14 |
":": 8,
|
|
|
15 |
"CC": 10,
|
16 |
"CD": 11,
|
17 |
"DT": 12,
|
@@ -48,8 +49,7 @@
|
|
48 |
"WDT": 43,
|
49 |
"WP": 44,
|
50 |
"WP$": 45,
|
51 |
-
"WRB": 46
|
52 |
-
"``": 9
|
53 |
},
|
54 |
"layers": 1,
|
55 |
"num_labels": 47
|
|
|
4 |
"head_type": "tagging",
|
5 |
"label2id": {
|
6 |
"\"": 0,
|
7 |
+
"''": 1,
|
8 |
"#": 2,
|
9 |
"$": 3,
|
|
|
10 |
"(": 4,
|
11 |
")": 5,
|
12 |
",": 6,
|
13 |
".": 7,
|
14 |
":": 8,
|
15 |
+
"``": 9,
|
16 |
"CC": 10,
|
17 |
"CD": 11,
|
18 |
"DT": 12,
|
|
|
49 |
"WDT": 43,
|
50 |
"WP": 44,
|
51 |
"WP$": 45,
|
52 |
+
"WRB": 46
|
|
|
53 |
},
|
54 |
"layers": 1,
|
55 |
"num_labels": 47
|