its5Q/panorama
Viewer • Updated • 11k • 207 • 6
How to use lapki/Llama-2-7b-panorama-QLoRA with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf")
model = PeftModel.from_pretrained(base_model, "lapki/Llama-2-7b-panorama-QLoRA")This repo contains the QLoRA adapter.
Prompt:
Write a hypothetical news story based on the given headline
### Title:
{prompt}
Text:
The following bitsandbytes quantization config was used during training:
Thanks its5Q for dataset and help
Base model
meta-llama/Llama-2-7b-hf