joaobone's picture
Update config.json
473ab88 verified
{
"_name_or_path": "/home/paperspace/MLM/tests/local_checkpoints/medialbertina_ptpt_full",
"architectures": [
"DebertaV2ForTokenClassification"
],
"attention_head_size": 64,
"attention_probs_dropout_prob": 0.1,
"conv_act": "gelu",
"conv_kernel_size": 3,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 1536,
"id2label": {
"0": "O",
"1": "B-Diagnostico",
"2": "I-Diagnostico",
"3": "B-Sintoma",
"4": "I-Sintoma",
"5": "B-Medicamento",
"6": "I-Medicamento",
"7": "B-Dosagem",
"8": "I-Dosagem",
"9": "B-ProcedimentoMedico",
"10": "I-ProcedimentoMedico",
"11": "B-SinalVital",
"12": "I-SinalVital",
"13": "B-Resultado",
"14": "I-Resultado",
"15": "B-Progresso",
"16": "I-Progresso"
},
"initializer_range": 0.02,
"intermediate_size": 6144,
"label2id": {
"B-Diagnostico": 1,
"B-Dosagem": 7,
"B-Medicamento": 5,
"B-Progresso": 15,
"B-ProcedimentoMedico": 9,
"B-Resultado": 13,
"B-Sintoma": 3,
"B-SinalVital": 11,
"I-Diagnostico": 2,
"I-Dosagem": 8,
"I-Medicamento": 6,
"I-Progresso": 16,
"I-ProcedimentoMedico": 10,
"I-Resultado": 14,
"I-Sintoma": 4,
"I-SinalVital": 12,
"O": 0
},
"layer_norm_eps": 1e-07,
"max_position_embeddings": 512,
"max_relative_positions": -1,
"model_type": "deberta-v2",
"norm_rel_ebd": "layer_norm",
"num_attention_heads": 24,
"num_hidden_layers": 24,
"pad_token_id": 0,
"pooler_dropout": 0,
"pooler_hidden_act": "gelu",
"pooler_hidden_size": 1536,
"pos_att_type": [
"p2c",
"c2p"
],
"position_biased_input": false,
"position_buckets": 256,
"relative_attention": true,
"share_att_key": true,
"torch_dtype": "float32",
"transformers_version": "4.36.2",
"type_vocab_size": 0,
"vocab_size": 128100
}