Update adapter_config.json d4f15d8 verified
Sogand Salehi commited on
How to use EPFL-VILAB/VPE-ViPer with PEFT:
from peft import PeftModel
from transformers import AutoModelForQuestionAnswering
base_model = AutoModelForQuestionAnswering.from_pretrained("HuggingFaceM4/idefics2-8b")
model = PeftModel.from_pretrained(base_model, "EPFL-VILAB/VPE-ViPer")