ML Projects for Blogs
Collection
Collection of ML projects that I have created over time. • 20 items • Updated • 2
How to use kingabzpro/mistral_7b-instruct-guanaco with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.1")
model = PeftModel.from_pretrained(base_model, "kingabzpro/mistral_7b-instruct-guanaco")The following bitsandbytes quantization config was used during training:
The following bitsandbytes quantization config was used during training:
PEFT 0.5.0
PEFT 0.5.0