Upload DistilBertForTokenClassification
Browse files- config.json +18 -18
config.json
CHANGED
@@ -9,27 +9,27 @@
|
|
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",
|
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
+
"0": "O",
|
13 |
+
"1": "B-PER",
|
14 |
+
"2": "B-LOC",
|
15 |
+
"3": "B-ORG",
|
16 |
+
"4": "B-MISC",
|
17 |
+
"5": "I-PER",
|
18 |
+
"6": "I-LOC",
|
19 |
+
"7": "I-ORG",
|
20 |
+
"8": "I-MISC"
|
21 |
},
|
22 |
"initializer_range": 0.02,
|
23 |
"label2id": {
|
24 |
+
"B-LOC": 2,
|
25 |
+
"B-MISC": 4,
|
26 |
+
"B-ORG": 3,
|
27 |
+
"B-PER": 1,
|
28 |
+
"I-LOC": 6,
|
29 |
+
"I-MISC": 8,
|
30 |
+
"I-ORG": 7,
|
31 |
+
"I-PER": 5,
|
32 |
+
"O": 0
|
33 |
},
|
34 |
"max_position_embeddings": 512,
|
35 |
"model_type": "distilbert",
|