# Load model directly
from transformers import AutoTokenizer, AutoModelForDocumentQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("hf-tiny-model-private/tiny-random-LayoutLMForQuestionAnswering")
model = AutoModelForDocumentQuestionAnswering.from_pretrained("hf-tiny-model-private/tiny-random-LayoutLMForQuestionAnswering")Quick Links
No model card
- Downloads last month
- 34
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="hf-tiny-model-private/tiny-random-LayoutLMForQuestionAnswering")