Text Classification
Transformers
PyTorch
Safetensors
English
bert
bert-base-uncased
disease
medical
text-embeddings-inference
Instructions to use shanover/disease_classifier_base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shanover/disease_classifier_base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="shanover/disease_classifier_base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("shanover/disease_classifier_base") model = AutoModelForSequenceClassification.from_pretrained("shanover/disease_classifier_base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,7 +8,15 @@ tags:
|
|
| 8 |
- bert-base-uncased
|
| 9 |
- disease
|
| 10 |
- medical
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
| 8 |
- bert-base-uncased
|
| 9 |
- disease
|
| 10 |
- medical
|
| 11 |
+
widget:
|
| 12 |
+
- text: "I am having itching, skin rash, and nodal skin eruptions"
|
| 13 |
+
example_title: "Fungal infection example"
|
| 14 |
+
- text: "I feel like vomiting, breathlessness, and sweating"
|
| 15 |
+
example_title: "Heart Attack example"
|
| 16 |
+
- text: "I am feeling fatigue, weight loss, restlessness and also lethargy."
|
| 17 |
+
example_title: "Diabetes example"
|
| 18 |
---
|
| 19 |
|
| 20 |
+
The objective is to develop a symptom-to-disease classification model for a natural language chatbot. This model takes input text such as "I am feeling vomiting, breathlessness, and sweating" and accurately identifies the associated disease (2 - 'Heart attack').
|
| 21 |
+
|
| 22 |
+
In essence, the chatbot's purpose is to analyze users' symptoms and provide relevant disease predictions in real-time conversation.
|