drug-classifier / config.json
Haitam03's picture
drug-classifier-distilbert
8252e0a verified
{
"activation": "gelu",
"architectures": [
"DistilBertForSequenceClassification"
],
"attention_dropout": 0.1,
"dim": 768,
"dropout": 0.1,
"dtype": "float32",
"hidden_dim": 3072,
"id2label": {
"0": "birth control",
"1": "depression",
"2": "acne",
"3": "anxiety",
"4": "pain",
"5": "bipolar disorde",
"6": "weight loss",
"7": "obesity",
"8": "insomnia",
"9": "adhd",
"10": "emergency contraception",
"11": "diabetes, type 2",
"12": "vaginal yeast infection",
"13": "abnormal uterine bleeding",
"14": "high blood pressure",
"15": "bowel preparation",
"16": "smoking cessation",
"17": "anxiety and stress",
"18": "ibromyalgia",
"19": "major depressive disorde"
},
"initializer_range": 0.02,
"label2id": {
"abnormal uterine bleeding": 13,
"acne": 2,
"adhd": 9,
"anxiety": 3,
"anxiety and stress": 17,
"bipolar disorde": 5,
"birth control": 0,
"bowel preparation": 15,
"depression": 1,
"diabetes, type 2": 11,
"emergency contraception": 10,
"high blood pressure": 14,
"ibromyalgia": 18,
"insomnia": 8,
"major depressive disorde": 19,
"obesity": 7,
"pain": 4,
"smoking cessation": 16,
"vaginal yeast infection": 12,
"weight loss": 6
},
"max_position_embeddings": 512,
"model_type": "distilbert",
"n_heads": 12,
"n_layers": 6,
"output_past": true,
"pad_token_id": 0,
"problem_type": "single_label_classification",
"qa_dropout": 0.1,
"seq_classif_dropout": 0.2,
"sinusoidal_pos_embds": false,
"tie_weights_": true,
"transformers_version": "4.56.1",
"vocab_size": 28996
}