config.json
829 B · 44 lines · json Raw
1 {
2 "_num_labels": 9,
3 "architectures": [
4 "BertForTokenClassification"
5 ],
6 "attention_probs_dropout_prob": 0.1,
7 "hidden_act": "gelu",
8 "hidden_dropout_prob": 0.1,
9 "hidden_size": 768,
10 "id2label": {
11 "0": "O",
12 "1": "B-MISC",
13 "2": "I-MISC",
14 "3": "B-PER",
15 "4": "I-PER",
16 "5": "B-ORG",
17 "6": "I-ORG",
18 "7": "B-LOC",
19 "8": "I-LOC"
20 },
21 "initializer_range": 0.02,
22 "intermediate_size": 3072,
23 "label2id": {
24 "B-LOC": 7,
25 "B-MISC": 1,
26 "B-ORG": 5,
27 "B-PER": 3,
28 "I-LOC": 8,
29 "I-MISC": 2,
30 "I-ORG": 6,
31 "I-PER": 4,
32 "O": 0
33 },
34 "layer_norm_eps": 1e-12,
35 "max_position_embeddings": 512,
36 "model_type": "bert",
37 "num_attention_heads": 12,
38 "num_hidden_layers": 12,
39 "output_past": true,
40 "pad_token_id": 0,
41 "type_vocab_size": 2,
42 "vocab_size": 28996
43 }
44