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 ·
b4b3168
1
Parent(s): 033c9e1
Librarian Bot: Add base_model information to model (#1)
Browse files- Librarian Bot: Add base_model information to model (fe4224dc6fdd1e41f76a3d8692f1c76f4803da45)
Co-authored-by: Librarian Bot (Bot) <librarian-bot@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
| 1 |
---
|
| 2 |
library_name: peft
|
| 3 |
-
datasets:
|
| 4 |
-
- BI55/MedText
|
| 5 |
-
pipeline_tag: text-generation
|
| 6 |
tags:
|
| 7 |
- llm
|
| 8 |
- llama2
|
| 9 |
- medical
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
# Llama2 🦙 finetuned on medical diagnosis
|
|
|
|
| 1 |
---
|
| 2 |
library_name: peft
|
|
|
|
|
|
|
|
|
|
| 3 |
tags:
|
| 4 |
- llm
|
| 5 |
- llama2
|
| 6 |
- medical
|
| 7 |
+
datasets:
|
| 8 |
+
- BI55/MedText
|
| 9 |
+
pipeline_tag: text-generation
|
| 10 |
+
base_model: meta-llama/Llama-2-7b-chat-hf
|
| 11 |
---
|
| 12 |
|
| 13 |
# Llama2 🦙 finetuned on medical diagnosis
|