How to use daniyalumerr/LayoutLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="daniyalumerr/LayoutLM")
# Load model directly from transformers import AutoTokenizer, AutoModelForDocumentQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("daniyalumerr/LayoutLM") model = AutoModelForDocumentQuestionAnswering.from_pretrained("daniyalumerr/LayoutLM")
The community tab is the place to discuss and collaborate with the HF community!