How to use MentaCapture/p4a-last with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-4-mini-instruct") model = PeftModel.from_pretrained(base_model, "MentaCapture/p4a-last")
How to fix it?
What is a pickle import?