Bonito
Collection
Models and datasets from the Bonito paper (https://arxiv.org/abs/2402.18334) • 8 items • Updated • 1
How to use BatsResearch/Llama-2-7b-hf-P3 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, "BatsResearch/Llama-2-7b-hf-P3")The following bitsandbytes quantization config was used during training: