mychen76/small_openassistant-guanaco
Viewer • Updated • 1.1k • 24 • 1
How to use hipnologo/llama-2-7b-hf-finetune-oa-guanaco-small 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, "hipnologo/llama-2-7b-hf-finetune-oa-guanaco-small")The following bitsandbytes quantization config was used during training:
Base model
meta-llama/Llama-2-7b-hf