tarekziade
commited on
Commit
•
494c1f5
1
Parent(s):
7747921
use the same labels than `bert-base-NER`
Browse files- config.json +19 -19
config.json
CHANGED
@@ -7,29 +7,29 @@
|
|
7 |
"attention_dropout": 0.1,
|
8 |
"dim": 768,
|
9 |
"dropout": 0.1,
|
10 |
-
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
-
"3": "
|
16 |
-
"4": "
|
17 |
-
"5": "
|
18 |
-
"6": "
|
19 |
-
"7": "
|
20 |
-
"8": "
|
21 |
},
|
22 |
"initializer_range": 0.02,
|
23 |
"label2id": {
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
},
|
34 |
"max_position_embeddings": 512,
|
35 |
"model_type": "distilbert",
|
|
|
7 |
"attention_dropout": 0.1,
|
8 |
"dim": 768,
|
9 |
"dropout": 0.1,
|
10 |
+
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
+
"0": "O",
|
13 |
+
"1": "B-MISC",
|
14 |
+
"2": "I-MISC",
|
15 |
+
"3": "B-PER",
|
16 |
+
"4": "I-PER",
|
17 |
+
"5": "B-ORG",
|
18 |
+
"6": "I-ORG",
|
19 |
+
"7": "B-LOC",
|
20 |
+
"8": "I-LOC"
|
21 |
},
|
22 |
"initializer_range": 0.02,
|
23 |
"label2id": {
|
24 |
+
"B-LOC": 7,
|
25 |
+
"B-MISC": 1,
|
26 |
+
"B-ORG": 5,
|
27 |
+
"B-PER": 3,
|
28 |
+
"I-LOC": 8,
|
29 |
+
"I-MISC": 2,
|
30 |
+
"I-ORG": 6,
|
31 |
+
"I-PER": 4,
|
32 |
+
"O": 0
|
33 |
},
|
34 |
"max_position_embeddings": 512,
|
35 |
"model_type": "distilbert",
|