Fix label2id mapping.
Browse files- head_config.json +6 -6
head_config.json
CHANGED
@@ -4,12 +4,12 @@
|
|
4 |
"bias": true,
|
5 |
"head_type": "classification",
|
6 |
"label2id": {
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
12 |
-
"
|
13 |
},
|
14 |
"layers": 2,
|
15 |
"num_labels": 6,
|
|
|
4 |
"bias": true,
|
5 |
"head_type": "classification",
|
6 |
"label2id": {
|
7 |
+
"DESC": 0,
|
8 |
+
"ENTY": 1,
|
9 |
+
"ABBR": 2,
|
10 |
+
"HUM": 3,
|
11 |
+
"NUM": 4,
|
12 |
+
"LOC": 5
|
13 |
},
|
14 |
"layers": 2,
|
15 |
"num_labels": 6,
|