How to use lucio36/APASI-Scaled-7B with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("liuhaotian/llava-v1.5-7b") model = PeftModel.from_pretrained(base_model, "lucio36/APASI-Scaled-7B")
This is the lora adapter of the APASI-Scaled model. Use the scripts/merge_lora_weights.py script in the repo to merge with liuhaotian/llava-v1.5-7b and save the model.
scripts/merge_lora_weights.py
liuhaotian/llava-v1.5-7b
Base model