Transformers How to use loroxiv/docvqa-test with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("document-question-answering", model="loroxiv/docvqa-test") # Load model directly
from transformers import AutoProcessor, AutoModelForDocumentQuestionAnswering
processor = AutoProcessor.from_pretrained("loroxiv/docvqa-test")
model = AutoModelForDocumentQuestionAnswering.from_pretrained("loroxiv/docvqa-test")