BI55/MedText
Viewer β’ Updated β’ 1.41k β’ 504 β’ 92
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")MedText dataset: https://huggingface.co/datasets/BI55/MedText
1412 pairs of diagnosis cases
The primary objective of this fine-tuning process is to equip Llama2 with the ability to assist in diagnosing various medical cases and diseases. 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, suggesting potential next steps based on the input data and the patterns it has learned from the MedText dataset.
Finetuned on guanaco styled instructions
###Human
###Assistant
The following bitsandbytes quantization config was used during training:
Base model
meta-llama/Llama-2-7b-chat-hf