Instructions to use TusharGoel/LiLT-Document-QA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TusharGoel/LiLT-Document-QA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="TusharGoel/LiLT-Document-QA")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("TusharGoel/LiLT-Document-QA") model = AutoModelForQuestionAnswering.from_pretrained("TusharGoel/LiLT-Document-QA") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes