Instructions to use impira/layoutlm-document-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use impira/layoutlm-document-qa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="impira/layoutlm-document-qa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForDocumentQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("impira/layoutlm-document-qa") model = AutoModelForDocumentQuestionAnswering.from_pretrained("impira/layoutlm-document-qa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update pytorch_model.bin, tf_model.h5 and README.md
a7a039f
-
Update README.md
Add widget exampleb28dd3e
-
Update README.md
33d6607
-
Update README.md
Simplify READMEff904df -
Set the tokenizer config to add_prefix_space=True
Ankur Goyal52e01b3 -
Update README.md
7743a4e
-
Remove custom pipeline
Ankur Goyal3dc6de3
-
Fix Tensorflow weights
Ankur Goyale5251a8
-
Update README.md
7ef3f9c
-
Update README.md
bbf42c3
-
Update README.md
Remove `remote_code` argument from Tokenizer in README181012a -
Update README.md
3a93017 -
Update README
Ankur Goyal0a587ab
-
Update model weights
Ankur Goyal1244b67
-
Revert readme change
Ankur Goyal1e3ebac
-
Upload TFLayoutLMForQuestionAnswering
723ec3f -
Remove model in anticipation of PR #18407
Ankur Goyal1f7bede
-
Small arg handling fixes
Ankur Goyal02daaaf
-
Formatting
3f1b351 -
Fix formatting
ab41708 -
Update README to include examples
49a967d -
Bug fixes + Copy formatting from transformers repo
Ankur Goyal667af5a -
Initial commit
Ankur Goyal73a21c8
-
initial commit
57b0bdd