initial commit 332a2c9
Jan Karsten Kuhnke commited on
How to use mindchain/ops with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("TheBloke/Llama-2-7b-Chat-GPTQ")
model = PeftModel.from_pretrained(base_model, "mindchain/ops")