Update config.json
Browse files- 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 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
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 |
-
"
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
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,
|