bert-medical-ner / config.json
silpakanneganti's picture
Training in progress, epoch 1
7ed2ea8
raw
history blame
5.06 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",
"46": "B-Volume",
"47": "I-Volume",
"48": "B-Frequency",
"49": "I-Frequency",
"50": "B-Area",
"51": "I-Area",
"52": "B-Color",
"53": "B-Shape",
"54": "I-Color",
"55": "B-Occupation",
"56": "I-Occupation",
"57": "I-Shape",
"58": "I-Clinical_event",
"59": "B-Activity",
"60": "I-Activity",
"61": "I-Administration",
"62": "B-Qualitative_concept",
"63": "B-Quantitative_concept",
"64": "I-Qualitative_concept",
"65": "B-Weight",
"66": "I-Weight",
"67": "B-Other_event",
"68": "I-Severity",
"69": "I-Personal_background",
"70": "B-Other_entity",
"71": "I-Other_entity",
"72": "B-Height",
"73": "I-Height",
"74": "B-Biological_attribute",
"75": "I-Biological_attribute",
"76": "I-Outcome",
"77": "I-Other_event",
"78": "I-Texture",
"79": "I-Quantitative_concept",
"80": "B-Person",
"81": "B-Healthcare",
"82": "I-Healthcare",
"83": "B-Reference_Number",
"84": "B-CPT_code",
"85": "B-Mass",
"86": "I-Mass"
},
"initializer_range": 0.02,
"label2id": {
"B-Activity": 59,
"B-Administration": 21,
"B-Age": 1,
"B-Area": 50,
"B-Biological_attribute": 74,
"B-Biological_structure": 8,
"B-CPT_code": 84,
"B-Clinical_event": 3,
"B-Color": 52,
"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-Frequency": 48,
"B-Healthcare": 81,
"B-Height": 72,
"B-History": 10,
"B-Lab_value": 28,
"B-Mass": 85,
"B-Medication": 22,
"B-Nonbiological_location": 4,
"B-Occupation": 55,
"B-Other_entity": 70,
"B-Other_event": 67,
"B-Outcome": 45,
"B-Person": 80,
"B-Personal_background": 39,
"B-Qualitative_concept": 62,
"B-Quantitative_concept": 63,
"B-Reference_Number": 83,
"B-Severity": 7,
"B-Sex": 2,
"B-Shape": 53,
"B-Sign_symptom": 9,
"B-Subject": 40,
"B-Texture": 31,
"B-Therapeutic_procedure": 13,
"B-Time": 35,
"B-Volume": 46,
"B-Weight": 65,
"I-Activity": 60,
"I-Administration": 61,
"I-Age": 34,
"I-Area": 51,
"I-Biological_attribute": 75,
"I-Biological_structure": 30,
"I-Clinical_event": 58,
"I-Color": 54,
"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-Frequency": 49,
"I-Healthcare": 82,
"I-Height": 73,
"I-History": 11,
"I-Lab_value": 29,
"I-Mass": 86,
"I-Medication": 37,
"I-Nonbiological_location": 17,
"I-Occupation": 56,
"I-Other_entity": 71,
"I-Other_event": 77,
"I-Outcome": 76,
"I-Personal_background": 69,
"I-Qualitative_concept": 64,
"I-Quantitative_concept": 79,
"I-Severity": 68,
"I-Shape": 57,
"I-Sign_symptom": 19,
"I-Subject": 41,
"I-Texture": 78,
"I-Therapeutic_procedure": 20,
"I-Time": 36,
"I-Volume": 47,
"I-Weight": 66,
"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
}