OpenDemoHealth VA Age-Module Router
Tells whether a verbal autopsy narrative is from the Adult, Child or Neonate module, so the right cause model can be applied.
Part of OpenDemoHealth, a set of small open models for demography and public health (SallySims/opendemohealth-va-module).
Training data
VA.csv: verbal autopsy open narratives (de-identified) with gold-standard causes of death from health-facility deaths at six sites. Narratives with fewer than 3 words were dropped; identical narratives are kept in the same split.
Rows used: 10777. Splits are 70/15/15 (train/validation/test) with a fixed seed.
Evaluation
- accuracy: 0.8664
- macro_f1: 0.8160
- weighted_f1: 0.8612
Validation set (used to pick the best epoch): val_accuracy = 0.8711, val_macro_f1 = 0.8214, val_weighted_f1 = 0.8663
Per-class report (test split)
precision recall f1-score support
Adult 0.86 0.96 0.91 981
Child 0.82 0.63 0.71 244
Neonate 0.91 0.75 0.82 317
accuracy 0.87 1542
macro avg 0.87 0.78 0.82 1542
weighted avg 0.87 0.87 0.86 1542
Usage
from transformers import pipeline
clf = pipeline('text-classification', model='SallySims/opendemohealth-va-module', top_k=3)
clf('your text here')
Limitations
Not a diagnostic tool and not for individual-level decisions: use for research on population-level cause-of-death patterns. All deaths were in health facilities, so it may not transfer to community deaths. Narratives are translated, noisy and often short; identical wording sometimes carries different causes. Some causes have few examples. Trained on redacted text; do not use it to identify people.
Licence
Not set yet. Check the terms of the source datasets before choosing a licence for these weights.
- Downloads last month
- 31
Model tree for SallySims/opendemohealth-va-module
Base model
distilbert/distilbert-base-uncased