Commit
·
6ed3d78
1
Parent(s):
0c4fe75
added labels in config.json
Browse files- config.json +30 -31
config.json
CHANGED
@@ -10,41 +10,40 @@
|
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
"id2label": {
|
13 |
-
"0": "
|
14 |
-
"1": "
|
15 |
-
"2": "
|
16 |
-
"3": "
|
17 |
-
"4": "
|
18 |
-
"5": "
|
19 |
-
"6": "
|
20 |
-
"7": "
|
21 |
-
"8": "
|
22 |
-
"9": "
|
23 |
-
"10": "
|
24 |
-
"11": "
|
25 |
-
"12": "
|
26 |
-
"13": "
|
27 |
-
"14": "
|
28 |
},
|
29 |
"initializer_range": 0.02,
|
30 |
"intermediate_size": 3072,
|
31 |
"label2id": {
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
},
|
48 |
"layer_norm_eps": 1e-12,
|
49 |
"max_position_embeddings": 512,
|
50 |
"model_type": "bert",
|
|
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
"id2label": {
|
13 |
+
"0": "B-LOC",
|
14 |
+
"1": "B-NAT",
|
15 |
+
"2": "B-ORG",
|
16 |
+
"3": "B-PER",
|
17 |
+
"4": "B-PRO",
|
18 |
+
"5": "B-REL",
|
19 |
+
"6": "B-TIT",
|
20 |
+
"7": "I-LOC",
|
21 |
+
"8": "I-NAT",
|
22 |
+
"9": "I-ORG",
|
23 |
+
"10": "I-PER",
|
24 |
+
"11": "I-PRO",
|
25 |
+
"12": "I-REL",
|
26 |
+
"13": "I-TIT",
|
27 |
+
"14": "O"
|
28 |
},
|
29 |
"initializer_range": 0.02,
|
30 |
"intermediate_size": 3072,
|
31 |
"label2id": {
|
32 |
+
"B-LOC": 0,
|
33 |
+
"B-NAT": 1,
|
34 |
+
"B-ORG": 2,
|
35 |
+
"B-PER": 3,
|
36 |
+
"B-PRO": 4,
|
37 |
+
"B-REL": 5,
|
38 |
+
"B-TIT": 6,
|
39 |
+
"I-LOC": 7,
|
40 |
+
"I-NAT": 8,
|
41 |
+
"I-ORG": 9,
|
42 |
+
"I-PER": 10,
|
43 |
+
"I-PRO": 11,
|
44 |
+
"I-REL": 12,
|
45 |
+
"I-TIT": 13,
|
46 |
+
"O": 14},
|
|
|
47 |
"layer_norm_eps": 1e-12,
|
48 |
"max_position_embeddings": 512,
|
49 |
"model_type": "bert",
|