Upload config.json
Browse files- config.json +62 -0
config.json
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"BertForTokenClassification"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"gradient_checkpointing": false,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.1,
|
9 |
+
"hidden_size": 1024,
|
10 |
+
"id2label": {
|
11 |
+
"0": "B-DRUG",
|
12 |
+
"1": "I-DRUG",
|
13 |
+
"2": "B-STR",
|
14 |
+
"3": "I-STR",
|
15 |
+
"4": "B-DUR",
|
16 |
+
"5": "I-DUR",
|
17 |
+
"6": "B-ROU",
|
18 |
+
"7": "I-ROU",
|
19 |
+
"8": "B-FOR",
|
20 |
+
"9": "I-FOR",
|
21 |
+
"10": "B-ADE",
|
22 |
+
"11": "I-ADE",
|
23 |
+
"12": "B-DOS",
|
24 |
+
"13": "I-DOS",
|
25 |
+
"14": "B-REA",
|
26 |
+
"15": "I-REA",
|
27 |
+
"16": "B-FRE",
|
28 |
+
"17": "I-FRE",
|
29 |
+
"18": "O"
|
30 |
+
},
|
31 |
+
"initializer_range": 0.02,
|
32 |
+
"intermediate_size": 4096,
|
33 |
+
"label2id": {
|
34 |
+
"B-ADE": 10,
|
35 |
+
"B-DOS": 12,
|
36 |
+
"B-DRUG": 0,
|
37 |
+
"B-DUR": 4,
|
38 |
+
"B-FOR": 8,
|
39 |
+
"B-FRE": 16,
|
40 |
+
"B-REA": 14,
|
41 |
+
"B-ROU": 6,
|
42 |
+
"B-STR": 2,
|
43 |
+
"I-ADE": 11,
|
44 |
+
"I-DOS": 13,
|
45 |
+
"I-DRUG": 1,
|
46 |
+
"I-DUR": 5,
|
47 |
+
"I-FOR": 9,
|
48 |
+
"I-FRE": 17,
|
49 |
+
"I-REA": 15,
|
50 |
+
"I-ROU": 7,
|
51 |
+
"I-STR": 3,
|
52 |
+
"O": 18
|
53 |
+
},
|
54 |
+
"layer_norm_eps": 1e-12,
|
55 |
+
"max_position_embeddings": 512,
|
56 |
+
"model_type": "bert",
|
57 |
+
"num_attention_heads": 16,
|
58 |
+
"num_hidden_layers": 24,
|
59 |
+
"pad_token_id": 0,
|
60 |
+
"type_vocab_size": 2,
|
61 |
+
"vocab_size": 58996
|
62 |
+
}
|