| Kind | dataset | dataset | dataset |
|---|
| Published | 2024 | 2023 | 2023 |
|---|
| License | Various (per-repository licenses; must abide by original license terms) | Various (governed by The Stack Terms of Use; original repository licenses apply) | mit |
|---|
| License family | Other | Other | Permissive |
|---|
| Access | restricted | restricted | free |
|---|
| Language codes | code | en | code |
|---|
| Modalities | text | text | code, text |
|---|
| Size | — | 10M to 100M rows | — |
|---|
| Downloads (last month) | 6,031 | 500 | 34,434 |
|---|
| Likes | 638 | 52 | 114 |
|---|
| Last updated | 2026-08-03 | 2023-03-20 | 2023-08-20 |
|---|
| Tasks | text-generation | text-generation | — |
|---|
| Formats | — | parquet | — |
|---|
| Scale | Hub 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. | ~30.98M conversations; ~54GB cleaned (card); ~66.6 GB usedStorage | Card table: 702,062 samples; 1,545.02 MB (~1.51 GB) of JSONL. Paper/card: 2GB filtered version of CommitPack (4TB GitHub commits / 350 languages). Python shard data/python/data.jsonl 135.9 MB. One JSONL per language under data/{lang}/data.jsonl. Dataset viewer 500 at check (scripted configs still load). Hub 3.9M downloads / 112 likes at check. size_categories not in YAML (card language:code). |
|---|
| Format | JSONL 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. | Parquet; content + structured events JSON-like fields | JSONL per language (commit, old_file, new_file, old_contents, new_contents, subject, message, lang, license, repos). Loading script commitpackft.py; kilobytes.txt / line_count.txt tables on the repo. |
|---|
| Type | Pretraining annealing corpus / algorithmic code + synthetic rewrites | Conversational issue/PR corpus | Annotated code-instruction corpus / Git commit old→new file pairs |
|---|
| Cost | Free | Free after gate; tens of GB download | Free |
|---|
| Languages | Code-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. | Mostly English (card) | Card: 277 programming languages (loading script `_LANG` length 277). Natural-language commit subjects/messages are predominantly English (not quantified on the card). Sample share of 702,062: yaml 114,320 (16.28%); ruby 69,413 (9.89%); markdown 62,518 (8.90%); python 56,025 (7.98%); javascript 52,989 (7.55%); json 39,777 (5.67%); text 46,588 (6.64%); shell 31,217 (4.45%). Code languages python+javascript+java+c+c+++go+rust+typescript together are a minority vs yaml/markdown/json/text. |
|---|
| Modality | Text-only (source code + English comments/prompts). | Text | Text + source code (file before/after plus NL subject/message) |
|---|
| Domain | code pretraining annealing; algorithmic/LeetCode-style files; synthetic self-contained functions and code-exercise QA; multilingual source files | Software engineering / GitHub issues & PRs (mostly English) | code instruction tuning; Git commits; 277 programming languages; single-file edits paired with commit subjects |
|---|
| Time period | Algorithmic 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). | Hub 2023-03-16 to 2023-03-20; Discord mid 1429930543075557406 | GitHub commits from The Stack / GHArchive-era public repos (permissive licenses). Paper arXiv 2308.07124 (2023-08-14, v2). HF createdAt 2023-06-27; lastModified 2023-08-20. One-shot snapshot; not a live Git crawl. |
|---|
| Purpose | High-quality extra mix for the OpenCoder annealing stage (paper: quality over quantity after general RefineCode pretrain), beyond the original RefineCode distribution | Code-adjacent conversational pretraining from issue/PR threads | Filtered CommitPack subset whose commit messages resemble natural-language instructions, for instruction-tuning code LLMs (OctoCoder / OctoGeeX) |
|---|
| Used for | OpenCoder-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. | Code LM pretraining; SE dialogue modeling | OctoCoder (StarCoder 16B + CommitPackFT + OASST; paper HumanEval Python 46.2% pass@1, SOTA among models not trained on OpenAI outputs at publication). OctoGeeX (CodeGeeX2 6B, same mix). HumanEvalPack eval (3 tasks × 6 languages). GitHub bigcode-project/octopack 479 stars at check. Hub 3.9M downloads / 112 likes at check. |
|---|
| Authors | OpenCoder-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. | Crowdsourced GitHub users; curated by BigCode; bots filtered | Public GitHub contributors on permissively licensed repos (field `repos`; comma-separated if reused). BigCode / OctoPack authors (Muennighoff, Liu, Zebaze, Zheng, Hui, Zhuo, Singh, Tang, von Werra, Longpre). Bots and boilerplate commits are the target of the FT filter, not fully eliminated. |
|---|
| Bias | LeetCode/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. | Public GitHub projects; English-heavy; bot/short-thread filters change community mix; username masking | YAML/markdown/JSON/text-config commits overweighted vs systems languages (yaml 16.3% of samples vs python 8.0% / java 2.9% / rust 0.43%). Filter keeps instruction-like subjects, so “fix typo”/“update readme” style still appears but bulk auto-generated messages are downweighted. Permissive-license GitHub only (mit, apache-2.0, bsd-*, mpl-2.0, unlicense, etc. in `license`). English commit-message culture. StarCoder pretraining language mix still dominates downstream OctoCoder language scores (paper). |
|---|
| Text quality | Paper: 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. | Cleaned (bots removed, short dropped, PII regex); still noisy social/tech support text | Human commit messages that passed the instruction-likeness filter (paper Appendix D). Subjects used for all paper experiments. Quality varies from precise single-file edits (card Python sin() example) to noisy config/YAML diffs. Residual trivial or boilerplate subjects remain. Dataset viewer was 500/unavailable at check so samples were taken from the card instance, not a live preview. |
|---|
| Sample size | Three 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. | 127 train parquet shards; variable thread lengths (long comments truncated) | 277 language configs, each a single train split. Total 702,062. Largest: yaml 114,320; ruby 69,413; markdown 62,518; python 56,025; javascript 52,989. Tiny langs have 1–10 samples (e.g. abap 1). No held-out official test; HumanEvalPack is a separate repo. |
|---|
| Long context | No (self-contained files/functions; OpenCoder-8B trained at 8K, 1.5B at 4K). | Medium - multi-comment threads; very long ones truncated in cleaning | No (single-file commits; paper notes models still struggle with small targeted changes). Typical files are short vs full-repo context. |
|---|
| Intermediate steps | Yes (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 - collect from Stack pipeline, regex clean, bot filter, quality heuristics, PII redact | Yes (CommitPack from GitHub commits across 350 langs, then FT filter for instruction-like commit messages; paper Appendix D/E). Recreatable via github.com/bigcode-project/octopack. |
|---|
| Idea quality | High | High | High |
|---|
| Novelty | Medium (public annealing extras for an already-cataloged OpenCoder FineWeb pair; still a distinct dump) | Medium-High as large open issue/PR dialogue companion to The Stack | High |
|---|
| Text conversion | Ready JSONL; load_dataset('OpenCoder-LLM/opc-annealing-corpus', '<config>'). Streaming recommended (~26 GB JSONL). Prefer JSONL over the incomplete parquet conversion. | High - training-ready content column | Ready JSONL; load_dataset("bigcode/commitpackft", "python") etc. (277 configs, no combined default). Viewer 500 at check; files are still downloadable. ~1.5–2 GB. |
|---|
| Collection method | Download | Accept HF gate/ToU; respect provenance licenses; track Stack version removals | Download |
|---|
| Static | Unknown (HF lastModified 2025-05-29; one-shot annealing dump. Stack v2 / GitHub later grew; this snapshot was not refreshed.) | Card lastModified 2023-03-20; Stack family may issue removal updates | Unknown (HF lastModified 2023-08-20; one-shot GitHub snapshot) |
|---|
| Processed | Unknown | Yes - cleaned and PII-redacted | Unknown |
|---|
| Summary | The 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. | The Stack GitHub Issues dataset contains ~30.9 million conversations from GitHub issues and pull requests, extracted as part of the larger Stack code dataset. Each conversation includes events such as issue opening, comments, and closures, with author usernames masked for PII protection. The dataset was cleaned from 180GB down to 54GB by removing bot comments, automated email replies, and low-quality conversations, and is used to train code generation models like Stable Code 3B. | > CommitPackFT is a 2GB filtered version of [CommitPack](https://huggingface.co/datasets/bigcode/commitpack) to contain only high-quality commit messages that resemble natural language instructions. |
|---|