BanglaMedNER / config.json
kazalbrur's picture
init commit
5b309c3 verified
raw
history blame
1.59 kB
{
"_name_or_path": "csebuetnlp/banglishbert",
"_num_labels": 2,
"amp": true,
"architectures": [
"ElectraForTokenClassification"
],
"attention_probs_dropout_prob": 0.4,
"classifier_dropout": null,
"embedding_size": 768,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.4,
"hidden_size": 768,
"id2label": {
"0": "O",
"1": "B-Symptom",
"2": "I-Symptom",
"3": "B-Health Condition",
"4": "I-Health Condition",
"5": "B-Age",
"6": "I-Age",
"7": "B-Medicine",
"8": "I-Medicine",
"9": "B-Dosage",
"10": "I-Dosage",
"11": "B-Medical Procedure",
"12": "I-Medical Procedure",
"13": "B-Specialist",
"14": "I-Specialist"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-Age": 5,
"B-Dosage": 9,
"B-Health Condition": 3,
"B-Medical Procedure": 11,
"B-Medicine": 7,
"B-Specialist": 13,
"B-Symptom": 1,
"I-Age": 6,
"I-Dosage": 10,
"I-Health Condition": 4,
"I-Medical Procedure": 12,
"I-Medicine": 8,
"I-Specialist": 14,
"I-Symptom": 2,
"O": 0
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "electra",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_past": true,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"summary_activation": "gelu",
"summary_last_dropout": 0.1,
"summary_type": "first",
"summary_use_proj": true,
"torch_dtype": "float32",
"transformers_version": "4.42.4",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 32000
}