Update config.json
Browse files- config.json +44 -0
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"BertForTokenClassification"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"directionality": "bidi",
|
7 |
+
"gradient_checkpointing": false,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "B-ORGANISATION",
|
13 |
+
"1": "B-PERSON",
|
14 |
+
"2": "B-PLACE",
|
15 |
+
"3": "I-ORGANISATION",
|
16 |
+
"4": "I-PERSON",
|
17 |
+
"5": "I-PLACE",
|
18 |
+
"6": "O"
|
19 |
+
},
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"intermediate_size": 3072,
|
22 |
+
"label2id": {
|
23 |
+
"B-ORGANISATION": 0,
|
24 |
+
"B-PERSON": 1,
|
25 |
+
"B-PLACE": 2,
|
26 |
+
"I-ORGANISATION": 3,
|
27 |
+
"I-PERSON": 4,
|
28 |
+
"I-PLACE": 5,
|
29 |
+
"O": 6
|
30 |
+
},
|
31 |
+
"layer_norm_eps": 1e-12,
|
32 |
+
"max_position_embeddings": 512,
|
33 |
+
"model_type": "bert",
|
34 |
+
"num_attention_heads": 12,
|
35 |
+
"num_hidden_layers": 12,
|
36 |
+
"pad_token_id": 0,
|
37 |
+
"pooler_fc_size": 768,
|
38 |
+
"pooler_num_attention_heads": 12,
|
39 |
+
"pooler_num_fc_layers": 3,
|
40 |
+
"pooler_size_per_head": 128,
|
41 |
+
"pooler_type": "first_token_transform",
|
42 |
+
"type_vocab_size": 2,
|
43 |
+
"vocab_size": 119547
|
44 |
+
}
|