clinical_bert_ft / config.json
ericntay's picture
Done
8935bd3
{
"_name_or_path": "emilyalsentzer/Bio_ClinicalBERT",
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "O",
"1": "B-Gene_or_gene_product",
"2": "I-Gene_or_gene_product",
"3": "B-Cancer",
"4": "I-Cancer",
"5": "B-Cell",
"6": "I-Cell",
"7": "B-Organism",
"8": "B-Simple_chemical",
"9": "I-Simple_chemical",
"10": "B-Multi-tissue_structure",
"11": "I-Multi-tissue_structure",
"12": "B-Organ",
"13": "B-Organism_subdivision",
"14": "B-Tissue",
"15": "I-Tissue",
"16": "B-Immaterial_anatomical_entity",
"17": "B-Organism_substance",
"18": "I-Organism_substance",
"19": "I-Organism",
"20": "I-Organism_subdivision",
"21": "B-Cellular_component",
"22": "I-Immaterial_anatomical_entity",
"23": "I-Cellular_component",
"24": "B-Pathological_formation",
"25": "I-Pathological_formation",
"26": "I-Organ",
"27": "B-Amino_acid",
"28": "I-Amino_acid",
"29": "B-Anatomical_system",
"30": "I-Anatomical_system",
"31": "B-Developing_anatomical_structure",
"32": "I-Developing_anatomical_structure"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-Amino_acid": 27,
"B-Anatomical_system": 29,
"B-Cancer": 3,
"B-Cell": 5,
"B-Cellular_component": 21,
"B-Developing_anatomical_structure": 31,
"B-Gene_or_gene_product": 1,
"B-Immaterial_anatomical_entity": 16,
"B-Multi-tissue_structure": 10,
"B-Organ": 12,
"B-Organism": 7,
"B-Organism_subdivision": 13,
"B-Organism_substance": 17,
"B-Pathological_formation": 24,
"B-Simple_chemical": 8,
"B-Tissue": 14,
"I-Amino_acid": 28,
"I-Anatomical_system": 30,
"I-Cancer": 4,
"I-Cell": 6,
"I-Cellular_component": 23,
"I-Developing_anatomical_structure": 32,
"I-Gene_or_gene_product": 2,
"I-Immaterial_anatomical_entity": 22,
"I-Multi-tissue_structure": 11,
"I-Organ": 26,
"I-Organism": 19,
"I-Organism_subdivision": 20,
"I-Organism_substance": 18,
"I-Pathological_formation": 25,
"I-Simple_chemical": 9,
"I-Tissue": 15,
"O": 0
},
"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.20.1",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 28996
}