financial_bert / config.json
vincenzopecorella's picture
Upload 12 files
4fc2d6d verified
{
"_name_or_path": "bert-base-uncased",
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"finetuning_task": "ner",
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "B-Advisors.GENERIC_CONSULTING_COMPANY",
"1": "B-Advisors.LEGAL_CONSULTING_COMPANY",
"2": "B-Generic_Info.ANNUAL_REVENUES",
"3": "B-Parties.ACQUIRED_COMPANY",
"4": "B-Parties.BUYING_COMPANY",
"5": "B-Parties.SELLING_COMPANY",
"6": "I-Advisors.GENERIC_CONSULTING_COMPANY",
"7": "I-Advisors.LEGAL_CONSULTING_COMPANY",
"8": "I-Generic_Info.ANNUAL_REVENUES",
"9": "I-Parties.ACQUIRED_COMPANY",
"10": "I-Parties.BUYING_COMPANY",
"11": "I-Parties.SELLING_COMPANY",
"12": "O"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-Advisors.GENERIC_CONSULTING_COMPANY": 0,
"B-Advisors.LEGAL_CONSULTING_COMPANY": 1,
"B-Generic_Info.ANNUAL_REVENUES": 2,
"B-Parties.ACQUIRED_COMPANY": 3,
"B-Parties.BUYING_COMPANY": 4,
"B-Parties.SELLING_COMPANY": 5,
"I-Advisors.GENERIC_CONSULTING_COMPANY": 6,
"I-Advisors.LEGAL_CONSULTING_COMPANY": 7,
"I-Generic_Info.ANNUAL_REVENUES": 8,
"I-Parties.ACQUIRED_COMPANY": 9,
"I-Parties.BUYING_COMPANY": 10,
"I-Parties.SELLING_COMPANY": 11,
"O": 12
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.48.0.dev0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}