|
{
|
|
"_name_or_path": "bert-base-uncased",
|
|
"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-symptom",
|
|
"2": "B-diagnosis",
|
|
"3": "B-medication",
|
|
"4": "B-dosage_and_frequency",
|
|
"5": "B-treatment",
|
|
"6": "I-symptom",
|
|
"7": "I-diagnosis",
|
|
"8": "I-medication",
|
|
"9": "I-dosage_and_frequency",
|
|
"10": "I-treatment",
|
|
"11": "O-symptom",
|
|
"12": "O-diagnosis",
|
|
"13": "O-medication",
|
|
"14": "O-dosage_and_frequency",
|
|
"15": "O-treatment"
|
|
},
|
|
"initializer_range": 0.02,
|
|
"intermediate_size": 3072,
|
|
"label2id": {
|
|
"B-diagnosis": 2,
|
|
"B-dosage_and_frequency": 4,
|
|
"B-medication": 3,
|
|
"B-symptom": 1,
|
|
"B-treatment": 5,
|
|
"I-diagnosis": 7,
|
|
"I-dosage_and_frequency": 9,
|
|
"I-medication": 8,
|
|
"I-symptom": 6,
|
|
"I-treatment": 10,
|
|
"O": 0,
|
|
"O-diagnosis": 12,
|
|
"O-dosage_and_frequency": 14,
|
|
"O-medication": 13,
|
|
"O-symptom": 11,
|
|
"O-treatment": 15
|
|
},
|
|
"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.40.1",
|
|
"type_vocab_size": 2,
|
|
"use_cache": true,
|
|
"vocab_size": 30522
|
|
}
|
|
|