Update config.json
Browse files- config.json +19 -14
config.json
CHANGED
@@ -8,7 +8,8 @@
|
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
-
"id2label": {
|
|
|
12 |
"1":"B-Age",
|
13 |
"2":"I-Age",
|
14 |
"3":"B-Sex",
|
@@ -20,21 +21,25 @@
|
|
20 |
"9":"I-Biological_structure",
|
21 |
"10":"B-Biological_structure",
|
22 |
"11":"I-Lab_value",
|
23 |
-
"12":"B-Lab_value"
|
|
|
24 |
"initializer_range": 0.02,
|
25 |
"intermediate_size": 3072,
|
26 |
-
"label2id":
|
27 |
-
|
28 |
-
"B-Age":1,
|
29 |
-
"I-Age":2,
|
30 |
-
"B-Sex":3,
|
31 |
-
"I-Sex":4,
|
32 |
-
"B-Disease_disorder":5,
|
33 |
-
"I-Disease_disorder":6,
|
34 |
-
"B-Sign_symptom":7,
|
35 |
-
"I-Sign_symptom":8,
|
36 |
-
|
37 |
-
|
|
|
|
|
|
|
38 |
"layer_norm_eps": 1e-12,
|
39 |
"max_position_embeddings": 512,
|
40 |
"model_type": "bert",
|
|
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0":"0",
|
13 |
"1":"B-Age",
|
14 |
"2":"I-Age",
|
15 |
"3":"B-Sex",
|
|
|
21 |
"9":"I-Biological_structure",
|
22 |
"10":"B-Biological_structure",
|
23 |
"11":"I-Lab_value",
|
24 |
+
"12":"B-Lab_value"
|
25 |
+
},
|
26 |
"initializer_range": 0.02,
|
27 |
"intermediate_size": 3072,
|
28 |
+
"label2id": {
|
29 |
+
"O":0,
|
30 |
+
"B-Age":1,
|
31 |
+
"I-Age":2,
|
32 |
+
"B-Sex":3,
|
33 |
+
"I-Sex":4,
|
34 |
+
"B-Disease_disorder":5,
|
35 |
+
"I-Disease_disorder":6,
|
36 |
+
"B-Sign_symptom":7,
|
37 |
+
"I-Sign_symptom":8,
|
38 |
+
"I-Biological_structure":9,
|
39 |
+
"B-Biological_structure":10,
|
40 |
+
"I-Lab_value":11,
|
41 |
+
"B-Lab_value":12
|
42 |
+
},
|
43 |
"layer_norm_eps": 1e-12,
|
44 |
"max_position_embeddings": 512,
|
45 |
"model_type": "bert",
|