OpenDemoHealth DON Subtype Classifier
Infection Subtype Classifier by Headlines
2 min read
A compact text-classification model that determines specific disease subtypes—such as H5N1, H7N9, or cVDPV2—solely from English news headlines. It is part of the OpenDemoHealth open-source model series for demography and public health tasks by author SallySims. It is built on the bert-base-uncased architecture with 0.11B parameters, trained on WHO Disease Outbreak News. The model is useful for researchers and analysts to quickly perform primary sorting of medical reports without analyzing the full text.
Key features
- Works exclusively with short English headlines without requiring the full report text.
- Built on a lightweight
bert-base-uncasedbase (0.11B parameters), allowing it to run even on modest hardware. - Trained on 819 entries from the curated WHO database (DONdatabase.csv), covering subtypes with at least 10 mentions.
- Shows high accuracy on popular classes like H1N1, H5N1, and H7N9, with the correct option always landing in the top 3 predictions on the test set.
What you can do
- Integrate into an English-language WHO news monitoring pipeline for automatic headline tagging by virus subtypes.
- Use as a baseline in educational and research projects on epidemiology and healthcare text analysis.
Example
from transformers import pipeline
clf = pipeline('text-classification', model='SallySims/opendemohealth-don-subtype', top_k=3)
clf('your text here')Read more
DetailsTest metrics (117 examples): accuracy — 0.9744, weighted F1 — 0.9689, macro F1 — 0.8037, top-3 accuracy — 1.0000.
Training: 819 rows from WHO Disease Outbreak News, 70/15/15 split grouped by report ID.
Limitations: the model has not seen full report texts, so high metrics are partly due to headline similarity for the same outbreak; not intended for early warning systems.
License: not specified yet, check the source dataset terms before use.










Comments