← Datasets

Compare

MetaMathQA
#1161 · remove
MegaMath
#1157 · remove
Kinddatasetdataset
Published20232025
LicenseMIT (HF card YAML). GPT-3.5-Turbo terms may still apply if used to train a distributed model. GSM8K/MATH seed licenses remain.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 familyPermissivePermissive
AccessFreeFree
Language codes—en
Modalitiestexttext
Size100K to 1M rows100M to 1B rows
Downloads (last month)85,81382,620
Likes476134
Last updated2023-12-212025-04-09
Tasks—text-generation
Formatsjsonparquet
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 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.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 / math web + math code + synthetic QA/text-code
CostFreeFree
LanguagesEnglish 100% (preview English + LaTeX). Card language tag absent. No LID 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/QA + source code). teasor.png is not extra n.
Domainmathematical reasoning; GSM8K/MATH instruction SFT; question bootstrappingmath 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 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 questionsLargest 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 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.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 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.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.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 (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 (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 qualityHighHigh
NoveltyHigh (public 395k bootstrap landmark vs already-cataloged OpenMathInstruct-2 14M Llama-3.1 mix)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 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 methodDownloadDownload
StaticUnknown (HF lastModified 2023-12-21; one-shot).Unknown (HF lastModified 2025-04-09; CC window through 2024-46; one-shot).
ProcessedUnknownUnknown
SummarySFT of open-source LLMs on forward/backward/rephrased GSM8K and MATH-train questionsLargest open English math pretrain corpus (paper: 371.6B tokens) for math-centric LLM pre-training