Downloads · 30 days
9
15% of all-time downloads
umarkhan0206/medical-intent-classifier
medical-intent-classifier is a text classification model from umarkhan0206. Use it when you need a label for a piece of text. The card lists the license as mit.
DistilBERT fine-tuned to classify patient queries into 9 clinical intent categories for NHS triage routing. Part of a project demonstrating how a model that scored 100% on a standard train/test split turned out to be…
Downloads · 30 days
9
15% of all-time downloads
All-time downloads
62
Public
Parameters
67M
268 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 99%
From the Hugging Face model README
DistilBERT fine-tuned to classify patient queries into 9 clinical intent categories for NHS triage routing. Part of a project demonstrating how a model that scored 100% on a standard train/test split turned out to be only 18% reliable on independent, realistic patient phrasing — and what it took (LIME diagnosis + targeted LLM-generated augmentation across 12 iterations) to reach 92.3% on a leakage-checked stress test.
Full project, methodology, and demo: https://github.com/umarkhan0206/medical-intent-classifier
causes · exams and tests · information · inheritance · precautions · side effects · symptoms · treatment and outlook · when to contact a medical professional
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("umarkhan0206/medical-intent-classifier")
model = AutoModelForSequenceClassification.from_pretrained("umarkhan0206/medical-intent-classifier")
This is a routing aid, not a diagnostic tool, and should not be used for clinical decision-making.