|
{ |
|
"_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": "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, |
|
"intermediate_size": 3072, |
|
"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 |
|
}, |
|
"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 |
|
} |
|
|