shibing624 commited on
Commit
5d660ed
1 Parent(s): 263d31b

Update config.json

Browse files
Files changed (1) hide show
  1. 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": "LABEL_0",
14
- "1": "LABEL_1",
15
- "2": "LABEL_2",
16
- "3": "LABEL_3",
17
- "4": "LABEL_4",
18
- "5": "LABEL_5",
19
- "6": "LABEL_6",
20
- "7": "LABEL_7",
21
- "8": "LABEL_8"
22
  },
23
  "initializer_range": 0.02,
24
  "intermediate_size": 3072,
25
  "label2id": {
26
- "LABEL_0": 0,
27
- "LABEL_1": 1,
28
- "LABEL_2": 2,
29
- "LABEL_3": 3,
30
- "LABEL_4": 4,
31
- "LABEL_5": 5,
32
- "LABEL_6": 6,
33
- "LABEL_7": 7,
34
- "LABEL_8": 8
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,