How to use phuongntc/results with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("google/pegasus-cnn_dailymail") model = PeftModel.from_pretrained(base_model, "phuongntc/results")
How to use phuongntc/results with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("phuongntc/results", dtype="auto")
How to fix it?