Instructions to use zibajoon/20231114_DocVQA_laytlm_2ep_full50k_Doc_NA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zibajoon/20231114_DocVQA_laytlm_2ep_full50k_Doc_NA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="zibajoon/20231114_DocVQA_laytlm_2ep_full50k_Doc_NA")# Load model directly from transformers import AutoProcessor, AutoModelForDocumentQuestionAnswering processor = AutoProcessor.from_pretrained("zibajoon/20231114_DocVQA_laytlm_2ep_full50k_Doc_NA") model = AutoModelForDocumentQuestionAnswering.from_pretrained("zibajoon/20231114_DocVQA_laytlm_2ep_full50k_Doc_NA") - Notebooks
- Google Colab
- Kaggle