ai-maker-space/mistral-7binstruct-summary-100s 3471aa3 verified
Todd Deshane commited on
How to use ToddLLM/mistral7binstruct_summarize with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2")
model = PeftModel.from_pretrained(base_model, "ToddLLM/mistral7binstruct_summarize")