shibing624
commited on
Commit
•
5d660ed
1
Parent(s):
263d31b
Update config.json
Browse files- config.json +18 -19
config.json
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "bert-base-chinese",
|
3 |
"architectures": [
|
4 |
"BertForTokenClassification"
|
5 |
],
|
@@ -10,28 +9,28 @@
|
|
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 |
},
|
23 |
"initializer_range": 0.02,
|
24 |
"intermediate_size": 3072,
|
25 |
"label2id": {
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
},
|
36 |
"layer_norm_eps": 1e-12,
|
37 |
"max_position_embeddings": 512,
|
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"BertForTokenClassification"
|
4 |
],
|
|
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
+
"0": "I-ORG",
|
13 |
+
"1": "B-LOC",
|
14 |
+
"2": "O",
|
15 |
+
"3": "B-ORG",
|
16 |
+
"4": "I-LOC",
|
17 |
+
"5": "I-PER",
|
18 |
+
"6": "B-TIME",
|
19 |
+
"7": "I-TIME",
|
20 |
+
"8": "B-PER"
|
21 |
},
|
22 |
"initializer_range": 0.02,
|
23 |
"intermediate_size": 3072,
|
24 |
"label2id": {
|
25 |
+
"I-ORG": 0,
|
26 |
+
"B-LOC": 1,
|
27 |
+
"O": 2,
|
28 |
+
"B-ORG": 3,
|
29 |
+
"I-LOC": 4,
|
30 |
+
"I-PER": 5,
|
31 |
+
"B-TIME": 6,
|
32 |
+
"I-TIME": 7,
|
33 |
+
"B-PER": 8
|
34 |
},
|
35 |
"layer_norm_eps": 1e-12,
|
36 |
"max_position_embeddings": 512,
|