Instructions to use Sharka/CIVQA_DVQA_LayoutXLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sharka/CIVQA_DVQA_LayoutXLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="Sharka/CIVQA_DVQA_LayoutXLM")# Load model directly from transformers import AutoProcessor, AutoModelForDocumentQuestionAnswering processor = AutoProcessor.from_pretrained("Sharka/CIVQA_DVQA_LayoutXLM") model = AutoModelForDocumentQuestionAnswering.from_pretrained("Sharka/CIVQA_DVQA_LayoutXLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
325317f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:9a721a8452c7ec8ab1c1fdc8781e1cf95395dc773ffee372cff91c8d16345b9f
size 1476505345
|