Instructions to use impira/layoutlm-invoices with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use impira/layoutlm-invoices with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="impira/layoutlm-invoices")# Load model directly from transformers import AutoTokenizer, AutoModelForDocumentQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("impira/layoutlm-invoices") model = AutoModelForDocumentQuestionAnswering.from_pretrained("impira/layoutlm-invoices") - Notebooks
- Google Colab
- Kaggle
Fix _name_or_path in config.json
#2
by Spacefish007 - opened
_name_or_path should match the repos name :)
Thank you!!
ankrgyl changed pull request status to merged