← Datasets

Compare

SmolLM-Corpus
#1163 · remove
TACO
#1162 · 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.Apache-2.0 (HF card YAML). TACO.py Info.license string says MIT — conflict; YAML/tag used here. Mixed upstream (APPS, CodeContests, Description2Code MIT, contest-site terms). HackerRank legal rights Unknown (card).
License familyPermissivePermissive
AccessFreeFree
Language codesencode
Modalitiestexttext
Size100M to 1B rows10K to 100K rows
Downloads (last month)51,24920,493
Likes492144
Last updated2024-09-062024-06-19
Tasks—text-generation
Formatsparquet—
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.YAML ALL train 25,443 / test 1,000 (sum 26,443) / download_size 2,419,844,942 bytes (~2.42 GB) / dataset_size 4,720,792,728 bytes (~4.72 GB). Paper 26,443 problems / 1,539,152 verified Python 3 solutions (from 2,045,502 before dedup; mean 58.21 solutions/problem). Train mean 51.6 tests/problem; test mean 202.3. LFS ALL/ 9 train parquet 286.9+327.2+177.5+179.5+205.7+271.7+213.8+260.1+251.6 MB plus test 245.8 MB. Loading-script train/*.arrow 9 files ~4.24 GB listed (529.6+612.9+335.2+402.7+417.0+503.1+447.5+525.7+465.6 MB) — same n, do not concat with ALL parquet. size_categories 10K<n<100K. datasets-server 501 (arbitrary Python / trust_remote_code). usedStorage Unknown. Hub overview 81.5K downloads / 143 likes at check. gated=false. Paper train 25,433 vs YAML 25,443 — catalog YAML 25,443.
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.parquet under ALL/ plus Arrow train/test used by TACO.py (trust_remote_code). Columns: question, solutions, starter_code, input_output, difficulty, raw_tags, name, source, tags, skill_types, url, Expected Auxiliary Space, time_limit, date, picture_num, memory_limit, Expected Time Complexity. Default config ALL.
TypePretraining mix / synthetic textbooks + educational web + Python-edu metadataAnnotated contest-code corpus / problem + Python solutions + unit tests + skill/difficulty metadata
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 problem statements + Python 3 solutions (card language:code). No LID table. Per-language percents N/A.
ModalityText-only (English web/textbooks + Python source if downloaded). No images.Text-only (English + Python). picture_num flags optional problem images — not extra problem n; not a vision corpus.
DomainSLM pre-training; synthetic textbooks; educational web; educational Pythoncompetitive programming; Python code generation; algorithmic skill labels
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 2312.14852 (Hub publishedAt 2023-12-22T17:25:42Z). HF createdAt 2023-12-20; lastModified 2024-06-19T09:16:49Z. Card: some test-set cases later removed/modified — use newest version. One-shot contest harvest, not a live scrape.
PurposeTrain small LMs (SmolLM 135M/360M/1.7B) on a curated educational+synthetic mixTrain and evaluate NL-to-Python models on contest problems with topics/algorithms/skills/difficulty metadata
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 TACO StarCoder finetunes (flagopen/starcoder*). Already-cataloged OpenCodeInstruct used 25,443 TACO questions as algorithmic seeds — this is the original problem+solution dump, not extra OpenCodeInstruct n. Hub overview 81.5K downloads / 143 likes at check. Paper 4 upvotes / GitHub 240 stars at paper-metadata check.
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.Li, Fu, Zhang, Huang, Sun, Lyu, Liu, Jin, Li (BAAI / Shandong Normal / Peking University; arXiv 2312.14852). Problems from contest platforms (Codeforces, CodeChef, HackerRank, GeeksforGeeks, plus APPS/CodeContests/Description2Code). Human contest authors; solutions are submitted Python 3.
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).Python-3-only (paper: C++ dominates contests; they kept Python for cleaner syntax). Contest-platform mix (Codeforces/CodeChef/HackerRank/GfG plus APPS/CodeContests). Difficulty configs EASY–VERY_HARD and 8 skill filters are views of ALL, not extra n. Distinct from already-cataloged OpenCodeInstruct / CodeForces-CoTs / DeepCoder Preview Dataset / rStar-Coder.
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.README sample is CF 1492/B (card reordering) with multiple Python solutions and I/O tests. Paper: unit-test verification; test-set cases later patched (card Key Update). Residual: datasets-server 501 so quality not independently sampled across all 26k here; some picture_num>0 items; HackerRank license Unknown (card). Do not paste long solutions as gold.
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.ALL train 25,443 / test 1,000. Difficulty configs (EASY/MEDIUM/MEDIUM_HARD/HARD/VERY_HARD) and skill configs are filters of ALL — not extra n. Do not concat with already-cataloged OpenCodeInstruct or open-r1/codeforces-cots. Unofficial DONG19/TACO parquet remap is 26,443 — not extra n.
Long contextMixed (Cosmopedia v2 textbooks; FineWeb-Edu pages, preview 755 tok). Exact token histogram Unknown; blog 28B/220B/4B.Mixed (full problem + many solutions; YAML ~4.72 GB / 26,443 ≈ ~179 KB uncompressed/row). 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 (scrape CodeChef/CF/HR/GfG; merge APPS/CodeContests/Description2Code; decomment/dedup solutions; augment tests; 968→36 algorithmic categories; unit-test verify). Code at github.com/FlagOpen/TACO.
Idea qualityHighHigh
NoveltyHigh (public SmolLM mix; Cosmopedia v2 39M is not already-cataloged Cosmopedia v1)High (public 26k labeled contest dump with 1.54M solutions vs already-cataloged OpenCodeInstruct Genetic-Instruct)
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 parquet; load_dataset('BAAI/TACO', split='train') uses default ALL. ~2.42 GB parquet / ~4.24 GB arrows — streaming recommended. datasets-server 501 — do not wait on viewer. Filter difficulties=[...] or skills=[...] are views, not extra n. Do not concat ALL parquet + train arrows.
Collection methodDownloadDownload
StaticUnknown (HF lastModified 2024-09-06; one-shot).Unknown (HF lastModified 2024-06-19; test cases patched; one-shot).
ProcessedUnknownUnknown
SummaryTrain small LMs (SmolLM 135M/360M/1.7B) on a curated educational+synthetic mixTrain and evaluate NL-to-Python models on contest problems with topics/algorithms/skills/difficulty metadata