The model was trained with a few thousand of annotated invoices and non-invoices (for those the doctype will be 'Other'). They span across different countries and languages. They are always one page only. The dataset is proprietary unfortunately. Model is set to input resolution of 1280x1920 pixels. So any sample you want to try with higher dpi than 150 has no added value.
It was trained for about 4 hours on a NVIDIA RTX A4000 for 20k steps with a val_metric of 0.03413819904382196 at the end.
The following indexes were included in the train set:
Donut consists of a vision encoder (Swin Transformer) and a text decoder (BART). Given an image, the encoder first encodes the image into a tensor of embeddings (of shape batch_size, seq_len, hidden_size), after which the decoder autoregressively generates text, conditioned on the encoding of the encoder.
Intended uses & limitations
This model is meant as a research in how well it fares with multilanguage invoices.
See my observations in the
demo space
.
donut-base-finetuned-invoices huggingface.co is an AI model on huggingface.co that provides donut-base-finetuned-invoices's model effect (), which can be used instantly with this to-be donut-base-finetuned-invoices model. huggingface.co supports a free trial of the donut-base-finetuned-invoices model, and also provides paid use of the donut-base-finetuned-invoices. Support call donut-base-finetuned-invoices model through api, including Node.js, Python, http.
donut-base-finetuned-invoices huggingface.co is an online trial and call api platform, which integrates donut-base-finetuned-invoices's modeling effects, including api services, and provides a free online trial of donut-base-finetuned-invoices, you can try donut-base-finetuned-invoices online for free by clicking the link below.
to-be donut-base-finetuned-invoices online free url in huggingface.co:
donut-base-finetuned-invoices is an open source model from GitHub that offers a free installation service, and any user can find donut-base-finetuned-invoices on GitHub to install. At the same time, huggingface.co provides the effect of donut-base-finetuned-invoices install, users can directly use donut-base-finetuned-invoices installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
donut-base-finetuned-invoices install url in huggingface.co: