databricks/databricks-dolly-15k
Viewer • Updated • 15k • 33.7k • 964
How to use LukeOLuck/llama2-7-dolly-answer with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Llama-2-7b-chat-hf")
model = PeftModel.from_pretrained(base_model, "LukeOLuck/llama2-7-dolly-answer")This model is a fine-tuned version of Llama-2-7b-chat-hf on the dolly dataset. Can be used in conjunction with LukeOLuck/llama2-7-dolly-query
A Fine-Tuned PEFT Adapter for the llama2 7b chat hf model Leverages FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness, QLoRA: Efficient Finetuning of Quantized LLMs, and PEFT
Generate a safe answer based on context and a request
Used SFTTrainer, checkout the code
The following hyperparameters were used during training:
Base model
meta-llama/Llama-2-7b-chat