liuhaotian/LLaVA-Instruct-150K
Preview • Updated • 3.66k • 616
How to use sid819/Llava-Phi2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("visual-question-answering", model="sid819/Llava-Phi2", trust_remote_code=True) # Load model directly
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("sid819/Llava-Phi2", trust_remote_code=True, dtype="auto")This is a multimodal implementation of Phi2 model inspired by LlaVA-Phi.