spanish-clinical-ner / config.json
mrojas's picture
Training in progress, step 500
880ab92
raw
history blame
2.12 kB
{
"_name_or_path": "plncmm/roberta-clinical-wl-es",
"architectures": [
"RobertaForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"eos_token_id": 2,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "O",
"1": "B-Disease",
"2": "I-Disease",
"3": "B-Medication",
"4": "I-Medication",
"5": "B-Abbreviation",
"6": "I-Abbreviation",
"7": "B-Body_Part",
"8": "I-Body_Part",
"9": "B-Family_Member",
"10": "I-Family_Member",
"11": "B-Sign_or_Symptom",
"12": "I-Sign_or_Symptom",
"13": "B-Laboratory_or_Test_Result",
"14": "I-Laboratory_or_Test_Result",
"15": "B-Clinical_Finding",
"16": "I-Clinical_Finding",
"17": "B-Diagnostic_Procedure",
"18": "I-Diagnostic_Procedure",
"19": "B-Laboratory_Procedure",
"20": "I-Laboratory_Procedure",
"21": "B-Therapeutic_Procedure",
"22": "I-Therapeutic_Procedure"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-Abbreviation": 5,
"B-Body_Part": 7,
"B-Clinical_Finding": 15,
"B-Diagnostic_Procedure": 17,
"B-Disease": 1,
"B-Family_Member": 9,
"B-Laboratory_Procedure": 19,
"B-Laboratory_or_Test_Result": 13,
"B-Medication": 3,
"B-Sign_or_Symptom": 11,
"B-Therapeutic_Procedure": 21,
"I-Abbreviation": 6,
"I-Body_Part": 8,
"I-Clinical_Finding": 16,
"I-Diagnostic_Procedure": 18,
"I-Disease": 2,
"I-Family_Member": 10,
"I-Laboratory_Procedure": 20,
"I-Laboratory_or_Test_Result": 14,
"I-Medication": 4,
"I-Sign_or_Symptom": 12,
"I-Therapeutic_Procedure": 22,
"O": 0
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "roberta",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.24.0",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 52000
}