← Datasets

Compare

RedPajama V2
#1167 · remove
OpenMathInstruct-1
#1165 · remove
SmolLM-Corpus
#1163 · remove
Kinddatasetdatasetdataset
Published202320242024
LicenseNo HF card YAML license. Documents: Common Crawl Foundation Terms of Use. Loading/processing code Apache-2.0 (card).NVIDIA License (HF card license_name nvidia-license; LICENSE file grants commercial use; patent-termination and notice-preservation clauses). Mixtral-8x7B terms remain. GSM8K/MATH seed licenses remain.ODC-By (HF card YAML odc-by). FineWeb-Edu-dedup also subject to Common Crawl Terms of Use. python-edu inherits Stack-v2 / SWH / GitHub licenses (card: refer to the-stack-v2). Mixtral-8x7B-Instruct-v0.1 terms may still apply to Cosmopedia v2 if used to train a distributed model.
License familyOtherOtherPermissive
AccessFreeFreeFree
Language codesde, en, es, fr, itenen
Modalitiestexttexttext
Size—1M to 10M rows100M to 1B rows
Downloads (last month)12,2886,84551,249
Likes409254492
Last updated2024-11-212024-02-162024-09-06
Taskstext-generationquestion-answering, text-generation—
Formats—jsonparquet
ScaleCard: >100B text documents from 84 CC snapshots (CCNet). 30B documents carry quality signals; ~20B unique after Bloom exact-dup. head_middle raw table 32.9B docs / 50.6T estimated tokens; deduplicated head_middle 20.8B / 30.4T. Paper: RedPajama V1+V2 together >100T tokens. Hub sample config is a tiny 2023-06 slice (listings 2023-06/0000–0009 × 5 langs × head/middle) — not extra n. datasets-server 501 (arbitrary Python / trust_remote_code). usedStorage Unknown (documents live on data.together.xyz, not Hub LFS). Hub overview 1.6M downloads / 405 likes at check. gated=false.Paper/card 1.8M unique correct problem-solution pairs (training-set coverage 99.9% GSM8K / 93% MATH). Also released 6.6M incorrect sampled solutions for verifier training — not extra SFT n. LFS jsonl: correct_solutions/train.jsonl 1.3 GB + validation.jsonl 203.1 MB; incorrect_solutions/train.jsonl 6.4 GB + validation.jsonl 981.1 MB (~8.88 GB jsonl). Hub/datasets-server default parquet convert train 5.8M / validation 1.1M / 8 columns / 2.4 GB + 444.2 MB (viewer-partial; datasetsServerInfo numRows 6,078,712) — mixed is_correct dump, do not catalog 6.9M as the 1.8M SFT n. size_categories 1M<n<10M. Hub overview 51.6K downloads / 252 likes at check; owner listing 5,292 downloads. gated=false.Hub 237.0M rows across 3 configs. cosmopedia-v2 train 39,134,000 / 6 columns / 104 parquet / 122.4 GB download / YAML dataset_size 212,503,640,747 bytes (~212.5 GB) / blog 28B tokens. fineweb-edu-dedup train 190,168,005 / 3 columns / 234 parquet / 550.1 GB download / YAML dataset_size 957,570,164,451 bytes (~957.6 GB) / blog 220B tokens. python-edu train 7,678,448 / 6 columns / 2 parquet / 643.9 MB — metadata only (blob_id/repo_name/path/score; no file text on Hub); blog 4B tokens after SWH S3 download. size_categories 100M<n<1B. Mix ~248B public text tokens (28B+220B) plus 4B Python if SWH fetch succeeds. usedStorage Unknown (do not sum overlapping FineWeb-Edu standalone). Hub overview 662.2K downloads / 480 likes at check. gated=false.
Formatjson.gz documents (CCNet schema: url, date_download, digest, length, nlines, source_domain, title, raw_content, cc_segment, language, language_score, perplexity, bucket). Parallel quality_signals json.gz, duplicates parquet, minhash parquet. Hub also ships listings/, urls/, sample/, RedPajama-Data-V2.py, _CC_SNAPSHOT_IDS, ut1_domain_categories.json.JSONL under correct_solutions/ and incorrect_solutions/ (train.jsonl + validation.jsonl) plus Hub parquet convert. Columns: question, expected_answer, predicted_answer, error_message, is_correct, generation_type, dataset, generated_solution. Single default config with train/validation.parquet in three Hub configs (cosmopedia-v2, fineweb-edu-dedup, python-edu). cosmopedia-v2 columns: prompt, text, token_length, audience, format, seed_data. fineweb-edu-dedup: text, id, metadata. python-edu: blob_id, repo_name, path, length_bytes, score, int_score.
TypePretraining corpus / unfiltered CCNet web + quality signals + minhash/duplicate idsAnnotated synthetic math-reasoning SFT / question + code-interpreter solution + expected/predicted answerPretraining mix / synthetic textbooks + educational web + Python-edu metadata
CostFreeFreeFree
LanguagesCard language:en/de/fr/es/it. Deduplicated head_middle (card table): en 14.5B docs / 20.5T tok (69.7% of 20.8B docs); de 1.9B / 3.0T; fr 1.6B / 2.7T; es 1.8B / 2.8T; it 0.9B / 1.5T. Raw head_middle: en 24.5B / 37.0T; de 2.7B / 4.1T; fr 2.2B / 3.7T; es 2.3B / 3.9T; it 1.2B / 1.9T. Per-language percents of the tail partition Unknown. ccnet_language_score is a column.English 100% (card language:en). Preview is English GSM8K word problems and MATH contest items with LaTeX plus Python code-interpreter blocks. No LID table. Per-language percents N/A.English 100% (card language:en). FineWeb-Edu-dedup preview language=en / language_score 0.928. Cosmopedia v2 Mixtral English textbooks. python-edu is Python source if fetched. No LID percent table. Per-language percents N/A.
ModalityText-only (web). No images/code subset.Text-only (English + LaTeX + Python code blocks). No images.Text-only (English web/textbooks + Python source if downloaded). No images.
Domainweb pre-training; Common Crawl multilingual (en/de/fr/es/it); quality-signal annotated CCNet dumpsmathematical reasoning; GSM8K/MATH instruction SFT; code-interpreter CoTSLM pre-training; synthetic textbooks; educational web; educational Python
Time period84 Common Crawl snapshots CC-MAIN-2014-15 through CC-MAIN-2023-14 (_CC_SNAPSHOT_IDS). Paper arXiv 2411.12372 (Hub publishedAt 2024-11-19T09:35:28Z). HF createdAt 2023-10-26; lastModified 2024-11-21T09:33:17Z. One-shot CCNet processing, not a live crawl.Paper arXiv 2402.10176 (Hub publishedAt 2024-02-15T18:26:11Z). HF createdAt 2024-02-11; lastModified 2024-02-16T18:42:16Z. Seed GSM8K and MATH training sets. One-shot Mixtral-8x7B synthesis, not a live contest crawl.Blog 2024-07-16. HF createdAt 2024-07-15; lastModified 2024-09-06 (Hub Updated 6 Sep 2024). Cosmopedia v2 Mixtral generation; FineWeb-Edu from FineWeb CC; python-edu from Stack-v2-train-full-ids. One-shot mix, not a live crawl.
PurposeOpen unfiltered web pretrain with per-document quality signals so others can reproduce Gopher/C4/RefinedWeb-style filters; also the web-only successor to RedPajama-1TCommercially permissive math SFT at 1.8M scale using an open Mixtral teacher instead of GPT-gated mixesTrain small LMs (SmolLM 135M/360M/1.7B) on a curated educational+synthetic mix
Used forPaper: Snowflake Arctic, Salesforce XGen, AI2 OLMo. Hub overview 1.6M downloads / 405 likes at check. Paper 59 upvotes / GitHub togethercomputer/RedPajama-Data 4,977 stars at paper-metadata check. Live-sheet OLMo Mix uses related CC mixes — this is the standalone V2 corpus.Paper OpenMath-CodeLlama-7B/13B/34B/70B, OpenMath-Mistral-7B, OpenMath-Llama2-70B (nemo + HF). Hub collection nvidia/openmath. Paper 38 upvotes / GitHub Kipok/NeMo-Skills 1,022 stars at paper-metadata check. Predecessor of already-cataloged OpenMathInstruct-2 — not extra OpenMathInstruct-2 n.SmolLM 135M/360M (600B tokens from this mix) and SmolLM 1.7B (1T tokens). Hub overview 662.2K downloads / 480 likes at check. Distinct from already-cataloged Cosmopedia (v1) and FineWeb-Edu (full 1.3T).
AuthorsTogether Computer / Weber, Fu, Anthony, Oren, Adams, Alexandrov, Lyu, Nguyen, Yao, Adams, Athiwaratkun, Chalamala, Chen, Ryabinin, Dao, Liang, Ré, Rish, Zhang (arXiv 2411.12372). Web authors from Common Crawl. Quality classifiers trained on Wikipedia/OpenWebText/Books/PALM-style references (English-only for several fastText scores).NVIDIA (Toshniwal, Moshkov, Narenthiran, Gitman, Jia, Gitman; arXiv 2402.10176). Solutions generated by Mixtral-8x7B (base, Apache-style Mixtral license). Seed problems from GSM8K and MATH train. Not human contest authors for the synthesized solutions.Ben Allal, Lozhkov, Penedo, Wolf, von Werra (Hugging Face TB; blog 2024-07-16). Cosmopedia v2 generated by Mixtral-8x7B-Instruct-v0.1. FineWeb-Edu web authors from Common Crawl. python-edu from GitHub via Stack-v2 / Software Heritage.
BiasEnglish-heavy even after five-language CCNet (deduped en 14.5/20.8B ≈ 70%). head/middle vs tail is Wikipedia-LM perplexity, which overweights wiki-like register. English-only fastText (rps_doc_ml_wikiref_score / rps_doc_ml_palm_score). UT1 domain blacklist and LDNOOBW toxicity tags are available but not applied by default. Distinct from already-cataloged FineWeb / FineWeb 2 / DCLM-baseline / Falcon RefinedWeb / TxT360 / Dolma (this dump ships raw+signals rather than a single filtered mix).GSM8K/MATH-train seed mix plus Mixtral-8x7B priors. generation_type mixes without_reference_solution and masked_reference_solution. Subject-specific MATH prompts added only a small TSC gain vs default 5-shot. Distinct from already-cataloged OpenMathInstruct-2 (Llama-3.1-405B, ~14M) / MetaMathQA (GPT-3.5-Turbo, 395k) / NuminaMath-1.5. Masked GSM8K/MATH siblings are generation aids — not extra n.Educational-web + Mixtral synthetic textbooks (BISAC 34k topics; blog 40% middle-school / 30% college / 30% mix+stories) + high-score Python. FineWeb-Edu-dedup is a 220B-token subset of already-cataloged FineWeb-Edu — not extra FineWeb-Edu n. Cosmopedia v2 is the Mixtral successor of already-cataloged Cosmopedia v1 — do not concat v1 as extra n. python-edu needs gated Stack v2 / SWH (same caveat as skipped HuggingFaceTB/python-edu and stack-edu).
Text qualityCCNet line-dedup + perplexity buckets (head/middle/tail). Quality-signal schema covers Gopher/C4/RefinedWeb heuristics, importance-resampling scores, minhash bands at Jaccard 0.7/0.8/0.9/1.0, and Bloom exact-dup ids. datasets-server 501 so Hub rows were not sampled here; README schema example is a short English letter (length 1095 / nlines 8 / language_score 0.92 / perplexity 217.2 / bucket head). Residual: unfiltered CC boilerplate/PII; tail partition has no quality annotations; first README table header says 'deduped' under the Raw section — catalog the two tables as raw 32.9B/50.6T vs unique 20.8B/30.4T.Preview row 0 (GSM8K crayons, masked_reference_solution) is a well-posed 18/2+20=29 item with a Python interpreter block and boxed 29. Row 2 (MATH origin to (-15,8)) is a correct distance-17 sympy solution. Row 1 (GSM8K bowl) gets 90 correctly but the generated text names Tom while the question names Noa — residual teacher slip. Paper: unmasked reference-solution prompting produced shortcut print(ANSWER) cheats; masked intermediates were the fix. Code execution errors/timeouts halt generation. Residual: fully synthetic Mixtral; brute-force sampling (128 GSM8K / 224 MATH solutions per problem); not independently re-executed here.cosmopedia-v2 preview rows 0–1 are fluent college-audience textbooks (Ruangguru distance-learning / induction pan-searing) seeded from FineWeb, token_length 805 and 793. fineweb-edu-dedup preview is an AACAP 2011 parent-help fact sheet (edu score 3.375 / 755 tok / CC-MAIN-2013-20). python-edu preview is metadata only (blob_id, Fib_circle.py, score 3.84 → int_score 4). Residual: Mixtral synthetic; CC boilerplate; python-edu text not on Hub.
Sample sizeNo Hub train/val/test of the full dump. Configs: default (partition × snapshots × languages) and sample. Partitions head_middle vs tail. Duplicate ids / minhash are overlays, not extra documents. Do not concat with already-cataloged FineWeb / DCLM-baseline / TxT360 or with RedPajama-Data-1T.correct train+validation are the 1.8M SFT set (paper). Hub default train 5.8M / validation 1.1M is the viewer-partial is_correct mix including incorrect trajectories. incorrect_solutions 6.6M is a verifier dump — not extra SFT n. dataset gsm8k vs math and generation_type are columns not Hub configs. Do not add nvidia/OpenMath-GSM8K-masked (7,473) / nvidia/OpenMath-MATH-masked (7,500) or kunishou/OpenMathInstruct-1-1.8m-ja as extra n. Do not concat with already-cataloged OpenMathInstruct-2.Three Hub configs, not one concat: cosmopedia-v2 39,134,000; fineweb-edu-dedup 190,168,005; python-edu 7,678,448 metadata. No val/test. Do not add HuggingFaceTB/python-edu standalone (annotations-only) or HuggingFaceTB/cosmopedia v1 as extra n.
Long contextMixed (full web documents; ccnet_length / rps_doc_word_count vary). Exact token histogram Unknown without aggregating json.gz. Deduped head_middle ~30.4T / 20.8B ≈ ~1.5k tok/doc if both figures hold.No (short GSM8K/MATH items with a few code blocks). Exact token histogram Unknown without aggregating. Paper max 4096 input-output tokens / 512 new tokens after each code block.Mixed (Cosmopedia v2 textbooks; FineWeb-Edu pages, preview 755 tok). Exact token histogram Unknown; blog 28B/220B/4B.
Intermediate stepsYes (84 CC WARCs → CCNet language ID + wiki-LM perplexity head/middle/tail; quality-signal annotation on head_middle; Bloom exact-dup ids kept rather than dropped; minhash LSH bands). Code Apache-2.0 at github.com/togethercomputer/RedPajama-Data.Yes (GSM8K/MATH train seeds; Mixtral-8x7B few-shot code-interpreter synthesis; default vs subject-specific vs masked-text prompting; Python interpreter with ≤3 code blocks / 10s timeout; keep answer-matching trajectories). Pipeline in NVIDIA-NeMo/Skills (paper GitHub Kipok/NeMo-Skills).Yes (BISAC topics + FineWeb retrieval → Mixtral Cosmopedia v2; FineWeb-Edu classifier + dedup 220B; Llama3-annotated Python-edu scorer ≥4 on Stack-v2-train). Blog huggingface.co/blog/smollm.
Idea qualityHighHighHigh
NoveltyHigh (public 20.8B-doc / 30.4T-token signal-annotated CC dump vs already-cataloged FineWeb / DCLM / TxT360 filtered mixes)High (public 1.8M commercially permissive Mixtral math SFT vs already-cataloged OpenMathInstruct-2 14M Llama-3.1 successor / MetaMathQA)High (public SmolLM mix; Cosmopedia v2 39M is not already-cataloged Cosmopedia v1)
Text conversionReady json.gz via load_dataset('togethercomputer/RedPajama-Data-V2', name='default', partition='head_middle', snapshots=[...], languages=[...], streaming=True) or wget from data.together.xyz (~1TB/snapshot). datasets-server 501 — do not wait on viewer. Sample config is for exploration only. Sibling togethercomputer/RedPajama-Data-1T is V1 (LLaMA-mix reproduction) — do not concat as extra n.Ready JSONL/parquet; load_dataset('nvidia/OpenMathInstruct-1', split='train'). ~8.88 GB jsonl / ~2.84 GB parquet convert — streaming recommended for the full correct+incorrect dump. Filter is_correct==True for the 1.8M SFT set. Do not concat with already-cataloged OpenMathInstruct-2 as extra n.Ready parquet for cosmopedia-v2 and fineweb-edu-dedup; streaming required (~672 GB download those two). python-edu requires boto3 S3 fetch from softwareheritage (card: ~6h on 16-core us-east-1); do not treat 7.7M metadata rows as text tokens. load_dataset('HuggingFaceTB/smollm-corpus', 'cosmopedia-v2', split='train'). Do not concat with already-cataloged Cosmopedia / FineWeb-Edu as extra n.
Collection methodDownloadDownloadDownload
StaticUnknown (HF lastModified 2024-11-21; CC window through 2023-14; one-shot).Unknown (HF lastModified 2024-02-16; one-shot).Unknown (HF lastModified 2024-09-06; one-shot).
ProcessedUnknownUnknownUnknown
SummaryOpen unfiltered web pretrain with per-document quality signals so others can reproduce Gopher/C4/RefinedWeb-style filters; also the web-only successor to RedPajama-1TCommercially permissive math SFT at 1.8M scale using an open Mixtral teacher instead of GPT-gated mixesTrain small LMs (SmolLM 135M/360M/1.7B) on a curated educational+synthetic mix