initial commit 27cb71d verified
chen commited on
How to use cragtmp/dpo50 with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("/data1/chenjiazun/LLM/Llama-3.2-11B-Vision-Instruct")
model = PeftModel.from_pretrained(base_model, "cragtmp/dpo50")