ruanchaves's picture
Upload config.json with huggingface_hub
ac4d364
{
"_name_or_path": "neuralmind/bert-base-portuguese-cased",
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"directionality": "bidi",
"finetuning_task": "ner",
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "O",
"1": "B-PESSOA",
"2": "I-PESSOA",
"3": "B-ORGANIZACAO",
"4": "I-ORGANIZACAO",
"5": "B-LOCAL",
"6": "I-LOCAL",
"7": "B-TEMPO",
"8": "I-TEMPO",
"9": "B-VALOR",
"10": "I-VALOR",
"11": "B-ABSTRACCAO",
"12": "I-ABSTRACCAO",
"13": "B-ACONTECIMENTO",
"14": "I-ACONTECIMENTO",
"15": "B-COISA",
"16": "I-COISA",
"17": "B-OBRA",
"18": "I-OBRA",
"19": "B-OUTRO",
"20": "I-OUTRO"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-ABSTRACCAO": 11,
"B-ACONTECIMENTO": 13,
"B-COISA": 15,
"B-LOCAL": 5,
"B-OBRA": 17,
"B-ORGANIZACAO": 3,
"B-OUTRO": 19,
"B-PESSOA": 1,
"B-TEMPO": 7,
"B-VALOR": 9,
"I-ABSTRACCAO": 12,
"I-ACONTECIMENTO": 14,
"I-COISA": 16,
"I-LOCAL": 6,
"I-OBRA": 18,
"I-ORGANIZACAO": 4,
"I-OUTRO": 20,
"I-PESSOA": 2,
"I-TEMPO": 8,
"I-VALOR": 10,
"O": 0
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_past": true,
"pad_token_id": 0,
"pooler_fc_size": 768,
"pooler_num_attention_heads": 12,
"pooler_num_fc_layers": 3,
"pooler_size_per_head": 128,
"pooler_type": "first_token_transform",
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.28.0.dev0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 29794
}