BiomedBERT-PHI-NER / config.json
MutazYoune's picture
Upload BertForTokenClassification
d5622a7 verified
{
"_name_or_path": "MutazYoune/BiomedBERT-Finetuned-PHI",
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "B-BIRTHDAY",
"1": "B-DOCTOR_NAME",
"2": "B-HOSPITAL_NAME",
"3": "B-LOCATION",
"4": "B-OTHER_NAME",
"5": "B-PATIENT_ID",
"6": "B-PATIENT_NAME",
"7": "I-BIRTHDAY",
"8": "I-DOCTOR_NAME",
"9": "I-HOSPITAL_NAME",
"10": "I-LOCATION",
"11": "I-OTHER_NAME",
"12": "I-PATIENT_ID",
"13": "I-PATIENT_NAME",
"14": "O"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-BIRTHDAY": 0,
"B-DOCTOR_NAME": 1,
"B-HOSPITAL_NAME": 2,
"B-LOCATION": 3,
"B-OTHER_NAME": 4,
"B-PATIENT_ID": 5,
"B-PATIENT_NAME": 6,
"I-BIRTHDAY": 7,
"I-DOCTOR_NAME": 8,
"I-HOSPITAL_NAME": 9,
"I-LOCATION": 10,
"I-OTHER_NAME": 11,
"I-PATIENT_ID": 12,
"I-PATIENT_NAME": 13,
"O": 14
},
"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.45.1",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}