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