Instructions to use TusharGoel/LayoutLM-Finetuned-DocVQA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TusharGoel/LayoutLM-Finetuned-DocVQA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="TusharGoel/LayoutLM-Finetuned-DocVQA")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForDocumentQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("TusharGoel/LayoutLM-Finetuned-DocVQA") model = AutoModelForDocumentQuestionAnswering.from_pretrained("TusharGoel/LayoutLM-Finetuned-DocVQA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.a985d4c
-
Upload 2 files
e6bd80f
-
Upload 6 files
1ee8798 -
Upload 6 files
a7c7a17 -
Revert "Upload 7 files"
This reverts commit 616f00fc46452353d13bd78d252f8229ec40a5c6. reverting the commit48ea99c
-
Upload 7 files
616f00f
-
Upload 6 files
232dd3d -
Upload 6 files
01b0999
-
Update README.md
c4b5d4d -
Upload pytorch_model.bin
495bbbd -
Update README.md
cecb128
-
Update README.md
c321621 -
Update README.md
6f1b3c8 -
Update README.md
74b7d9d -
Upload 6 files
cff7a66 -
initial commit
b3e9107