Update config.json
Browse files- config.json +49 -0
config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"BertForTokenClassification"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"hidden_act": "gelu",
|
7 |
+
"hidden_dropout_prob": 0.1,
|
8 |
+
"hidden_size": 768,
|
9 |
+
"id2label": {
|
10 |
+
"0": "B-event",
|
11 |
+
"1": "B-fac",
|
12 |
+
"2": "B-loc",
|
13 |
+
"3": "B-org",
|
14 |
+
"4": "B-pers",
|
15 |
+
"5": "B-pro",
|
16 |
+
"6": "I-event",
|
17 |
+
"7": "I-fac",
|
18 |
+
"8": "I-loc",
|
19 |
+
"9": "I-org",
|
20 |
+
"10": "I-pers",
|
21 |
+
"11": "I-pro",
|
22 |
+
"12": "O"
|
23 |
+
},
|
24 |
+
"initializer_range": 0.02,
|
25 |
+
"intermediate_size": 3072,
|
26 |
+
"label2id": {
|
27 |
+
"B-event": 0,
|
28 |
+
"B-fac": 1,
|
29 |
+
"B-loc": 2,
|
30 |
+
"B-org": 3,
|
31 |
+
"B-pers": 4,
|
32 |
+
"B-pro": 5,
|
33 |
+
"I-event": 6,
|
34 |
+
"I-fac": 7,
|
35 |
+
"I-loc": 8,
|
36 |
+
"I-org": 9,
|
37 |
+
"I-pers": 10,
|
38 |
+
"I-pro": 11,
|
39 |
+
"O": 12
|
40 |
+
},
|
41 |
+
"layer_norm_eps": 1e-12,
|
42 |
+
"max_position_embeddings": 512,
|
43 |
+
"model_type": "bert",
|
44 |
+
"num_attention_heads": 12,
|
45 |
+
"num_hidden_layers": 12,
|
46 |
+
"pad_token_id": 0,
|
47 |
+
"type_vocab_size": 2,
|
48 |
+
"vocab_size": 100000
|
49 |
+
}
|