Configuration Parsing
Warning:
In adapter_config.json: "peft.task_type" must be a string
Base model :
- xtuner/llava-phi-3-mini-hf
Dataset :
- ayoubkirouane/llava-instruct-small
Get started :
from transformers import AutoModelForCausalLM
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained("xtuner/llava-phi-3-mini-hf")
peft_model_id = "ayoubkirouane/llava-phi3-instruct-Lora"
model = PeftModel.from_pretrained(base_model, peft_model_id)
- Downloads last month
- 8
Inference API (serverless) does not yet support peft models for this pipeline type.