Adapting commited on
Commit
cf142fd
1 Parent(s): 0d02688

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +30 -30
config.json CHANGED
@@ -10,40 +10,40 @@
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
- "9": "LABEL_9",
23
- "10": "LABEL_10",
24
- "11": "LABEL_11",
25
- "12": "LABEL_12",
26
- "13": "LABEL_13",
27
- "14": "LABEL_14"
28
  },
29
  "initializer_range": 0.02,
30
  "intermediate_size": 3072,
31
  "label2id": {
32
- "LABEL_0": 0,
33
- "LABEL_1": 1,
34
- "LABEL_10": 10,
35
- "LABEL_11": 11,
36
- "LABEL_12": 12,
37
- "LABEL_13": 13,
38
- "LABEL_14": 14,
39
- "LABEL_2": 2,
40
- "LABEL_3": 3,
41
- "LABEL_4": 4,
42
- "LABEL_5": 5,
43
- "LABEL_6": 6,
44
- "LABEL_7": 7,
45
- "LABEL_8": 8,
46
- "LABEL_9": 9
47
  },
48
  "layer_norm_eps": 1e-12,
49
  "max_position_embeddings": 512,
 
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
+ "0": "B_手术",
14
+ "1": "I_疾病和诊断",
15
+ "2": "B_症状",
16
+ "3": "I_解剖部位",
17
+ "4": "I_药物",
18
+ "5": "B_影像检查",
19
+ "6": "B_药物",
20
+ "7": "B_疾病和诊断",
21
+ "8": "I_影像检查",
22
+ "9": "I_手术",
23
+ "10": "B_解剖部位",
24
+ "11": "O",
25
+ "12": "B_实验室检验",
26
+ "13": "I_症状",
27
+ "14": "I_实验室检验"
28
  },
29
  "initializer_range": 0.02,
30
  "intermediate_size": 3072,
31
  "label2id": {
32
+ "B_手术": 0,
33
+ "I_疾病和诊断": 1,
34
+ "B_解剖部位": 10,
35
+ "O": 11,
36
+ "B_实验室检验": 12,
37
+ "I_症状": 13,
38
+ "I_实验室检验": 14,
39
+ "B_症状": 2,
40
+ "I_解剖部位": 3,
41
+ "I_药物": 4,
42
+ "B_影像检查": 5,
43
+ "B_药物": 6,
44
+ "B_疾病和诊断": 7,
45
+ "I_影像检查": 8,
46
+ "I_手术": 9
47
  },
48
  "layer_norm_eps": 1e-12,
49
  "max_position_embeddings": 512,