Update config.json
Browse files- config.json +68 -0
config.json
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-EVENT",
|
13 |
+
"1": "B-GROUP",
|
14 |
+
"2": "B-LOC",
|
15 |
+
"3": "B-ORG",
|
16 |
+
"4": "B-OTHER",
|
17 |
+
"5": "B-PER",
|
18 |
+
"6": "B-PROD",
|
19 |
+
"7": "B-TIME",
|
20 |
+
"8": "B-TITLE",
|
21 |
+
"9": "I-EVENT",
|
22 |
+
"10": "I-GROUP",
|
23 |
+
"11": "I-LOC",
|
24 |
+
"12": "I-ORG",
|
25 |
+
"13": "I-OTHER",
|
26 |
+
"14": "I-PER",
|
27 |
+
"15": "I-PROD",
|
28 |
+
"16": "I-TIME",
|
29 |
+
"17": "I-TITLE",
|
30 |
+
"18": "O"
|
31 |
+
},
|
32 |
+
"initializer_range": 0.02,
|
33 |
+
"intermediate_size": 3072,
|
34 |
+
"label2id": {
|
35 |
+
"B-EVENT": 0,
|
36 |
+
"B-GROUP": 1,
|
37 |
+
"B-LOC": 2,
|
38 |
+
"B-ORG": 3,
|
39 |
+
"B-OTHER": 4,
|
40 |
+
"B-PER": 5,
|
41 |
+
"B-PROD": 6,
|
42 |
+
"B-TIME": 7,
|
43 |
+
"B-TITLE": 8,
|
44 |
+
"I-EVENT": 9,
|
45 |
+
"I-GROUP": 10,
|
46 |
+
"I-LOC": 11,
|
47 |
+
"I-ORG": 12,
|
48 |
+
"I-OTHER": 13,
|
49 |
+
"I-PER": 14,
|
50 |
+
"I-PROD": 15,
|
51 |
+
"I-TIME": 16,
|
52 |
+
"I-TITLE": 17,
|
53 |
+
"O": 18
|
54 |
+
},
|
55 |
+
"layer_norm_eps": 1e-12,
|
56 |
+
"max_position_embeddings": 512,
|
57 |
+
"model_type": "bert",
|
58 |
+
"num_attention_heads": 12,
|
59 |
+
"num_hidden_layers": 12,
|
60 |
+
"pad_token_id": 0,
|
61 |
+
"pooler_fc_size": 768,
|
62 |
+
"pooler_num_attention_heads": 12,
|
63 |
+
"pooler_num_fc_layers": 3,
|
64 |
+
"pooler_size_per_head": 128,
|
65 |
+
"pooler_type": "first_token_transform",
|
66 |
+
"type_vocab_size": 2,
|
67 |
+
"vocab_size": 119547
|
68 |
+
}
|