bert-medical-ner / config.json
silpakanneganti's picture
Training in progress, epoch 1
77060f6
raw
history blame
3.01 kB
{
"_name_or_path": "distilbert-base-cased",
"activation": "gelu",
"architectures": [
"DistilBertForTokenClassification"
],
"attention_dropout": 0.1,
"dim": 768,
"dropout": 0.1,
"hidden_dim": 3072,
"id2label": {
"0": "O",
"1": "B-Age",
"2": "B-Sex",
"3": "B-Clinical_event",
"4": "B-Nonbiological_location",
"5": "B-Duration",
"6": "I-Duration",
"7": "B-Severity",
"8": "B-Biological_structure",
"9": "B-Sign_symptom",
"10": "B-History",
"11": "I-History",
"12": "B-Coreference",
"13": "B-Therapeutic_procedure",
"14": "B-Date",
"15": "I-Date",
"16": "B-Disease_disorder",
"17": "I-Nonbiological_location",
"18": "B-Detailed_description",
"19": "I-Sign_symptom",
"20": "I-Therapeutic_procedure",
"21": "B-Administration",
"22": "B-Medication",
"23": "I-Detailed_description",
"24": "B-Family_history",
"25": "I-Family_history",
"26": "B-Diagnostic_procedure",
"27": "I-Diagnostic_procedure",
"28": "B-Lab_value",
"29": "I-Lab_value",
"30": "I-Biological_structure",
"31": "B-Texture",
"32": "B-Distance",
"33": "I-Distance",
"34": "I-Age",
"35": "B-Time",
"36": "I-Time",
"37": "I-Medication",
"38": "I-Disease_disorder",
"39": "B-Personal_background",
"40": "B-Subject",
"41": "I-Subject",
"42": "I-Coreference",
"43": "B-Dosage",
"44": "I-Dosage",
"45": "B-Outcome"
},
"initializer_range": 0.02,
"label2id": {
"B-Administration": 21,
"B-Age": 1,
"B-Biological_structure": 8,
"B-Clinical_event": 3,
"B-Coreference": 12,
"B-Date": 14,
"B-Detailed_description": 18,
"B-Diagnostic_procedure": 26,
"B-Disease_disorder": 16,
"B-Distance": 32,
"B-Dosage": 43,
"B-Duration": 5,
"B-Family_history": 24,
"B-History": 10,
"B-Lab_value": 28,
"B-Medication": 22,
"B-Nonbiological_location": 4,
"B-Outcome": 45,
"B-Personal_background": 39,
"B-Severity": 7,
"B-Sex": 2,
"B-Sign_symptom": 9,
"B-Subject": 40,
"B-Texture": 31,
"B-Therapeutic_procedure": 13,
"B-Time": 35,
"I-Age": 34,
"I-Biological_structure": 30,
"I-Coreference": 42,
"I-Date": 15,
"I-Detailed_description": 23,
"I-Diagnostic_procedure": 27,
"I-Disease_disorder": 38,
"I-Distance": 33,
"I-Dosage": 44,
"I-Duration": 6,
"I-Family_history": 25,
"I-History": 11,
"I-Lab_value": 29,
"I-Medication": 37,
"I-Nonbiological_location": 17,
"I-Sign_symptom": 19,
"I-Subject": 41,
"I-Therapeutic_procedure": 20,
"I-Time": 36,
"O": 0
},
"max_position_embeddings": 512,
"model_type": "distilbert",
"n_heads": 12,
"n_layers": 6,
"output_past": true,
"pad_token_id": 0,
"qa_dropout": 0.1,
"seq_classif_dropout": 0.2,
"sinusoidal_pos_embds": false,
"tie_weights_": true,
"torch_dtype": "float32",
"transformers_version": "4.29.2",
"vocab_size": 28996
}