Downloads · 30 days
7
13% of all-time downloads
utkarshiitr/medicalchatbot_2
medicalchatbot_2 is a text classification model from utkarshiitr. Use it when you need a label for a piece of text. It is set up for transformers.
This model is trained to classify medical conditions based on input symptoms and provide appropriate recommendations.
Downloads · 30 days
7
13% of all-time downloads
All-time downloads
54
Public
Parameters
110M
438 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
This model is trained to classify medical conditions based on input symptoms and provide appropriate recommendations.
This model supports the following tasks:
text-classification: Classify text into predefined medical conditions.Here is how you can use the model for text classification:
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("utkarshiitr/medicalchatbot")
model = AutoModelForSequenceClassification.from_pretrained("utkarshiitr/medicalchatbot")
inputs = tokenizer("fever, cough", return_tensors="pt")
outputs = model(**inputs)