shibing624 commited on
Commit
ca09e3d
1 Parent(s): 0cccf82

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +10 -11
config.json CHANGED
@@ -1,5 +1,4 @@
1
  {
2
- "_name_or_path": "bert-base-chinese",
3
  "architectures": [
4
  "BertSpanForTokenClassification"
5
  ],
@@ -10,20 +9,20 @@
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
  },
19
  "initializer_range": 0.02,
20
  "intermediate_size": 3072,
21
  "label2id": {
22
- "LABEL_0": 0,
23
- "LABEL_1": 1,
24
- "LABEL_2": 2,
25
- "LABEL_3": 3,
26
- "LABEL_4": 4
27
  },
28
  "layer_norm_eps": 1e-12,
29
  "max_position_embeddings": 512,
1
  {
 
2
  "architectures": [
3
  "BertSpanForTokenClassification"
4
  ],
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
11
  "id2label": {
12
+ "0": "O",
13
+ "1": "TIME",
14
+ "2": "PER",
15
+ "3": "LOC",
16
+ "4": "ORG"
17
  },
18
  "initializer_range": 0.02,
19
  "intermediate_size": 3072,
20
  "label2id": {
21
+ "O": 0,
22
+ "TIME": 1,
23
+ "PER": 2,
24
+ "LOC": 3,
25
+ "ORG": 4
26
  },
27
  "layer_norm_eps": 1e-12,
28
  "max_position_embeddings": 512,