Update id2label and label2id
Browse files- config.json +14 -14
config.json
CHANGED
@@ -15,25 +15,25 @@
|
|
15 |
"hidden_dropout_prob": 0,
|
16 |
"hidden_size": 1024,
|
17 |
"id2label": {
|
18 |
-
"0": "
|
19 |
-
"1": "
|
20 |
-
"2": "
|
21 |
-
"3": "
|
22 |
-
"4": "
|
23 |
-
"5": "
|
24 |
-
"6": "
|
25 |
},
|
26 |
"initializer_range": 0.02,
|
27 |
"inner_group_num": 1,
|
28 |
"intermediate_size": 4096,
|
29 |
"label2id": {
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"
|
37 |
},
|
38 |
"layer_norm_eps": 1e-12,
|
39 |
"max_length": 128,
|
|
|
15 |
"hidden_dropout_prob": 0,
|
16 |
"hidden_size": 1024,
|
17 |
"id2label": {
|
18 |
+
"0": "O",
|
19 |
+
"1": "B-PER",
|
20 |
+
"2": "I-PER",
|
21 |
+
"3": "B-ORG",
|
22 |
+
"4": "I-ORG",
|
23 |
+
"5": "B-LOC",
|
24 |
+
"6": "I-LOC"
|
25 |
},
|
26 |
"initializer_range": 0.02,
|
27 |
"inner_group_num": 1,
|
28 |
"intermediate_size": 4096,
|
29 |
"label2id": {
|
30 |
+
"O": 0,
|
31 |
+
"B-PER": 1,
|
32 |
+
"I-PER": 2,
|
33 |
+
"B-ORG": 3,
|
34 |
+
"I-ORG": 4,
|
35 |
+
"B-LOC": 5,
|
36 |
+
"I-LOC": 6
|
37 |
},
|
38 |
"layer_norm_eps": 1e-12,
|
39 |
"max_length": 128,
|