Run this model with HF Jobs
Run Sharka/CIVQA_LayoutXLM on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Sharka/CIVQA_LayoutXLM. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Sharka/CIVQA_LayoutXLM on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Sharka/CIVQA_LayoutXLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sharka/CIVQA_LayoutXLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="Sharka/CIVQA_LayoutXLM")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForDocumentQuestionAnswering processor = AutoProcessor.from_pretrained("Sharka/CIVQA_LayoutXLM") model = AutoModelForDocumentQuestionAnswering.from_pretrained("Sharka/CIVQA_LayoutXLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files3 unmodified lines45673 unmodified lines- fimu-docproc-research/CIVQA-TesseractOCRlanguage:- cs---3 unmodified lines45678910111213141516171819202122232425262728293031323 unmodified lines- fimu-docproc-research/CIVQA-TesseractOCRlanguage:- cstags:- document question answering---# LayoutXLM Model Fine-tuned with CIVQA (Tesseract) datasetThis is a fine-tuned version of the [LayoutXLM model](https://huggingface.co/microsoft/layoutxlm-base), which was trained on Czech Invoice Visual Question Answering (CIVQA) datasets containing invoices in the Czech language.This model enables Document Visual Question Answering on Czech invoices.All invoices used in this dataset were obtained from public sources. Over these invoices, we were focusing on 15 different entities, which are crucial for processing the invoices.- Invoice number- Variable symbol- Specific symbol- Constant symbol- Bank code- Account number- ICO- Total amount- Invoice date- Due date- Name of supplier- IBAN- DIC- QR code- Supplier's address
README.md+26-1