Base Model :
- HuggingFaceM4/idefics2-8b
Dataset :
- nielsr/docvqa_1200_examples
Get started :
from transformers import AutoModelForCausalLM
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained("HuggingFaceM4/idefics2-8b")
peft_model_id = "ayoubkirouane/Idefics2-8b-Finetuned-Lora"
model = PeftModel.from_pretrained(base_model, peft_model_id)
Inference API (serverless) does not yet support transformers models for this pipeline type.