← Datasets

Compare

SmolLM-Corpus
#1163 · remove
MetaMathQA
#1161 · remove
Kinddatasetdataset
Published20242023
LicenseODC-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.MIT (HF card YAML). GPT-3.5-Turbo terms may still apply if used to train a distributed model. GSM8K/MATH seed licenses remain.
License familyPermissivePermissive
AccessFreeFree
Language codesen—
Modalitiestexttext
Size100M to 1B rows100K to 1M rows
Downloads (last month)51,24985,813
Likes492476
Last updated2024-09-062023-12-21
Formatsparquetjson
ScaleHub 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.Hub/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.
Formatparquet 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.JSON (MetaMathQA-395K.json) plus Hub parquet convert. Columns: type, query, original_question, response. Single default config.
TypePretraining mix / synthetic textbooks + educational web + Python-edu metadataAnnotated synthetic math-reasoning SFT / query + original_question + CoT response
CostFreeFree
LanguagesEnglish 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.English 100% (preview English + LaTeX). Card language tag absent. No LID table. Per-language percents N/A.
ModalityText-only (English web/textbooks + Python source if downloaded). No images.Text-only (English + LaTeX). No images.
DomainSLM pre-training; synthetic textbooks; educational web; educational Pythonmathematical reasoning; GSM8K/MATH instruction SFT; question bootstrapping
Time periodBlog 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.Paper 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.
PurposeTrain small LMs (SmolLM 135M/360M/1.7B) on a curated educational+synthetic mixSFT of open-source LLMs on forward/backward/rephrased GSM8K and MATH-train questions
Used forSmolLM 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).Paper 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.
AuthorsBen 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.Yu, 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.
BiasEducational-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).GSM8K/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.
Text qualitycosmopedia-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.Preview 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.
Sample sizeThree 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.Single 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.
Long contextMixed (Cosmopedia v2 textbooks; FineWeb-Edu pages, preview 755 tok). Exact token histogram Unknown; blog 28B/220B/4B.No (short GSM8K/MATH items). Exact token histogram Unknown without aggregating.
Intermediate stepsYes (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.Yes (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.
Idea qualityHighHigh
NoveltyHigh (public SmolLM mix; Cosmopedia v2 39M is not already-cataloged Cosmopedia v1)High (public 395k bootstrap landmark vs already-cataloged OpenMathInstruct-2 14M Llama-3.1 mix)
Text conversionReady 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.Ready JSON/parquet; load_dataset('meta-math/MetaMathQA', split='train'). ~396 MB JSON — no streaming required. Do not concat MetaMathQA-40K as extra n.
Collection methodDownloadDownload
StaticUnknown (HF lastModified 2024-09-06; one-shot).Unknown (HF lastModified 2023-12-21; one-shot).
ProcessedUnknownUnknown
SummaryTrain small LMs (SmolLM 135M/360M/1.7B) on a curated educational+synthetic mixSFT of open-source LLMs on forward/backward/rephrased GSM8K and MATH-train questions