Downloads · 30 days
0
monajm36/ohca-classifier-v11
ohca-classifier-v11 is a text classification model from monajm36. 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.
A transformer-based deep learning model for automatically identifying Out-of-Hospital Cardiac Arrest (OHCA) cases from clinical notes.
Downloads · 30 days
0
Access
Public
Updated Dec 6, 2025
Repo size
440 MB
Likes
0
Public
Click a slice to open those files.
.bin440 MB · 100%
From the Hugging Face model README
A transformer-based deep learning model for automatically identifying Out-of-Hospital Cardiac Arrest (OHCA) cases from clinical notes.
Key Innovation: Combines semantic understanding (PubMedBERT) with explicit location and temporal features to distinguish OHCA from in-hospital cardiac arrest (IHCA).
| Metric | Score |
|---|---|
| Sensitivity | 92.1% |
| Specificity | 89.4% |
| Precision | 79.9% |
| F1-Score | 0.856 |
| AUC-ROC | 0.956 |
Base Model: microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract
Input Features (775 dimensions):
Classifier: 3-layer MLP (775 → 512 → 256 → 2)
OHCA indicators: home, EMS, scene, field, bystander, ambulance, paramedics, etc.
IHCA indicators: floor, ICU, ward, room, bed, code blue, admitted, telemetry, etc.
Captures the story of what happened:
# Note: Requires custom model class and feature extraction
# See model files for implementation details
from transformers import AutoTokenizer
import torch
# Load tokenizer
tokenizer = AutoTokenizer.from_pretrained("monajm36/ohca-classifier-v11")
# Example clinical note
note = """
Patient found unresponsive at home by family. 911 called.
EMS arrived, initiated CPR. ROSC achieved in field.
Transported to ED.
"""
# Extract features (requires custom code)
# location_features = extract_location_features(note)
# temporal_features = extract_temporal_features(note)
# Tokenize
inputs = tokenizer(note, return_tensors="pt", max_length=512, truncation=True)
# Predict (requires loading custom model architecture)
# ...
Choose threshold based on your clinical use case:
| Use Case | Threshold | Sensitivity | Specificity | F1 |
|---|---|---|---|---|
| Screening (High Recall) | 0.14 | 92.1% | 89.4% | 0.856 |
| Balanced | 0.74 | 82.3% | 93.2% | 0.831 |
| Research (High Precision) | 0.85 | 75.4% | 95.0% | 0.810 |
This is Version 11 - the latest and most accurate version.
| Version | Key Features | F1-Score |
|---|---|---|
| V9 | BERT only | 0.732 |
| V10 | + Location features | 0.814 |
| V11 | + Temporal features | 0.856 |
@misc{moukaddem2025ohca,
author = {Moukaddem, Mona},
title = {OHCA Classifier V11: Temporal and Location-Aware Model for Out-of-Hospital Cardiac Arrest Identification},
year = {2025},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/monajm36/ohca-classifier-v11}}
}
For questions, issues, or collaboration opportunities, please open an issue on the model repository.
Mona Moukaddem