joshdevins
commited on
Commit
•
31f821f
1
Parent(s):
f74ffe5
Changes labels
Browse filesLabels are now standard conll 2003 label types and should work with grouping and ignoring default labels now.
- config.json +18 -18
config.json
CHANGED
@@ -10,27 +10,27 @@
|
|
10 |
"finetuning_task": "ner",
|
11 |
"hidden_dim": 3072,
|
12 |
"id2label": {
|
13 |
-
"0": "
|
14 |
-
"1": "
|
15 |
-
"2": "
|
16 |
-
"3": "
|
17 |
-
"4": "
|
18 |
-
"5": "
|
19 |
-
"6": "
|
20 |
-
"7": "
|
21 |
-
"8": "
|
22 |
},
|
23 |
"initializer_range": 0.02,
|
24 |
"label2id": {
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
},
|
35 |
"max_position_embeddings": 512,
|
36 |
"model_type": "distilbert",
|
|
|
10 |
"finetuning_task": "ner",
|
11 |
"hidden_dim": 3072,
|
12 |
"id2label": {
|
13 |
+
"0": "O",
|
14 |
+
"1": "B-MISC",
|
15 |
+
"2": "I-MISC",
|
16 |
+
"3": "B-PER",
|
17 |
+
"4": "I-PER",
|
18 |
+
"5": "B-ORG",
|
19 |
+
"6": "I-ORG",
|
20 |
+
"7": "B-LOC",
|
21 |
+
"8": "I-LOC"
|
22 |
},
|
23 |
"initializer_range": 0.02,
|
24 |
"label2id": {
|
25 |
+
"B-LOC": 7,
|
26 |
+
"B-MISC": 1,
|
27 |
+
"B-ORG": 5,
|
28 |
+
"B-PER": 3,
|
29 |
+
"I-LOC": 8,
|
30 |
+
"I-MISC": 2,
|
31 |
+
"I-ORG": 6,
|
32 |
+
"I-PER": 4,
|
33 |
+
"O": 0
|
34 |
},
|
35 |
"max_position_embeddings": 512,
|
36 |
"model_type": "distilbert",
|