|
{ |
|
"_name_or_path": "bert-base-cased", |
|
"architectures": [ |
|
"BertForTokenClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"classifier_dropout": null, |
|
"gradient_checkpointing": false, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "O", |
|
"1": "Age", |
|
"2": "Sex", |
|
"3": "Clinical_event", |
|
"4": "Nonbiological_location", |
|
"5": "Duration", |
|
"6": "Severity", |
|
"7": "Biological_structure", |
|
"8": "Sign_symptom", |
|
"9": "History", |
|
"10": "Lab_value", |
|
"11": "Therapeutic_procedure", |
|
"12": "Diagnostic_procedure", |
|
"13": "Personal_background", |
|
"14": "Date", |
|
"15": "Disease_disorder", |
|
"16": "Volume", |
|
"17": "Frequency", |
|
"18": "Detailed_description", |
|
"19": "Occupation", |
|
"20": "Activity", |
|
"21": "Qualitative_concept", |
|
"22": "Subject", |
|
"23": "Distance", |
|
"24": "Other_event", |
|
"25": "Medication", |
|
"26": "Family_history", |
|
"27": "Dosage", |
|
"28": "Color", |
|
"29": "Time", |
|
"30": "Outcome", |
|
"31": "Biological_attribute", |
|
"32": "Quantitative_concept", |
|
"33": "Texture", |
|
"34": "Coreference", |
|
"35": "Shape", |
|
"36": "Height", |
|
"37": "Mass", |
|
"38": "Area" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"Activity": 20, |
|
"Age": 1, |
|
"Area": 38, |
|
"Biological_attribute": 31, |
|
"Biological_structure": 7, |
|
"Clinical_event": 3, |
|
"Color": 28, |
|
"Coreference": 34, |
|
"Date": 14, |
|
"Detailed_description": 18, |
|
"Diagnostic_procedure": 12, |
|
"Disease_disorder": 15, |
|
"Distance": 23, |
|
"Dosage": 27, |
|
"Duration": 5, |
|
"Family_history": 26, |
|
"Frequency": 17, |
|
"Height": 36, |
|
"History": 9, |
|
"Lab_value": 10, |
|
"Mass": 37, |
|
"Medication": 25, |
|
"Nonbiological_location": 4, |
|
"O": 0, |
|
"Occupation": 19, |
|
"Other_event": 24, |
|
"Outcome": 30, |
|
"Personal_background": 13, |
|
"Qualitative_concept": 21, |
|
"Quantitative_concept": 32, |
|
"Severity": 6, |
|
"Sex": 2, |
|
"Shape": 35, |
|
"Sign_symptom": 8, |
|
"Subject": 22, |
|
"Texture": 33, |
|
"Therapeutic_procedure": 11, |
|
"Time": 29, |
|
"Volume": 16 |
|
}, |
|
"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.29.2", |
|
"type_vocab_size": 2, |
|
"use_cache": true, |
|
"vocab_size": 28996 |
|
} |
|
|