Instructions to use therealcyberlord/llama2-qlora-finetuned-medical with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use therealcyberlord/llama2-qlora-finetuned-medical with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "therealcyberlord/llama2-qlora-finetuned-medical") - Notebooks
- Google Colab
- Kaggle
Commit ·
d52cfb7
1
Parent(s): 4601b87
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
library_name: peft
|
| 3 |
---
|
|
|
|
| 1 |
+
# Llama2 🦙 finetuned on medical diagnosis
|
| 2 |
+
MedText dataset: https://huggingface.co/datasets/BI55/MedText
|
| 3 |
+
|
| 4 |
+
1412 pairs of diagnosis cases
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
# About:
|
| 8 |
+
The primary objective of this fine-tuning process is to equip Llama2 with the ability to assist in diagnosing various medical cases and diseases.
|
| 9 |
+
However, it is essential to clarify that it is not designed to replace real medical professionals. Instead, its purpose is to provide helpful information to users,
|
| 10 |
+
suggesting potential next steps based on the input data and the patterns it has learned from the MedText dataset.
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
|
| 18 |
---
|
| 19 |
library_name: peft
|
| 20 |
---
|