A newer version of the Gradio SDK is available: 6.19.0
metadata
title: Emergency Blood Request Classifier
emoji: π©Έ
colorFrom: red
colorTo: pink
sdk: gradio
app_file: app.py
pinned: false
license: apache-2.0
π©Έ Emergency Blood Request Classifier
A simple text classification demo to detect whether a blood donation request is an emergency or non-emergency.
π How It Works
Type or paste a blood request message into the text box and the model will classify it into one of two categories:
- π¨ Emergency β Requires immediate attention
- β Non-Emergency β Can be handled in a routine manner
Along with the verdict, you'll also see the probability scores for both classes.
π§ Model
| Detail | Info |
|---|---|
| Base Model | distilbert-base-uncased |
| Fine-tuned Model | AshenFdo/emergency_blood_request_classifier |
| Dataset | AshenFdo/synthetic_blood_request_urgency_dataset |
| Task | Text Classification |
| Accuracy | 100% on eval set |
π Try It Out
Just enter a message like:
"Patient is in critical condition after surgery and urgently needs O- blood immediately."
or
"Looking for a B+ donor for a planned surgery next month."
π Links
- π¦ Fine-tuned Model
- π Dataset
- π» GitHub