Downloads · 30 days
0
vadimbelsky/bert-esi-triage-v58
bert-esi-triage-v58 is a text classification model from vadimbelsky. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
bert-esi-triage-v58 is a fine-tuned BiomedBERT classifier for the Emergency Severity Index (ESI 1-5) triage decision. v58 is the successor to v57 (epoch 3) on the same 18-eval suite. Headline improvements vs v57 e3:
Downloads · 30 days
0
Access
Public
Updated Jun 1, 2026
Repo size
439 MB
Likes
0
Public
Click a slice to open those files.
.pt439 MB · 100%
From the Hugging Face model README
bert-esi-triage-v58 is a fine-tuned BiomedBERT classifier for the
Emergency Severity Index (ESI 1-5) triage decision. v58 is the
successor to v57 (epoch 3) on the same 18-eval suite. Headline
improvements vs v57 e3:
Trade-off: cal_exact regresses by 2-6pp on MIETIC, judgment_gap, cardiac_arrest, and sepsis slices (a recall-for-safety shift).
esi_head Linear(832, 5). v58 drops the fusion path and uses
esi_head Linear(768, 5) directly on CLS. The encoder learns vital
patterns from raw text alone.train_bert_v44_bf16.py (bf16 native on GB10);
v57 used train_bert_v44_v53_3.py (feature-fusion variant).Load with PyTorch + transformers; CLS-pooled features feed each head:
esi_head: Linear(768, 5) — main output.The companion Space vadimbelsky/esi-triage-demo ships the full
calibration stack (demographic normalizer → per-dialect temperature →
confidence-aware ESI 1 bias → deterministic engine min ensemble).
⚠️ Not a medical device. Not for clinical use. This is a research artifact distributed for reproducibility and benchmarking. Real deployment requires institutional validation + IRB + local recalibration.
Per-slice ESI 1 recall (calibrated):
| Slice | n | v57 cal_ESI1_R | v58 cal_ESI1_R | Δ |
|---|---|---|---|---|
| mimic_holdout | 7,917 | 76.6% | 80.2% | +3.6pp |
| mcmed_clean_holdout | 1,000 | 77.0% | 84.0% | +7.0pp |
| mietic_clean_holdout | 200 | 90.0% | 86.7% | -3.3pp |
| lukina_v3 | 201 | 94.3% | 94.3% | 0pp |
| sepsis_eval_v1 | 93 | 95.0% | 95.0% | 0pp |
| stroke_eval_v1 | 97 | 95.0% | 92.5% | -2.5pp |
| anaphylaxis_eval_v1 | 90 | 97.1% | 97.1% | 0pp |
| cardiac_arrest_eval_v1 | 103 | 93.3% | 90.0% | -3.3pp |
| ob_emergency_eval_v1 | 98 | 95.0% | 90.0% | -5.0pp |
| pediatric_n200_v2 | 200 | 95.0% | 95.0% | 0pp |
| judgment_gap_v1 | 177 | 88.9% | 83.3% | -5.6pp |
| geriatric_n200_v1 | 200 | 78.8% | 80.0% | +1.3pp |
| polypharmacy_n200_v1 | 200 | 72.5% | 76.2% | +3.7pp |
| frequent_flyer_n200_v1 | 135 | 80.0% | 86.7% | +6.7pp |
| vital_completeness | 231 | 83.3% | 86.7% | +3.3pp |
| multi_cc_complexity | 304 | 76.2% | 77.8% | +1.6pp |
| concept_density | 260 | 80.0% | 86.7% | +6.7pp |
Verdict: 8 wins / 5 losses / 5 neutral on ESI 1 recall (mean +0.78pp).
MIMIC per-class recall (calibrated):
| Class | n | v57 R | v58 R | Δ |
|---|---|---|---|---|
| ESI 1 | 475 | 76.6% | 80.2% | +3.6pp |
| ESI 2 | 2,582 | 64.6% | 62.7% | -1.9pp |
| ESI 3 | 4,286 | 54.4% | 50.1% | -4.4pp |
| ESI 4 | 554 | 64.6% | 67.7% | +3.1pp |
| ESI 5 | 20 | 40.0% | 40.0% | 0pp |
vadimbelsky/esi-triage-demo — 19-head dashboard with engine ensemble,
demographic normalizer, dialect detection, per-dialect calibration. The
Space loads this model and exposes the full calibrated pipeline.