config.json
1.4 KB · 60 lines · json Raw
1 {
2 "_name_or_path": "neuralmind/bert-base-portuguese-cased",
3 "architectures": [
4 "BertForTokenClassification"
5 ],
6 "attention_probs_dropout_prob": 0.1,
7 "classifier_dropout": null,
8 "directionality": "bidi",
9 "gradient_checkpointing": false,
10 "hidden_act": "gelu",
11 "hidden_dropout_prob": 0.1,
12 "hidden_size": 768,
13 "id2label": {
14 "0": "O",
15 "1": "B-Organizacao",
16 "2": "I-Local",
17 "3": "B-Local",
18 "4": "B-Pessoa",
19 "5": "I-Profissao",
20 "6": "B-Profissao",
21 "7": "B-Data",
22 "8": "I-Data",
23 "9": "I-Pessoa",
24 "10": "I-Organizacao"
25 },
26 "initializer_range": 0.02,
27 "intermediate_size": 3072,
28 "label2id": {
29 "B-Data": 7,
30 "B-Local": 3,
31 "B-Organizacao": 1,
32 "B-Pessoa": 4,
33 "B-Profissao": 6,
34 "I-Data": 8,
35 "I-Local": 2,
36 "I-Organizacao": 10,
37 "I-Pessoa": 9,
38 "I-Profissao": 5,
39 "O": 0
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 "output_past": true,
47 "pad_token_id": 0,
48 "pooler_fc_size": 768,
49 "pooler_num_attention_heads": 12,
50 "pooler_num_fc_layers": 3,
51 "pooler_size_per_head": 128,
52 "pooler_type": "first_token_transform",
53 "position_embedding_type": "absolute",
54 "torch_dtype": "float32",
55 "transformers_version": "4.10.0.dev0",
56 "type_vocab_size": 2,
57 "use_cache": true,
58 "vocab_size": 29794
59 }
60