Transformers 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")