Downloads · 30 days
5
2% of all-time downloads
Luwayy/disease_predict4
disease_predict4 is a text classification model from Luwayy. Use it when you need a label for a piece of text. It is set up for transformers.
A BERT-based model for classifying text descriptions of symptoms into medical-related categories.
Downloads · 30 days
5
2% of all-time downloads
All-time downloads
333
Public
Parameters
110M
438 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
A BERT-based model for classifying text descriptions of symptoms into medical-related categories.
from transformers import pipeline
pipe = pipeline("text-classification", model="Luwayy/disease_predict4")
text = "The patient is experiencing a persistent cough and shortness of breath."
result = pipe(text)
print(result) # [{'label': 'Cough', 'score': 0.9985}]
The model predicts one of the following symptoms:
- Emotional pain - Joint pain
- Hair falling out - Hard to breath
- Heart hurts - Head ache
- Infected wound - Body feels weak
- Foot ache - Feeling dizzy
- Shoulder pain - Back pain
- Injury from sports - Open wound
- Skin issue - Internal pain
- Stomach ache - Blurry vision
- Knee pain - Acne
- Muscle pain - Neck pain
- Cough - Ear ache
- Feeling cold