← Datasets

Compare

FinePDFs
#65 · remove
bible_databases
#33 · remove
Kinddatasetdataset
Published20252014
LicenseODC-BY (Open Data Commons Attribution License)MIT (repository); individual translation copyrights vary
License familyPermissivePermissive
Accessfreefree
Language codesaai, aak, aau, aaz, aba, abi, abk, abn, abq, abs, abt, abx, aby, abz, aca, acd, ace, acf, ach, acm, acn, acr, acu, ada, ade, adh, adi, adj, adl, ady, adz, aeb, aer, aeu, aey, afr, agd, agg, agm, agn, agr, agt, agu, agw, agx, aha, ahk, aia, aii, aim, ain, ajg, aji, ajz, akb, ake, akh, akp, alj, aln, alp, alq, als, alt, aly, alz, ame, amf, amh, ami, amk, amm, amn, amp, amr, amu, amx, ang, anm, ann, multilingualar, de, el, es, fr, he, multilingual, ru, zh
Modalitiestabular, texttext
Size100M to 1B rows—
Downloads (last month)55,652—
Likes946—
Last updated2026-04-032026-07-10
Taskstext-generation—
Formatsparquet—
ScaleCard table: 475,019,140 documents; 2,918.79B tokens (~2.92T; marketing copy ~3T); 3.65 TB on disk. size_categories n>1T (tokens; Hub tag also 100M<n<1B for docs). eng_Latn 206.9M docs / 1.19T tokens. HF gated=false. Tokenizer on the card is inconsistent (Data Fields: gpt2; Annotations: Llama-3.2) — table counts are card-reported, not independently retokenized.140 translations; multi-format exports (MySQL, SQLite, CSV, JSON, YAML, TXT, MD, Parquet); 1686 GitHub stars at check
Formatparquet per language-script (text, id, dump, url, date, file_path, offset, language, per_page_languages, page_average_lid[_score], full_doc_lid[_score], is_truncated, processor, page_ends, token_count). v1.5.0 adds DCLM/EDU/EDU-V2/OCR-QUALITY labels.formats/ folder exports; sources/; scripts/; SQL/Parquet/JSON/etc.
TypePretraining corpus / cleaned multilingual PDF crawlMultilingual Scripture text database + cross-references
CostFreeFree
Languages1,733 language-script pairs (GlotLID, page-averaged). 978 with >1M tokens; 66 with >1B. Card table (2,918.79B tokens): eng_Latn 40.8% (1,190.65B / 206.9M docs / 1.71 TB); spa_Latn 7.4% (217.1B); deu_Latn 6.1% (177.6B); fra_Latn 5.7% (165.3B); rus_Cyrl 5.0% (146.7B); jpn_Jpan 4.0% (116.3B); remaining ~30.9% including unknown 47.72B (1.6%). Default config eng_Latn. Code-switching inside documents is common (legal dual-language, academic abstracts).140 translations listed in README across many languages (en, zh, de, fr, he, grc, etc.)
ModalityText extracted from PDFs (tables included where parsed). Original PDFs not shipped; images used only in the OCR path.Text-only
DomainPDF web crawl; legal/educational/scientific/technical documents; multilingual pretrainingMultilingual Bible / Scripture text; cross-references
Time periodCommon Crawl PDFs summer 2013–February 2025 (card: CC-MAIN-2013-20 to CC-MAIN-2025-08; intro 105 snapshots / Dataset Summary 106 dumps). Per-doc crawl date in `date`. HF createdAt 2025-09-05; v1.0.0 2025-09-07; v1.5.0 2025-11-11 (classifier labels). lastModified 2026-04-03. Discord posted 2025-09-08.Repo created 2014-01-09; 2025 schema branch vs legacy 2024; translations span historical Bible editions.
PurposeLargest public PDF-only LLM pretraining corpus; complement HTML FineWeb-family dumps (recommended <25% of a mix)Provide many Bible translations in multiple DB/export formats plus cross-reference tables for applications and NLP
Used forHuggingFace 1.67B ablation models (~36B Llama-3.2 tokens). Card: nearly on par with SmolLM3-Web; mix with HTML yields a large gain. FinePDFs-Edu is a separate 350B+ educational filter. Hub 45,342 downloads / 913 likes at check. 0 gated.Bible apps and Scripture data projects (community)
AuthorsPublic-web PDF publishers (governments, universities, courts, firms). Hugging Face FineWeb team (Kydlíček / Penedo / von Werra) curated. Residual LLM-OCR (RolmOCR) can imprint model style on scanned pages.Historical Bible translators/publishers per edition. Repo maintained by scrollmapper contributors. Cross-refs from OpenBible.info labs.
BiasEnglish ~41% of tokens; high-resource European langs next. Legal/educational PDFs over-index vs HTML FineWeb. No NSFW classifier (authors judged PDFs rarely carry that content). No Wikipedia-likeness or toxicity ML filters (same dialect/identity rationale as FineWeb). Truncated-CC PDFs were refetched; remaining truncated docs always went through RolmOCR. unknown LID 17.1M docs.Christian Scripture domain; translation selection reflects what maintainers packaged; theological edition differences
Text qualityDual extractors: Docling (digital-born, CPU, quantized Layout Heron) vs RolmOCR (scanned/truncated, GPU). Exact + per-language MinHash dedup; English-only model filter for ads/spam before MinHash; email/IP PII rewrite. Longer than HTML dumps (blog: median ~5.3k chars, ~2× other corpora; 95th ~68k; many >100k chars). Residual: broken PDF reading order, missing image-text, table misalignment (Docling); OCR hallucination/misspellings especially in low-resource langs (RolmOCR); missing pages when extractors failed.Transcription/export quality varies by source edition; structured verse databases
Sample sizeOne train (+ small test on most langs) config per language-script; default eng_Latn. Do not train on test splits. No global sample config. FinePDFs-Edu is a separate repo, not a config here.Per-translation full Bible or partial as sourced; no ML splits
Long contextYes (PDFs much longer than HTML pages; card flags value for long-context training; 95th ~68k chars, tail >100k).Optional (verse vs full-Bible join)
Intermediate stepsYes (datatrove: PDF+truncation ID, refetch truncated PDFs, XGBoost OCR-router on 1,350 annotated PDFs, Docling vs RolmOCR, boilerplate/FTFY, GlotLID per page, exact dedup, eng_Latn model filter, per-language MinHash, PII). Code: github.com/huggingface/finepdfs.Yes (source texts → conversion scripts → multi-format DB exports)
Idea qualityHighHigh (practical multi-format Scripture dump)
NoveltyHigh (first public ~3T PDF-only pretrain dump; complementary to FineWeb HTML)Medium (crowdsourced Bible DB; overlaps eBible/BibleNLP but different packaging)
Text conversionReady parquet; load_dataset by language-script (e.g. eng_Latn) with streaming. datatrove ParquetReader recommended. No official 10BT-style sample. Full dump is multi-TB.Ready files in repo formats/
Collection methodDownloadgit clone / download
StaticUnknown (HF lastModified 2026-04-03; v1.5.0 2025-11-11 added labels; crawl window still ends Feb 2025)Unknown (repo actively updated)
ProcessedUnknownYes
SummaryFinePDFs is the largest publicly available LLM pretraining corpus sourced exclusively from PDF documents, containing approximately 3 trillion tokens across 475 million documents in 1733 languages. The data was sourced from 105 CommonCrawl snapshots spanning summer 2013 to February 2025, refetched from the internet, and processed using the datatrove library with careful deduplication, OCR, and filtering. The dataset (3.65 TB) includes a companion FinePDFs-EDU variant with educational content filtering. When mixed with FW-Edu+DCLM, FinePDFs outperforms even Nemotron-CC v2 in pretraining ablations. The processing pipeline and code are available on GitHub at huggingface/finepdfs.bible_databases is a GitHub repository providing 140 Bible translations in multiple machine-readable formats (MySQL, SQLite, CSV, JSON, YAML, TXT, Markdown, and Parquet) along with a large and accurate cross-reference database from openbible.info. The collection spans 50+ languages and includes major translations (KJV, ASV, BBE, Darby, Geneva 1599) as well as historical and minority-language versions, with production/conversion scripts for generating custom formats, making it a comprehensive resource for biblical text processing and analysis.