Transformers How to use ManishThota/InstructVQA with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("visual-question-answering", model="ManishThota/InstructVQA") # Load model directly
from transformers import AutoProcessor, AutoModelForVisualQuestionAnswering
processor = AutoProcessor.from_pretrained("ManishThota/InstructVQA")
model = AutoModelForVisualQuestionAnswering.from_pretrained("ManishThota/InstructVQA")