CCpdf: Building a High Quality Corpus for Visually Rich Documents from Web Crawl Data

Michał Turski, Tomasz Stanisławek, Karol Kaczmarek, Paweł Dyda, Filip Graliński
4/28/2023
cs.CL

No official code found. Best implementation: applicaai/CCpdf (25 stars, MIT, last commit 2023-05-02).

Abstract

In recent years, the field of document understanding has progressed a lot. A significant part of this progress has been possible thanks to the use of language models pretrained on large amounts of documents. However, pretraining corpora used in the domain of document understanding are single domain, monolingual, or nonpublic. Our goal in this paper is to propose an efficient pipeline for creating a big-scale, diverse, multilingual corpus of PDF files from all over the Internet using Common Crawl, as PDF files are the most canonical types of documents as considered in document understanding. We analysed extensively all of the steps of the pipeline and proposed a solution which is a trade-off between data quality and processing time. We also share a CCpdf corpus in a form or an index of PDF files along with a script for downloading them, which produces a collection useful for language model pretraining. The dataset and tools published with this paper offer researchers the opportunity to develop even better multilingual language models.

View on arXivView PDF

Code Implementations(1)

applicaai/CCpdfCommunity100%
MIT

Index of URLs to pdf files all over the internet and scripts

253ShellApr 26, 20233 years agoMIT

Cite this paper

@article{turski2023ccpdf,
  title  = {CCpdf: Building a High Quality Corpus for Visually Rich Documents from Web Crawl Data},
  author = {Michał Turski and Tomasz Stanisławek and Karol Kaczmarek and Paweł Dyda and Filip Graliński},
  year   = {2023},
  eprint = {2304.14953},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.14953v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.14953.svg)](https://codeofpaper.com/paper/2304.14953)

Discussion