← Datasets

Compare

The Stack v2
#232 · remove
Audio-FLAN Dataset
#225 · remove
Kinddatasetdataset
Published20242025
LicenseVarious (per-repository licenses; must abide by original license terms)Apache-2.0 (with per-component license compliance required)
License familyOtherPermissive
Accessrestrictedrestricted
Language codescodeen, zh
Modalitiestextaudio, text
Size—10M to 100M rows
Downloads (last month)6,0311,871
Likes63847
Last updated2026-08-032025-10-06
Taskstext-generationtext-to-speech, text-to-audio, automatic-speech-recognition
ScaleHub parquet (partial conversion): algorithmic_corpus 5.3M / 1.4 GB; synthetic_code_snippet 3.1M / 1.4 GB; synthetic_qa 3.2M listed vs 7.2M estimated / 2.3 GB. Viewer total 11.6M rows (est. 15.6M). size_categories 10M<n<100M. Canonical dump is JSONL: algorithmic_corpus 54 files ~3.78 GB; synthetic_code_snippet 31 files ~4.94 GB; synthetic_qa 106 files ~17.6 GB (~26.3 GB LFS). Paper Table 3 annealing mix (training tokens, includes RefineCode which is NOT this repo): RefineCode 83.94B + Algorithmic Corpus 12.44B + High Quality Code Snippet 2.71B + Code Textbooks 0.91B. Hub 43.9K downloads / 44 likes at check.Paper: 80 tasks, >100M instances. Hub: size_categories 10M<n<100M, ~4.15 TB, 9,191 files. Exact Hub instance count not on the public card.
FormatJSONL on the Hub (canonical). Configs algorithmic_corpus, synthetic_code_snippet, synthetic_qa. Schemas: {type, lang, text} for the first two; {text, file_name, file_ext, file_size_in_byte, lang, program_lang} for synthetic_qa. Parquet conversion exists but is partial.tar.gz audio shards + jsonl metadata + .scp Audio_ID maps; example.py for joining
TypePretraining annealing corpus / algorithmic code + synthetic rewritesInstruction-tuning meta-dataset over speech, music, and sound corpora
CostFreeFree after gate; ~4.15 TB if you pull audio shards
LanguagesCode-first. JSONL `lang` on algorithmic_corpus/synthetic_code_snippet is a programming language (preview python/java). synthetic_qa JSONL has lang=en plus program_lang (preview java). Card has no spoken-language tag. Paper also synthesizes multilingual snippets. No LID table.Hub tags English and Chinese; original source datasets may include others. Not quantified on the public card.
ModalityText-only (source code + English comments/prompts).Audio (wav in tars where permitted) + English/Chinese instruction text
Domaincode pretraining annealing; algorithmic/LeetCode-style files; synthetic self-contained functions and code-exercise QA; multilingual source filesUnified audio instruction tuning (speech, music, environmental sound)
Time periodAlgorithmic seed sampled from The Stack v2 / GitHub-style LeetCode solutions (paper RefineCode GitHub cutoff Nov 2023). Synthetic rewrite during OpenCoder annealing. HF createdAt 2024-11-12; lastModified 2025-05-29. Paper arXiv 2411.04905 (2024-11-07).Paper v1 2025-02-23, v2 2026-06-07; Hub created 2025-02-18 lastModified 2025-10-06; Discord 2026-03-02. Card still says audio/jsonl are updating.
PurposeHigh-quality extra mix for the OpenCoder annealing stage (paper: quality over quantity after general RefineCode pretrain), beyond the original RefineCode distributionOne instruction format covering understanding (ASR, captioning, scene classification, etc.) and generation (TTS, music, sound) across many source datasets
Used forOpenCoder-1.5B/8B-Base annealing (paper Table 3 + Fig 9 ablation: dropping this high-quality mix hurts HumanEval/MBPP). Companion of already-cataloged opc-fineweb-code-corpus and opc-fineweb-math-corpus. Hub 43.9K downloads / 44 likes at check. Discord posted the OpenCoder-LLM collection.Audio-language SFT; unified understanding+generation; zero-shot audio task transfer
AuthorsOpenCoder-LLM / INF / M-A-P. algorithmic seed: public GitHub/Stack v2 authors (synthetic_qa JSONL has @author javadoc and leetcode-cn URLs). Snippets/QA-style rows rewritten by a strong LLM (paper: Qwen2-72B-Instruct / GPT-4o-Mini-related hqcode for textbooks). Residual LeetCode/contest-solution culture.Liumeng Xue, Ziya Zhou, Jiahao Pan, Zixuan Li, Shuai Fan, Yinghao Ma, Sitong Cheng, Dongchao Yang, Haohan Guo, Yujia Xiao, Xinsheng Wang, Zixuan Shen, Chuanbo Zhu, Xinshen Zhang, Tianchi Liu, Ruibin Yuan, Zeyue Tian, Haohe Liu, Xingjian Du, Emmanouil Benetos, Ge Zhang, Yike Guo, Wei Xue (HKUST and collaborators). Audio sourced from 50+ existing corpora.
BiasLeetCode/algorithm-keyword sample (paper: leetcode / def solution / class solution), not general GitHub. Card folder names do not match JSONL schemas: synthetic_qa JSONL is raw source files (file_name/file_ext/program_lang), while algorithmic_corpus JSONL is type=qa prompt+code and synthetic_code_snippet is type=snippet. Hub parquet conversion for synthetic_qa looks incomplete. Seeded from gated Stack v2; this derived dump is public. English comments + many languages of code.Aggregates 50+ source datasets; permissive-license audio is overrepresented in the binary dump because NC/YouTube sources are metadata-only. Speech/music/sound mix not numerically tabulated on the card.
Text qualityPaper: algorithmic files are self-contained and closer to interactive tasks; synthetic snippets kept only if generated tests pass. JSONL preview: real LeetCode Java (pivot index) plus synthetic documented functions. Residual contest boilerplate and incomplete test harnesses in type=qa rows. Not RefineCode (960B) and not the SFT stages.Instruction/input/output jsonl templates. Quality follows each source corpus; no unified human audit numbers on the card.
Sample sizeThree train configs, no default. Viewer: algorithmic_corpus 5.3M; synthetic_code_snippet 3.1M; synthetic_qa 3.2M parquet / ~7.2M estimated. No official val/test. Paper token mix above is the training recipe, not a guarantee each HF folder equals that token count.Paper 80 tasks / >100M instances. Hub does not publish a per-task count on the public README. Directories split audio vs music vs speech and understanding vs generation vs train_dev/test.
Long contextNo (self-contained files/functions; OpenCoder-8B trained at 8K, 1.5B at 4K).Low-Medium - typically one audio clip plus a short instruction; not long-form multi-turn audio by design
Intermediate stepsYes (keyword sample from Stack v2/RefineCode; LLM rewrite to snippets with tests; LLM textbooks). Paper §2.2. Sibling SFT dumps opc-sft-stage1/stage2 are separate repos.Yes - wrap existing datasets into FLAN-style instruction jsonl; drop audio for restrictive licenses
Idea qualityHighHigh
NoveltyMedium (public annealing extras for an already-cataloged OpenCoder FineWeb pair; still a distinct dump)High as an early large unified audio understanding+generation instruction set (2025); license/gate friction is the practical limiter
Text conversionReady JSONL; load_dataset('OpenCoder-LLM/opc-annealing-corpus', '<config>'). Streaming recommended (~26 GB JSONL). Prefer JSONL over the incomplete parquet conversion.jsonl instructions are text; joining audio needs .scp and tar extraction. Gated, so Viewer API 401 without auth.
Collection methodDownloadRequest HF access; read LICENSES.md per source before any redistribution; prefer metadata-only for restricted subsets; cite Xue et al. 2025/2026
StaticUnknown (HF lastModified 2025-05-29; one-shot annealing dump. Stack v2 / GitHub later grew; this snapshot was not refreshed.)No - card still says full audio and jsonl are updating; lastModified 2025-10-06
ProcessedUnknownYes - instruction jsonl wrapping of source corpora; incomplete audio dump by license
SummaryThe Stack v2 is a large-scale pre-training dataset of source code containing over 3 billion files in 600+ programming and markup languages, derived from the Software Heritage archive. It serves as a pre-training corpus for Code LLMs (used to train StarCoder2), with the full dataset at 67.5TB and the deduplicated version at 32.1TB (~900B tokens). The dataset provides SWHIDs (Software Heritage IDs) for provenance and compliance, with file contents stored on Software Heritage's S3 bucket.Audio-FLAN is a large-scale instruction-tuning dataset for unified audio understanding and generation, integrating 50+ source datasets across speech, music, and general audio domains. It covers tasks like speech recognition, text-to-speech, acoustic scene classification, audio event recognition, and music generation, organized with structured metadata (instruction, input, output, task type) for training audio-language models.