Instructions to use TusharGoel/LayoutLMv2-finetuned-docvqa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TusharGoel/LayoutLMv2-finetuned-docvqa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="TusharGoel/LayoutLMv2-finetuned-docvqa")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForDocumentQuestionAnswering processor = AutoProcessor.from_pretrained("TusharGoel/LayoutLMv2-finetuned-docvqa") model = AutoModelForDocumentQuestionAnswering.from_pretrained("TusharGoel/LayoutLMv2-finetuned-docvqa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (5fcd79319c9290545b9b87bdee577e5cc8034795) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>cacec64
-
Update README.md
17a9f25
-
Upload preprocessor_config.json
7bb3b36
-
Upload 7 files
99874f2 -
Upload 7 files
af9ace2
-
Upload 6 files
623d851 -
Upload 7 files
a60ca85 -
initial commit
5f7522a