textHuggingFaceFW/finepdfsllm-pretrainingpdfsmultilingualcommon-crawlhuggingfacefwodc-bytext-corpusraglow-resource-languagesparquet

FinePDFs Multilingual Corpus

Free

Open dataset

Sample structure: 100 / 100
2 download links issued
Seller: DataBazaar
Sign up to download

Already have an account? Log in

Agent? Connect your account →

Category
Text
Records
476,178,356 rows
Format
PARQUET
Update Frequency
Not documented
Collection Method
auto_imported_huggingface_federated
PII
No flagged field names; not a privacy audit
File Size
~5126291.39 MB
Download links issued
2

Source, license and coverage

Supplier documentation. These claims are separate from the automated sample score. A listing edit date is not a data freshness date.

License
odc-by
Source / creator
HuggingFaceFW/finepdfs
Collection method
The HuggingFaceFW team identified PDFs in Common Crawl, ran them through layout-aware extraction (Docling and OCR fallbacks for image-only PDFs), language-identified each document, and applied quality filtering and deduplication consistent with the FineWeb family. Per-language token budgets were computed to surface the long tail of low-resource languages. Normalization includes text cleanup, boilerplate removal, and removal of documents with very low language-ID confidence.
Coverage start
Not documented
Coverage end
Not documented
Data last updated
Not documented
Update schedule
Not documented

Source documentation ↗

License terms ↗

- PDF extraction is inherently lossy: tables, equations, multi-column layouts, and figures may be garbled or dropped. - OCR-derived text for scanned/image PDFs contains recognition errors; quality varies sharply by language and script. - Long-tail languages (the bulk of the 1,733) have very small per-language token counts — useful for coverage but not for training competitive monolingual models. - PDFs over-represent academic, governmental, and legal genres; underrepresent conversational/colloquial text. - Deduplication is fuzzy across near-duplicate documents; some leakage with academic benchmarks (e.g., arXiv-derived eval sets) is likely. - Copyright status of individual PDFs is heterogeneous; the ODC-By license covers the compilation, not necessarily the underlying source documents — downstream users should perform their own diligence for commercial training.

Sample structure score: 100 / 100

This automated check describes the inspected sample, not factual accuracy, legal rights, representativeness, or the quality of the entire dataset. It is not a customer rating.

Assessed 1 sample records (JSON) on 2026-10-09. All records in the provided sample were checked.

CheckPointsEvidence
Populated cells50 / 5017 of 17 top-level cells contain a value. Null, absent and blank values count as missing; zero and false count as populated.
Consistent value types30 / 3017 of 17 populated cells match their column's most common observed type. Types are inferred, not checked against real-world truth.
Consistent record shape20 / 201 of 1 records have the expected fields. CSV/TSV use the header width; JSON uses the union of observed keys.
Field-level findings and improvements

Check missing cells and mixed types below. Document intentional missing values or mixed types in your field descriptions. Do not fill legitimate unknowns with invented values just to increase this score.

FieldMissing cellsMost common typeOther populated types
text0 / 1string0 / 1
id0 / 1string0 / 1
dump0 / 1string0 / 1
url0 / 1string0 / 1
date0 / 1string0 / 1
file_path0 / 1string0 / 1
offset0 / 1number0 / 1
token_count0 / 1number0 / 1
language0 / 1string0 / 1
page_average_lid0 / 1string0 / 1
page_average_lid_score0 / 1number0 / 1
full_doc_lid0 / 1string0 / 1
full_doc_lid_score0 / 1number0 / 1
per_page_languages0 / 1object0 / 1
is_truncated0 / 1boolean0 / 1
extractor0 / 1string0 / 1
page_ends0 / 1object0 / 1
How the score is calculated, its limitations, and how to correct an assessment →

About this data

PDF-sourced text corpus covering 1,733 languages across hundreds of millions of documents. Designed for pretraining and multilingual NLP research.

Retrieve with your agent or Python

Create an account and configure DATABAZAAR_API_KEY. This example retrieves free or already purchased data; it never makes a purchase. For a multi-file dataset, choose a file index from the manifest.

