Update README.md
Browse files
README.md
CHANGED
@@ -15,4 +15,41 @@ tags:
|
|
15 |
|
16 |
- **Developed by:** huzaifa525
|
17 |
- **License:** apache-2.0
|
18 |
-
- **Finetuned from model :** Meta-Llama-3.1-8B-bnb-4bit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
- **Developed by:** huzaifa525
|
17 |
- **License:** apache-2.0
|
18 |
+
- **Finetuned from model :** Meta-Llama-3.1-8B-bnb-4bit
|
19 |
+
|
20 |
+
# **LLaMA 3.1B Fine-tuned on Medical Dataset**
|
21 |
+
|
22 |
+
### **Model Overview**
|
23 |
+
This is a fine-tuned version of the **Meta-Llama-3.1-8B-bnb-4bit** model, specifically adapted for the medical field. It has been trained using a dataset that provides extensive information on **diseases, symptoms, and treatments**, making it ideal for AI-powered healthcare tools such as medical chatbots, virtual assistants, and diagnostic support systems.
|
24 |
+
|
25 |
+
### **Key Features**
|
26 |
+
- **Disease Diagnosis**: Accurately identifies diseases based on symptoms provided by the user.
|
27 |
+
- **Symptom Analysis**: Breaks down and interprets symptoms to provide a comprehensive medical overview.
|
28 |
+
- **Treatment Recommendations**: Suggests treatments and remedies according to medical conditions.
|
29 |
+
|
30 |
+
### **Dataset**
|
31 |
+
The model is fine-tuned on 2000 rows from a dataset consisting of **272k rows**. This dataset includes rich information about diseases, symptoms, and their corresponding treatments. The model is continuously being updated and will be further trained on the remaining data in future releases to improve accuracy and capabilities.
|
32 |
+
|
33 |
+
### **Model Applications**
|
34 |
+
- **Medical Chatbots**: Use for real-time interaction between patients and virtual medical agents.
|
35 |
+
- **Healthcare Virtual Assistants**: For symptom checking, health guidance, and first-level triage.
|
36 |
+
- **Diagnostic Tools**: To assist healthcare professionals in diagnosing conditions based on symptoms.
|
37 |
+
- **Patient Self-Assessment**: Symptom checkers to empower patients in their health journey.
|
38 |
+
|
39 |
+
### **How to Use**
|
40 |
+
#### Use a pipeline as a high-level helper
|
41 |
+
```
|
42 |
+
from transformers import pipeline
|
43 |
+
messages = [
|
44 |
+
{"role": "user", "content": "Who are you?"},
|
45 |
+
]
|
46 |
+
pipe = pipeline("text-generation", model="huzaifa525/Doctoraifinetune-3.1-8B")
|
47 |
+
pipe(messages)
|
48 |
+
```
|
49 |
+
|
50 |
+
# Load model directly
|
51 |
+
```
|
52 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
53 |
+
tokenizer = AutoTokenizer.from_pretrained("huzaifa525/Doctoraifinetune-3.1-8B")
|
54 |
+
model = AutoModelForCausalLM.from_pretrained("huzaifa525/Doctoraifinetune-3.1-8B")
|
55 |
+
```
|