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