lcampillos's picture
Upload config.json
adc2c88
raw
history blame
1.33 kB
{
"_name_or_path": "/home/leonardo/data/huggingface/bsc-bio-ehr-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": "B-ANAT",
"1": "I-ANAT",
"2": "B-CHEM",
"3": "I-CHEM",
"4": "B-DEVI",
"5": "I-DEVI",
"6": "B-DISO",
"7": "I-DISO",
"8": "B-LIVB",
"9": "I-LIVB",
"10": "B-PHYS",
"11": "I-PHYS",
"12": "B-PROC",
"13": "I-PROC",
"14": "O"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-ANAT": 0,
"B-CHEM": 2,
"B-DEVI": 4,
"B-DISO": 6,
"B-LIVB": 8,
"B-PHYS": 10,
"B-PROC": 12,
"I-ANAT": 1,
"I-CHEM": 3,
"I-DEVI": 5,
"I-DISO": 7,
"I-LIVB": 9,
"I-PHYS": 11,
"I-PROC": 13,
"O": 14
},
"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.17.0",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 50262
}