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