Text Classification
Transformers
Safetensors
English
bert
medical
classification
healthcare
clinicalbert
symptom-checker
Eval Results (legacy)
text-embeddings-inference
Instructions to use Iloriayomide/Symptom_Prediction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Iloriayomide/Symptom_Prediction with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Iloriayomide/Symptom_Prediction")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Iloriayomide/Symptom_Prediction") model = AutoModelForSequenceClassification.from_pretrained("Iloriayomide/Symptom_Prediction", device_map="auto") - Notebooks
- Google Colab
- Kaggle
π₯ SymbiPredict: ClinicalBERT Symptom-to-Disease Classifier
This model is a fine-tuned version of Bio_ClinicalBERT, optimized to predict diseases based on natural language descriptions of symptoms.
It has been trained on a massive merged dataset of over 96,000 patient cases covering 115+ unique medical conditions.
π Model Performance
| Epoch | Training Loss | Validation Loss |
|---|---|---|
| 1 | 0.4108 | 0.3452 |
| 2 | 0.3092 | 0.2852 |
| 3 | 0.2526 | 0.2577 |
The model achieves a final validation loss of 0.2577, demonstrating high confidence and generalization capabilities across 115 disease classes.
π How to Use (Python)
You can use this model directly with the Hugging Face pipeline.
from transformers import pipeline
# Load the pipeline
classifier = pipeline("text-classification", model="Iloriayomide/Symptom_Prediction", top_k=3)
# Test with symptoms
symptoms = "I have a severe headache, sensitivity to light, and I feel nauseous."
prediction = classifier(symptoms)
print(prediction)
- Downloads last month
- 35
Model tree for Iloriayomide/Symptom_Prediction
Base model
emilyalsentzer/Bio_ClinicalBERTEvaluation results
- lossself-reported0.258