SMM4H2024_Task2a_ja / config.json
vahbuna's picture
feat: model files
fe1cd6e verified
raw
history blame contribute delete
No virus
965 Bytes
{
"_name_or_path": "daisaku-s/medtxt_ner_roberta",
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "O",
"1": "B-DISORDER",
"2": "I-DISORDER",
"3": "B-DRUG",
"4": "I-DRUG",
"5": "B-FUNCTION",
"6": "I-FUNCTION"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-DISORDER": 1,
"B-DRUG": 3,
"B-FUNCTION": 5,
"I-DISORDER": 2,
"I-DRUG": 4,
"I-FUNCTION": 6,
"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.40.1",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 50000
}