Downloads · 30 days
99
2% of all-time downloads
buthaya/docpolarbert-base
docpolarbert-base is a machine learning model from buthaya. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Downloads · 30 days
99
2% of all-time downloads
All-time downloads
4.6K
Public
Parameters
124M
497 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors496 MB · 100%
From the Hugging Face model README
Multimodal (Text + Layout) pre-training for Document AI

DocPolarBERT is a multimodal pre-trained model that combines text and layout information for document understanding tasks.
It is designed to enhance the performance of various Document AI applications by leveraging both textual content and spatial layout features.
Notable differences with existing architectures include:
For more technical details, see the DocPolarBERT paper on arXiv and the github repo.
We pre-trained docpolarbert-base on a mix of 1.8M documents :
Why not use the IIT-CDIP dataset ?
→ Because the IIT-CDIP documents do not come with layout annotations.
Researchers usually run their own OCR on the images, and then pre-train their models.
This causes different versions of the same dataset to be used by different researchers, which makes it hard to compare results.
Instead, we use data that comes with publicly available layout annotations, so that we can ensure a fair comparison with other models.
The model is then fine-tuned and evaluated on the following datasets.
We provide the pre-processed datasets in the Hugging Face Datasets format, as well as the fine-tuned models, except for Docile which has to be downloaded through the official link.
The Notebooks for fine-tuning and evaluating the model on these datasets are available in the notebooks directory.
@misc{uthayasooriyar2025docpolarbertpretrainedmodeldocument,
title={DocPolarBERT: A Pre-trained Model for Document Understanding with Relative Polar Coordinate Encoding of Layout Structures},
author={Benno Uthayasooriyar and Antoine Ly and Franck Vermet and Caio Corro},
year={2025},
eprint={2507.08606},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2507.08606},
}
For help or issues using DocPolarBERT, please email Benno Uthayasooriyar or submit a GitHub issue.
This dataset is released under the MIT License. See LICENSE for details.
The license allows the commercial use, modification, distribution, and private use of the dataset, provided that the original copyright notice and this permission notice are included in all copies or substantial portions of the dataset.
The license does not provide any warranty, and the dataset is provided "as is".
The copyright notice and the permission notice shall be included in all copies or substantial portions of the dataset.