Change labels to standard BIO schema
Browse files- config.json +16 -16
config.json
CHANGED
@@ -12,27 +12,27 @@
|
|
12 |
"hidden_dropout_prob": 0.1,
|
13 |
"hidden_size": 768,
|
14 |
"id2label": {
|
15 |
-
"0": "
|
16 |
-
"1": "
|
17 |
-
"2": "
|
18 |
-
"3": "
|
19 |
-
"4": "
|
20 |
-
"5": "
|
21 |
-
"6": "
|
22 |
-
"7": "
|
23 |
"8": "O"
|
24 |
},
|
25 |
"initializer_range": 0.02,
|
26 |
"intermediate_size": 3072,
|
27 |
"label2id": {
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
-
"
|
36 |
"O": 8
|
37 |
},
|
38 |
"layer_norm_eps": 1e-05,
|
|
|
12 |
"hidden_dropout_prob": 0.1,
|
13 |
"hidden_size": 768,
|
14 |
"id2label": {
|
15 |
+
"0": "B-LOC",
|
16 |
+
"1": "B-MISC",
|
17 |
+
"2": "B-ORG",
|
18 |
+
"3": "B-PER",
|
19 |
+
"4": "I-LOC",
|
20 |
+
"5": "I-MISC",
|
21 |
+
"6": "I-ORG",
|
22 |
+
"7": "I-PER",
|
23 |
"8": "O"
|
24 |
},
|
25 |
"initializer_range": 0.02,
|
26 |
"intermediate_size": 3072,
|
27 |
"label2id": {
|
28 |
+
"B-LOC": 0,
|
29 |
+
"B-MISC": 1,
|
30 |
+
"B-ORG": 2,
|
31 |
+
"B-PER": 3,
|
32 |
+
"I-LOC": 4,
|
33 |
+
"I-MISC": 5,
|
34 |
+
"I-ORG": 6,
|
35 |
+
"I-PER": 7,
|
36 |
"O": 8
|
37 |
},
|
38 |
"layer_norm_eps": 1e-05,
|