← Datasets

Compare

MetaMathQA
#1161 · remove
DCLM-baseline
#1158 · remove
MegaMath
#1157 · remove
Kinddatasetdatasetdataset
Published202320242025
LicenseMIT (HF card YAML). GPT-3.5-Turbo terms may still apply if used to train a distributed model. GSM8K/MATH seed licenses remain.CC-BY-4.0 (HF card YAML). Also subject to Common Crawl Terms of Use. Card: intended for research use only / not production-ready or code/math-specific.ODC-By (HF card YAML odc-by). Also subject to Common Crawl Terms of Use. Code subset inherits Stack-V2 / per-file detected_licenses (preview MIT and no_license). Synthetic QA teacher terms (Llama-3.3 / Qwen-2.5) may still apply if used to train a distributed model.
License familyPermissivePermissivePermissive
AccessFreeFreeFree
Language codes——en
Modalitiestexttexttext
Size100K to 1M rows1B to 10B rows100M to 1B rows
Downloads (last month)85,813630,59082,620
Likes476318134
Last updated2023-12-212024-07-222025-04-09
Tasks——text-generation
Formatsjsonjsonparquet
ScaleHub/datasets-server default train 395.0K / 4 columns / 1 parquet convert 187.6 MB. datasetsServerInfo numRows 395,000. LFS MetaMathQA-395K.json 395.6 MB. size_categories 100K<n<1M. usedStorage Unknown. Hub overview 534.8K downloads / 467 likes at check. gated=false. Sibling meta-math/MetaMathQA-40K is a 40k subset — not extra n.Card 4T tokens / 3B documents. Paper also states 3.8T tokens for DCLM-baseline (DCLM-Pool parent: 240T tokens / 200B docs / 370TB gzip). Hub/datasets-server estimated 3,017.8M rows vs partial parquet convert 780.0K / 10 files / 3.0 GB — do not catalog 780K as n. size_categories 1B<n<10B (docs). Layout: 10 global-shard_*_of_10 × 10 local-shard_*_of_10 jsonl.zst. CuratorBote listed ≥279 LFS jsonl.zst in global-shard_01_of_10/local-shard_0_of_10 (listing still going at shard_00000278; sizes ~141–422 MB). usedStorage Unknown (did not sum ~100 local shards). Parquet sibling mlfoundations/dclm-baseline-1.0-parquet is an identical remap (datasets-server estimated 2,732.1M) — not extra n. Hub overview 7.3M downloads / 304 likes at check. gated=false.Card table 215.1M samples / 371.6B tokens (mean 1,727.6 tok/sample). Breakdown (card, not extra overlapping n): Web Domain 121.5M / 279.0B (Web 106.5M / 263.9B; Web-Pro 15.0M / 15.1B); Code Domain 13.4M / 28.1B; Synthetic 80.2M / 64.5B (Translated Code 7.4M / 7.2B; Q&A 22.6M / 7.0B; Text&Code Block 50.2M / 50.3B). Hub/datasets-server default train 217,499,877 / usedStorage 1,118,247,802,657 bytes (~1.12 TB) / 5,314 parquet. YAML size_categories 1B<n<10B vs Hub tag 100M<n<1B — catalog card 215.1M / 371.6B tokens, not the 1B-row tag. LFS layout: megamath-web 4,950 parquet (99 CC dumps × 50); megamath-web-pro 100; megamath-code 16; megamath-qa 32 (16 llama-3.3 + 16 qwen-2.5); megamath-text-code-block 200; megamath-translated-code 16. Hub overview 72.8K downloads / 131 likes at check. gated=false.
FormatJSON (MetaMathQA-395K.json) plus Hub parquet convert. Columns: type, query, original_question, response. Single default config.jsonl.zst under global-shard_XX_of_10/local-shard_Y_of_10/shard_*_processed.jsonl.zst. Canonical columns: bff_contained_ngram_count_before_dedupe, language_id_whole_page_fasttext, metadata (WARC), previous_word_count, text, url, warcinfo, fasttext_openhermes_reddit_eli5_vs_rw_v2_bigram_200k_train_prob. Parquet sibling simplifies to text/url/id/language/language_score/fasttext_score.parquet in six directories (megamath-web, megamath-web-pro, megamath-code, megamath-qa, megamath-text-code-block, megamath-translated-code). No YAML configs; Hub auto default concatenates 5,314 parquet. Code preview columns: file_info, repo_info. Web/QA schemas Unknown from the default first-rows (code schema).
TypeAnnotated synthetic math-reasoning SFT / query + original_question + CoT responsePretraining corpus / filtered Common Crawl web textPretraining corpus / math web + math code + synthetic QA/text-code
CostFreeFreeFree
LanguagesEnglish 100% (preview English + LaTeX). Card language tag absent. No LID table. Per-language percents N/A.English 100% (card language:en). Parquet-sibling preview language=en / language_score 0.933. Canonical jsonl carries language_id_whole_page_fasttext.en. No LID percent table. Per-language percents N/A.English 100% (card language:en). Paper: fastText LID keep score ≥0.65 on CC WARCs. Code subset is source-code (preview Python) with English comments. No per-language percent table beyond the English filter. Per-language percents N/A.
ModalityText-only (English + LaTeX). No images.Text-only (English web). No images.Text-only (English web/QA + source code). teasor.png is not extra n.
Domainmathematical reasoning; GSM8K/MATH instruction SFT; question bootstrappingweb pre-training; Common Crawl English; DataComp-LM benchmarkmath pre-training; Common Crawl math web; math-related code; synthetic math QA / text-code blocks
Time periodPaper arXiv 2309.12284 (Hub publishedAt 2023-09-21T17:45:42Z). HF createdAt 2023-09-21; lastModified 2023-12-21T01:35:53Z. Seed GSM8K and MATH training sets. One-shot GPT-3.5-Turbo bootstrap, not a live contest crawl.Paper arXiv 2406.11794 (Hub publishedAt 2024-06-17T17:42:57Z; HTML v4 2025-04-21). HF createdAt 2024-06-17; lastModified 2024-07-22T15:27:52Z. DCLM-Pool is all Common Crawl prior to 2023, resiliparse-extracted. One-shot curation, not a live crawl.Paper arXiv 2504.02807 (Hub publishedAt 2025-04-03T17:52:07Z; COLM 2025). HF createdAt 2025-03-30; lastModified 2025-04-09T13:17:50Z. Web from 99 Common Crawl snapshots CC-MAIN-2014-15 through CC-MAIN-2024-46. One-shot curation, not a live crawl.
PurposeSFT of open-source LLMs on forward/backward/rephrased GSM8K and MATH-train questionsResearch baseline for DCLM; high-quality open English pretrain via heuristic+Bloom+fastText filtering of DCLM-PoolLargest open English math pretrain corpus (paper: 371.6B tokens) for math-centric LLM pre-training
Used forPaper MetaMath-7B/13B/70B and MetaMath-Mistral-7B. Card also names OpenChat-3.5, CausalLM, zephyr-metamathqa, Ziya2. Hub overview 534.8K downloads / 467 likes at check. Paper 19 upvotes / 46 linked models / GitHub 456 stars at paper-metadata check. Distinct from already-cataloged OpenMathInstruct-2 and NuminaMath-1.5.Paper DCLM 7B (2.6T tokens → 64% MMLU 5-shot / CORE 57.1). Subsequent open-data work (paper: OLMo-2 / Nemotron-CC / WebOrganizer built on DCLM). Hub overview 7.3M downloads / 304 likes at check; paper-page listing 308,015 downloads. GitHub mlfoundations/dclm 1,463 stars / paper 56 upvotes at paper-metadata check.Paper continued-pretrain of Llama-3.2-1B/3B (IFM/MegaMath-Llama-3.2-*). marin-community/marin-32b-base lists MegaMath among sources. Hub overview 72.8K downloads / 131 likes at check. Paper 35 upvotes / 6 linked models at paper-metadata check. GitHub LLM360/MegaMath 110 stars / 8 forks at check. Part of TxT360 (LLM360).
AuthorsYu, Jiang, Shi, Yu, Liu, Zhang, Kwok, Li, Weller, Liu (Cambridge/SUSTech/HKUST/Huawei Noah’s Ark/Turing/MPI-IS; arXiv 2309.12284). Bootstrapped with GPT-3.5-Turbo from GSM8K and MATH train. Not human contest authors for the augmented slice.DCLM team (Li, Fang, Smyrnis, Ivgi, et al.; UW/Apple/TRI/UT Austin/TAU and others; arXiv 2406.11794). Web authors from Common Crawl. Classifier positives: OpenHermes 2.5 and r/ExplainLikeImFive vs RefinedWeb negatives.LLM360 / IFM (Zhou, Wang, Ranjan, Cheng, Tang, He, Liu, Xing; arXiv 2504.02807). Web authors from Common Crawl math pages. Code recalled from Stack-V2 (public processed files here). Synthetic QA from Llama-3.3 and Qwen-2.5 (megamath-qa/llama-3.3 and qwen-2.5 shards). Not a human-annotated contest set.
BiasGSM8K/MATH-train seed mix plus GPT-3.5-Turbo priors. type column mixes AnsAug / Rephrased / SV / FOBAR forward vs backward bootstraps. Distinct from already-cataloged OpenMathInstruct-2 (Llama-3.1-405B 14M) and NuminaMath-1.5 (ingests only 11,014 metamath rows). Do not add MetaMathQA-40K as extra n.English CC web. fastText OpenHermes+ELI5 vs RefinedWeb classifier overweights instruction/forum register. Card: not intended for code/math production training. Distinct from already-cataloged FineWeb / FineWeb-Edu (trafilatura + edu classifier) / Falcon RefinedWeb (heuristics only) / Dolma / Ultra-FineWeb. Live-sheet OLMo Mix uses DCLM as a mix component — this is the standalone corpus.English CC math-web (fastText math classifier trained from Open-Web-Math positives + Llama-3.1-70B-Instruct silver labels) plus Stack-V2 math-code recall plus LLM-synthetic QA/code. Web-Pro is an LM-filtered/refined subset of Web — not extra n. Distinct from already-cataloged FineMath (HuggingFaceTB educational CC math, ~34B FineMath-3+ tokens) and OpenCoder FineWeb Math Corpus (5.2M FineWeb math recall). Code comes from Stack-V2 but this repo is a public processed dump — not Hub-gated bigcode/the-stack-v2 / HuggingFaceTB/stack-edu.
Text qualityPreview row 0 (MATH_AnsAug complex-plane distance) is a well-posed √5 item with boxed answer matching the original. Row 1 (GSM_Rephrased football equipment) correctly computes 16×47=752. Paper: rephrased questions retain 76.30% GPT-3.5-Turbo CoT accuracy vs 80.74% on originals. Residual: fully synthetic teacher; card: none of the augmented data is from the test set; not independently re-solved beyond preview 0–1 here.Parquet-sibling preview row 0 is a 2012 Apple Stack Exchange NTFS/Time Machine thread (url apple.stackexchange.com/questions/66593; language_score 0.933; fasttext_score 0.113). Readable Q&A with residual SE boilerplate (Take the 2-minute tour; vote widgets). Canonical jsonl viewer 501. Paper: model-based filtering was the key lift vs RefinedWeb heuristics (7B-1x). Residual: CC PII/bias; card PII section More Information Needed; not independently re-extracted here.Paper: two-stage Resiliparse then trafilatura HTML math extraction (LaTeX preserved); MinHash-LSH dedup; second-stage fastText. Ablations claimed stronger downstream than OpenWebMath / InfiMM-WebMath-class baselines. Hub default first-rows are Stack-v2-style file_info/repo_info Python files (Navier-Stokes; Deep_Learning_With_Python) — code-subset schema, not web text. datasets-server rows endpoint 501 on default. Residual: CC boilerplate; synthetic QA teachers; code license mix including no_license; not independently re-extracted here. Skip open-web-math/open-web-math as a separate row (FineMath already cataloged as the stronger web successor); MegaMath is a larger web+code+synth mix.
Sample sizeSingle default train 395,000. No val/test. type is a column not a Hub config (preview MATH_AnsAug / GSM_Rephrased; public JSON also uses GSM_AnsAug / GSM_SV / MATH_Rephrased / MATH_FOBAR). Do not add MetaMathQA-40K (40,000) as extra n. NuminaMath-1.5 metamath 11,014 is a tiny ingested slice — not extra n here.Single train split. No val/test. 10×10 shard grid is storage layout not Hub configs. Do not concat jsonl repo + parquet sibling as extra n. Do not add DCLM-Pool as extra n (raw 240T parent).Card 215.1M across six subsets (see Scale). Hub default train 217,499,877 is the auto-concat — catalog card 215.1M. Web-Pro is a quality subset of Web, not extra n. megamath-qa llama-3.3 vs qwen-2.5 are teacher shards inside Q&A 22.6M. No val/test. Do not add OctoThinker/MegaMath-Web-Pro-Max as extra n.
Long contextNo (short GSM8K/MATH items). Exact token histogram Unknown without aggregating.Mixed (full web pages). Exact token histogram Unknown without aggregating. Card ~4T / ~3B docs ≈ ~1.3k tok/doc if both figures hold.Mixed (card avg 1,727.6 tok/sample; Web mean 2,478.7 / Code 2,102.7 / Q&A 308.3). Full web documents can be long. Exact token histogram Unknown without aggregating parquet.
Intermediate stepsYes (GSM8K/MATH train seeds; GPT-3.5-Turbo answer augmentation, LLM rephrasing with answer-consistency filter, backward self-verification/FOBAR). Code at github.com/meta-math/MetaMath.Yes (CC HTML → resiliparse; RefinedWeb-style heuristic filters; Bloom near-dedup; fastText OpenHermes-2.5 + r/ELI5 vs RefinedWeb bigram classifier). Code at github.com/mlfoundations/dclm.Yes (99 CC WARC re-extract with math HTML fixes; two-stage extractor + fastText math filter + MinHash; Web-Pro LM filter/refine; Stack-V2 math-code recall; synthetic QA / translated-code / interleaved text-code blocks). Code Apache-2.0 at github.com/LLM360/MegaMath.
Idea qualityHighHighHigh
NoveltyHigh (public 395k bootstrap landmark vs already-cataloged OpenMathInstruct-2 14M Llama-3.1 mix)High (public 3.8–4T model-filtered CC pretrain vs already-cataloged FineWeb / RefinedWeb / Dolma)High (public 371.6B-token math pretrain vs already-cataloged FineMath / OpenCoder FineWeb Math)
Text conversionReady JSON/parquet; load_dataset('meta-math/MetaMathQA', split='train'). ~396 MB JSON — no streaming required. Do not concat MetaMathQA-40K as extra n.Ready jsonl.zst; streaming required (TB-scale). Prefer shard globs or the parquet sibling. datasets-server 501 on canonical jsonl; partial 780K parquet convert is not full n.Ready parquet but Hub default concatenates mismatched schemas (~1.12 TB). Prefer load_dataset('IFM/MegaMath', data_dir='megamath-web-pro') or data_files per subset; streaming required. LLM360/MegaMath redirects to IFM/MegaMath — do not concat as extra n. datasets-server rows 501 on default.
Collection methodDownloadDownloadDownload
StaticUnknown (HF lastModified 2023-12-21; one-shot).Unknown (HF lastModified 2024-07-22; CC window prior to 2023; one-shot).Unknown (HF lastModified 2025-04-09; CC window through 2024-46; one-shot).
ProcessedUnknownUnknownUnknown
SummarySFT of open-source LLMs on forward/backward/rephrased GSM8K and MATH-train questionsResearch baseline for DCLM; high-quality open English pretrain via heuristic+Bloom+fastText filtering of DCLM-PoolLargest open English math pretrain corpus (paper: 371.6B tokens) for math-centric LLM pre-training