MSey's picture
Upload BertForTokenClassification
e0b111d verified
{
"_name_or_path": "/home/jovyan/work/Ca-Test/_table_CaBERT_0003_medbert-512_fl32/checkpoint-17386",
"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-DIAGNOSIS",
"2": "I-DIAGNOSIS",
"3": "B-DIAGNOSTIC",
"4": "I-DIAGNOSTIC",
"5": "B-DRUG",
"6": "I-DRUG",
"7": "B-MEDICAL_FINDING",
"8": "I-MEDICAL_FINDING",
"9": "B-THERAPY",
"10": "I-THERAPY"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-DIAGNOSIS": 1,
"B-DIAGNOSTIC": 3,
"B-DRUG": 5,
"B-MEDICAL_FINDING": 7,
"B-THERAPY": 9,
"I-DIAGNOSIS": 2,
"I-DIAGNOSTIC": 4,
"I-DRUG": 6,
"I-MEDICAL_FINDING": 8,
"I-THERAPY": 10,
"O": 0
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 8,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.45.0.dev0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30000
}