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