ruslanmv/ai-medical-dataset
Viewer • Updated • 21.2M • 473 • 41
How to use eltorio/IDEFICS3_medical_instruct with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-11B-Vision-Instruct")
model = PeftModel.from_pretrained(base_model, "eltorio/IDEFICS3_medical_instruct")Base model
HuggingFaceM4/Idefics3-8B-Llama3