multimodal document-to-text extraction at scale
Extracts text content from 1 trillion tokens of PDF documents using OCR and layout-aware parsing, preserving document structure and spatial relationships. The dataset combines Common Crawl PDF snapshots with machine-readable text extraction, enabling training of models that understand both visual layout and semantic content. Architecture uses distributed PDF processing pipelines to handle heterogeneous document formats (scanned PDFs, native PDFs, mixed content) across 857K+ document samples.
Unique: Combines 1 trillion tokens of Common Crawl PDFs with layout-aware extraction preserving spatial document structure, unlike generic text corpora that discard formatting. Uses distributed PDF parsing to handle heterogeneous document types (scanned, native, mixed) at web scale rather than curated document collections.
vs alternatives: Larger and more diverse than academic document datasets (e.g., DocVQA, RVL-CDIP) while maintaining layout information that generic text corpora like C4 or The Pile discard entirely.
paired image-text dataset construction for vision-language training
Provides structured image-text pairs extracted from PDF documents where images are document pages and text is extracted content, enabling direct training of vision-language models without manual annotation. The dataset architecture preserves the natural alignment between visual document layout and corresponding text, creating implicit supervision signals. Processing pipeline handles page segmentation, text-image alignment, and quality filtering across millions of document samples.
Unique: Leverages natural document structure to create implicit image-text alignment without manual annotation, using page-level visual-semantic correspondence from PDFs. Unlike manually-annotated datasets (Flickr30K, COCO), derives pairs automatically from document layout, enabling trillion-token scale.
vs alternatives: Provides orders of magnitude more image-text pairs than manually-curated datasets while maintaining document-specific semantic alignment that generic web image-text pairs (Laion) lack.
large-scale text corpus for language model pretraining
Supplies 1 trillion tokens of English text extracted from PDF documents, suitable for pretraining or continued training of large language models. The corpus is derived from diverse document sources across Common Crawl, providing varied writing styles, domains, and content types. Processing pipeline includes tokenization, deduplication, and quality filtering to ensure training data suitability while maintaining scale.
Unique: Derives 1 trillion tokens specifically from PDF documents rather than generic web crawls, capturing formal, structured writing with higher information density than typical web text. Preserves document-level context and structure signals that web-only corpora lose.
vs alternatives: Complements web-text corpora (C4, The Pile) by providing document-sourced content with different statistical properties, useful for models requiring strong document understanding capabilities.
document-domain dataset sampling and filtering
Enables selective access to dataset subsets filtered by document characteristics (source domain, document type, quality metrics) without downloading the full 1 trillion token corpus. The dataset infrastructure supports streaming access with client-side filtering, allowing researchers to construct domain-specific training sets from the larger collection. Filtering operates on document metadata including source URLs, extraction quality scores, and document type classifications.
Unique: Provides streaming access with metadata-based filtering on trillion-token dataset without requiring full download, using Hugging Face Datasets infrastructure for efficient subset construction. Enables on-demand domain-specific corpus creation from larger collection.
vs alternatives: More flexible than fixed-size domain datasets (e.g., ArXiv papers, legal documents) by allowing dynamic filtering from larger corpus; more efficient than downloading full dataset for subset access.
document structure and layout preservation in extraction
Maintains document layout information (page structure, text positioning, formatting) during PDF-to-text conversion, enabling models to learn relationships between visual layout and semantic content. The extraction pipeline preserves spatial coordinates, text ordering, and structural hierarchy (headings, sections, lists) rather than flattening documents to linear text. This architectural choice enables training of layout-aware models that can reason about document organization.
Unique: Preserves document layout and spatial relationships during extraction rather than flattening to linear text, enabling training of models that understand how document organization conveys meaning. Uses coordinate-aware parsing to maintain structural hierarchy.
vs alternatives: Enables layout-aware training unlike text-only corpora (C4, The Pile) while providing larger scale than manually-annotated layout datasets (DocVQA, RVL-CDIP).
common crawl pdf snapshot integration and versioning
Provides access to a specific snapshot of PDF documents from Common Crawl (2023-40 version), with consistent versioning and reproducibility guarantees. The dataset is built from a fixed Common Crawl snapshot, enabling reproducible research and consistent data across training runs. Infrastructure includes metadata linking documents to their Common Crawl source, enabling traceability and potential re-extraction with updated pipelines.
Unique: Provides versioned, reproducible access to specific Common Crawl PDF snapshot (2023-40) with full provenance tracking, enabling research reproducibility. Unlike generic Common Crawl access, includes pre-processed extraction and structured metadata.
vs alternatives: More reproducible than direct Common Crawl access (which changes over time) while providing pre-processed documents unlike raw Common Crawl snapshots.