Download the Python example
python3 retrieve-dataset.py 4ba1459c-4532-483d-bb8f-89220d8a625e --output dataset.bin
Full supplier documentation
## Overview FinePDFs is the largest publicly available text corpus extracted exclusively from PDFs, containing approximately 3 trillion tokens spread across 475 million documents in 1,733 languages. Released by HuggingFaceFW (the team behind FineWeb), it complements web-crawl pretraining data with longer-form, more technical, and more linguistically diverse content typical of the PDF medium (academic papers, government docs, manuals, legal filings, books). Data is distributed as Parquet with tabular/text modality and is consumable via the `datasets`, `dask`, and `polars` libraries. ## Schema - `text` — string — the extracted PDF body text - `id` — string — document identifier - `language` — string — ISO 639-3 language code (one of 1,733) - `language_score` — float — language identification confidence - `url` / `source_url` — string — origin URL of the PDF - `dump` / `snapshot` — string — Common Crawl / source snapshot identifier - `token_count` — int — approximate token count per document - `extractor` — string — which extraction pipeline was used (Docling, OCR fallback, etc.) - +several more metadata columns (file hash, mime, page count, quality signals) ## Sources - HuggingFaceFW/finepdfs on Hugging Face — https://huggingface.co/datasets/HuggingFaceFW/finepdfs — license: ODC-By 1.0 - Underlying PDFs sourced from Common Crawl PDF captures - Associated papers: arXiv:2506.18421, arXiv:2109.07445 ## Methodology The HuggingFaceFW team identified PDFs in Common Crawl, ran them through layout-aware extraction (Docling and OCR fallbacks for image-only PDFs), language-identified each document, and applied quality filtering and deduplication consistent with the FineWeb family. Per-language token budgets were computed to surface the long tail of low-resource languages. Normalization includes text cleanup, boilerplate removal, and removal of documents with very low language-ID confidence. ## Known gaps & limitations - PDF extraction is inherently lossy: tables, equations, multi-column layouts, and figures may be garbled or dropped. - OCR-derived text for scanned/image PDFs contains recognition errors; quality varies sharply by language and script. - Long-tail languages (the bulk of the 1,733) have very small per-language token counts — useful for coverage but not for training competitive monolingual models. - PDFs over-represent academic, governmental, and legal genres; underrepresent conversational/colloquial text. - Deduplication is fuzzy across near-duplicate documents; some leakage with academic benchmarks (e.g., arXiv-derived eval sets) is likely. - Copyright status of individual PDFs is heterogeneous; the ODC-By license covers the compilation, not necessarily the underlying source documents — downstream users should perform their own diligence for commercial training. ## Intended use & out-of-scope - Intended: large-scale LLM pretraining, multilingual model training, long-context training, RAG corpora for technical/academic domains, linguistic research on low-resource languages. - Out-of-scope: NOT deduplicated against common eval suites (MMLU, GSM8K source materials, arXiv-based benchmarks) — benchmark contamination risk; NOT a clean source for low-resource MT without per-language quality auditing; NOT suitable as ground truth for PDF layout/structure tasks (extraction artifacts present). _Federated dataset: 3,525 parquet shards, 5006.14 GB total. Queries and downloads stream through the DataBazaar API._ _PII signals: cc_shape×5 (Luhn-valid: 0) present in the sample. Common in public datasets (papers, logs) but worth knowing before joining with private data._ Original supplier listing: FinePDFs — 3T Tokens from 475M PDFs in 1,733 Languages Largest public PDF-sourced corpus: ~3 trillion tokens, 475M documents, 1,733 languages. Parquet format, ODC-By licensed. Built by HuggingFaceFW for pretraining and multilingual research.

Schema

NameTypeDescription
textVARCHARExtracted PDF body text content
idVARCHARUnique document identifier (UUID URN format)
dumpVARCHARCommon Crawl snapshot identifier (e.g., CC-MAIN-2019-04)
urlVARCHARSource URL of the PDF document
dateVARCHARISO 8601 timestamp when PDF was crawled
file_pathVARCHARS3 path to source WARC file in Common Crawl
offsetBIGINTByte offset position within the WARC file
token_countBIGINTApproximate token count of document text
languageVARCHARISO 639-3 language code with script (e.g., iba_Latn)
page_average_lidVARCHARMost common language per page (ISO 639-3 with script)
page_average_lid_scoreDOUBLELanguage identification confidence score (0-1 range)
full_doc_lidVARCHARDetected language for entire document (ISO 639-3 with script)
full_doc_lid_scoreDOUBLELanguage identification confidence for full document (0-1)
per_page_languagesVARCHAR[]Array of detected languages per page (ISO 639-3 with script)
is_truncatedBOOLEANBoolean indicating if document text was truncated during extraction
extractorVARCHARPDF extraction pipeline used (e.g., rolmOCR, Docling)
page_endsBIGINT[]Array of token offsets marking end positions of each page

Sample Data

Preview a sample of the data before downloading.

Public sample only. Sign in to retrieve the full dataset, including free datasets.

For AI Agents

Via MCP Server
# 1. Add to your agent's MCP config (claude_desktop_config.json or similar):
{
  "mcpServers": {
    "databazaar": { "command": "npx", "args": ["databazaar-mcp"] }
  }
}

# 2. Your agent can then call:
search_datasets({ query: "FinePDFs Multilingual Corpus" })
// Found: 4ba1459c-4532-483d-bb8f-89220d8a625e
get_download_url({ dataset_id: "4ba1459c-4532-483d-bb8f-89220d8a625e" })  // free — sign in with MCP OAuth first
Via REST API
# Free dataset — sign in or use your account API key:
curl https://api.databazaar.io/datasets/4ba1459c-4532-483d-bb8f-89220d8a625e/download-url -H "Authorization: Bearer $DATABAZAAR_API_KEY"