The First to Know: How Token Distributions Reveal Hidden Knowledge in Large Vision-Language Models?
Paper • 2403.09037 • Published • 2
How to use QinyuZhao1116/LVLM-LP-Retrained-LLaVA with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("lmsys/vicuna-7b-v1.5")
model = PeftModel.from_pretrained(base_model, "QinyuZhao1116/LVLM-LP-Retrained-LLaVA")Paper: https://huggingface.co/papers/2403.09037
Github repository: https://github.com/qinyu-allen-zhao/lvlm-lp
See the paper.