mdecot commited on
Commit
d16d1e3
1 Parent(s): 9bb54f4

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +17 -28
config.json CHANGED
@@ -8,37 +8,26 @@
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
11
- "id2label": {
12
- "0": "LABEL_0",
13
- "1": "LABEL_1",
14
- "2": "LABEL_2",
15
- "3": "LABEL_3",
16
- "4": "LABEL_4",
17
- "5": "LABEL_5",
18
- "6": "LABEL_6",
19
- "7": "LABEL_7",
20
- "8": "LABEL_8",
21
- "9": "LABEL_9",
22
- "10": "LABEL_10",
23
- "11": "LABEL_11",
24
- "12": "LABEL_12"
25
- },
26
  "initializer_range": 0.02,
27
  "intermediate_size": 3072,
28
  "label2id": {
29
- "LABEL_0": 0,
30
- "LABEL_1": 1,
31
- "LABEL_10": 10,
32
- "LABEL_11": 11,
33
- "LABEL_12": 12,
34
- "LABEL_2": 2,
35
- "LABEL_3": 3,
36
- "LABEL_4": 4,
37
- "LABEL_5": 5,
38
- "LABEL_6": 6,
39
- "LABEL_7": 7,
40
- "LABEL_8": 8,
41
- "LABEL_9": 9
42
  },
43
  "layer_norm_eps": 1e-12,
44
  "max_position_embeddings": 512,
 
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
11
+ "id2label": {0:'0',1:"B-Age",2:"I-Age",3:"B-Sex",
12
+ 4:"I-Sex",
13
+ 5:"B-Disease_disorder",
14
+ 6:"I-Disease_disorder",
15
+ 7:"B-Sign_symptom",
16
+ 8:"I-Sign_symptom",9:
17
+ 'I-Biological_structure',10:'B-Biological_structure',11:'I-Lab_value',12:'B-Lab_value'},
 
 
 
 
 
 
 
 
18
  "initializer_range": 0.02,
19
  "intermediate_size": 3072,
20
  "label2id": {
21
+ {"O":0,
22
+ "B-Age":1,
23
+ "I-Age":2,
24
+ "B-Sex":3,
25
+ "I-Sex":4,
26
+ "B-Disease_disorder":5,
27
+ "I-Disease_disorder":6,
28
+ "B-Sign_symptom":7,
29
+ "I-Sign_symptom":8,
30
+ 'I-Biological_structure':9,'B-Biological_structure':10,'I-Lab_value':11,'B-Lab_value':12}
 
 
 
31
  },
32
  "layer_norm_eps": 1e-12,
33
  "max_position_embeddings": 512,