← Datasets

Compare

FinePDFs
#65 · remove
awesome-chatgpt-prompts-gpt5-grok4
#63 · remove
Harvard Library Public Domain Corpus
#20 · remove
Kinddatasetdatasetdataset
Published20252025—
LicenseODC-BY (Open Data Commons Attribution License)—Public domain (individual works); IDI Terms of Use for Early-Access (nonprofit/educational/research use)
License familyPermissive—Permissive
Accessfreefreerestricted
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, multilingualencs, cy, is, multilingual
Modalitiestabular, texttext—
Size100M to 1B rowsunder 1K rows—
Downloads (last month)55,65243—
Likes9463—
Last updated2026-04-032025-08-16—
Taskstext-generation——
Formatsparquetparquet—
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.—220B across all languages
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.——
TypePretraining corpus / cleaned multilingual PDF crawl—Raw Text
CostFree——
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).—230 languages; most English, German, and French
ModalityText extracted from PDFs (tables included where parsed). Original PDFs not shipped; images used only in the OCR path.——
DomainPDF web crawl; legal/educational/scientific/technical documents; multilingual pretraining—Diverse Books
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.—1800s ~ 1900s
PurposeLargest public PDF-only LLM pretraining corpus; complement HTML FineWeb-family dumps (recommended <25% of a mix)—General Writing + Subjects found in said books
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.—Unknown
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.—Diverse human authors
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.—Unknown
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.—High
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.——
Long contextYes (PDFs much longer than HTML pages; card flags value for long-context training; 95th ~68k chars, tail >100k).——
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.——
Idea qualityHigh——
NoveltyHigh (first public ~3T PDF-only pretrain dump; complementary to FineWeb HTML)——
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.——
Collection methodDownload——
StaticUnknown (HF lastModified 2026-04-03; v1.5.0 2025-11-11 added labels; crawl window still ends Feb 2025)——
ProcessedUnknown——
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.awesome-chatgpt-prompts-gpt5-grok4 is a small HuggingFace dataset by ChuGyouk containing 203 rows of curated prompts with multi-turn responses from both GPT-5 and Grok 4. Each row includes a messages field, a first-turn user prompt, the GPT-5 assistant response, a second-turn user follow-up (from Grok 4), and the GPT-5 second-turn response. The prompts cover diverse tasks including Solidity smart contract development, SEO content outlines, Linux terminal simulation, and creative writing. It is designed for comparing frontier model outputs and potentially for prompt engineering or fine-tuning experiments.The Harvard Library Public Domain Corpus is a collection of approximately 1 million digitized public domain books (983,004 volumes, ~242B tokens) originally scanned through Harvard Library's participation in the Google Books project beginning in 2006. The corpus spans 254 languages and 386M pages of text (available in original and post-processed OCR formats), and was refined through collection-level deduplication and OCR post-processing by the Institutional Data Initiative, making it one of the largest lawful book corpora available for LLM training.