File size: 756 Bytes
6b1d5cb
6b6d074
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
tags:
- text-classification
pipeline_tag: text-classification
---

# Medical Diagnosis Chatbot

This model is trained to classify medical conditions based on input symptoms and provide appropriate recommendations.

## Supported Tasks

This model supports the following tasks:
- `text-classification`: Classify text into predefined medical conditions.

## Usage

Here is how you can use the model for text classification:

```python
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)