How to use from the
Use from the
PEFT library
from peft import PeftModel
from transformers import AutoModelForCausalLM

base_model = AutoModelForCausalLM.from_pretrained("liuhaotian/llava-v1.5-7b")
model = PeftModel.from_pretrained(base_model, "yiting/PerspectiveVision-LLaVA-LoRA")

Training procedure

We will share the inference code after the publication of our paper. Thank you for your understanding!

Framework versions

  • PEFT 0.4.0
Downloads last month
95
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support