Healthi's picture
Update config.json
c546b55 verified
raw
history blame
1.5 kB
{
"architectures": [
"BertForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 128,
"initializer_range": 0.02,
"intermediate_size": 512,
"id2label": {
"0": "Hypertension",
"1": "Diabetes",
"2": "Asthma",
"3": "Chronic Obstructive Pulmonary Disease",
"4": "Atrial Fibrillation",
"5": "Coronary Heart Disease",
"6": "Stroke",
"7": "Anxiety and depression",
"8": "Dementia",
"9": "Myocardial Infarction",
"10": "Chronic Kidney Disease",
"11": "Thyroid Disorder",
"12": "Heart Failure",
"13": "Cancer"
},
"label2id": {
"Hypertension": 0,
"Diabetes": 1,
"Asthma": 2,
"Chronic Obstructive Pulmonary Disease": 3,
"Atrial Fibrillation": 4,
"Coronary Heart Disease": 5,
"Stroke": 6,
"Anxiety and depression": 7,
"Dementia": 8,
"Myocardial Infarction": 9,
"Chronic Kidney Disease": 10,
"Thyroid Disorder": 11,
"Heart Failure": 12,
"Cancer": 13
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 2,
"num_hidden_layers": 2,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"problem_type": "multi_label_classification",
"torch_dtype": "float32",
"transformers_version": "4.10.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 6501
}