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")# Load model directly from transformers import AutoTokenizer, AutoModelForDocumentQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("TusharGoel/LayoutLM-Finetuned-DocVQA") model = AutoModelForDocumentQuestionAnswering.from_pretrained("TusharGoel/LayoutLM-Finetuned-DocVQA") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened over 2 years ago
by
SFconvertbot