← Datasets

Compare

The Stack v2
#232 · remove
OpenResearcher Training Dataset
#215 · remove
Kinddatasetdataset
Published20242026
LicenseVarious (per-repository licenses; must abide by original license terms)MIT
License familyOtherPermissive
Accessrestrictedfree
Language codescodeen
Modalitiestexttext
Size—10K to 100K rows
Downloads (last month)6,0313,173
Likes638136
Last updated2026-08-032026-08-20
Taskstext-generation—
Formats—parquet
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 over 97K trajectories / ~6K QA from 10% of MiroVerse / 15M FineWeb docs + 10K gold docs. Card 96K trajectories / ~11B-token corpus. Hub/datasets-server 16 configs seed_42–seed_57, each train 6,102 / 10 columns / parquet 420.6–487.9 MB (sum ~7.45 GB) / in-memory ~1.02–1.18 GB per seed. 16×6,102 = 97,632. datasets-server num_rows 97,630. size_categories 10K<n<100K. Hub overview 49.5K downloads / 132 likes at check. gated=false. Catalog unique questions ~6,102 / Hub trajectories 97,632 — seeds are rollouts, not extra unique n. Paper “15M docs ≈ 10 trillion tokens” conflicts with card ~11B tokens; 15M FineWeb docs is ~10B-scale if ~1k tok/doc — catalog card ~11B / paper 15M docs, not 10T as verified.
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.parquet under seed_XX/train-0000Y-of-00003.parquet (3 shards/seed). Columns: qid, question, answer, messages, latency_s, error, attempts, status, chunk_idx, num_chunks. 16 Hub configs seed_42–seed_57.
TypePretraining annealing corpus / algorithmic code + synthetic rewritesSynthetic agent-trajectory SFT / question + gold answer + GPT-OSS-120B browse messages
CostFreeFree
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.English (no card language YAML; preview questions/answers/tool traces are English). No LID table. Per-language percents N/A.
ModalityText-only (source code + English comments/prompts).Text-only (questions, answers, nested tool/message traces). Hub modality:tabular+text. No images. FineWeb pages are not shipped on this card.
Domaincode pretraining annealing; algorithmic/LeetCode-style files; synthetic self-contained functions and code-exercise QA; multilingual source filesdeep-research agents; long-horizon search/browse trajectories; offline web-agent SFT
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 arXiv 2603.20278 (Hub publishedAt 2026-03-17T20:10:12Z; Daily Papers 2026-03-24). HF createdAt 2026-02-02; lastModified 2026-03-25T10:26:20Z. Teacher GPT-OSS-120B over a one-time FineWeb+gold offline corpus. One-shot trajectory synthesis, not a live web crawl.
PurposeHigh-quality extra mix for the OpenCoder annealing stage (paper: quality over quantity after general RefineCode pretrain), beyond the original RefineCode distributionFully open long-horizon deep-research trajectory dump (search/open/find over a local corpus) so open 30B-class agents can SFT without live Search APIs
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.Paper OpenResearcher-30B-A3B (Nemotron-3-Nano-30B-A3B SFT; 54.8% BrowseComp-Plus, +34.0 vs base). Card: adopted by NVIDIA Nemotron family. Hub overview 49.5K downloads / 132 likes at check. Paper 102 upvotes / GitHub TIGER-AI-Lab/OpenResearcher 1,197 stars at paper-metadata check.
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.Li, Jiang, Ma, Zhang, Nie, Zhang, Zou, Xie, Zhang, Chen (Texas A&M / Waterloo / UCSD / Verdent AI / NetMind AI / Lambda; arXiv 2603.20278). Trajectories generated by GPT-OSS-120B with native browser tools. Questions compiled from skipped miromind-ai/MiroVerse-v0.1 (10% sample ~6K). Gold docs via one-time Serper API bootstrap — not live at train time.
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.MiroVerse long-horizon QA (not NQ/2Wiki short hops). Offline FineWeb distractors + answer-concatenated Serper gold docs (coverage bootstrap, not extra n). 16 seeds over the same ~6,102 qids. Distinct from already-cataloged AgentTrove / Edge Agent Reasoning WebSearch 260K / Open-SWE-Traces / FineWeb. Do not concat OpenResearcher-Corpus, AmanPriyanshu/OR-Corpus-Copy, or skipped MiroVerse-v0.1 as extra trajectory n.
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.Card/paper: GPT-OSS-120B search/open/find traces with a long-horizon tail of 100+ tool calls. Residual: questions come from skipped MiroVerse-v0.1; gold-doc bootstrap concatenates question+answer into Serper queries (leakage into the corpus, not into the student prompt); failed trajectories may still be present across seeds; Hub default is per-seed not a filtered-correct-only split (paper RQ1 studies correctness filtering). Viewer row dump is multi-MB nested messages — not independently re-executed here.
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.16 configs × train 6,102. No val/test. qid is shared across seeds. Do not add 16×6,102 as unique questions. Do not add OpenResearcher-Corpus 15M, OpenResearcher-Eval-Logs, or AmanPriyanshu/OR-Corpus-Copy as extra n. Catalog Hub 97,632 trajectories / ~6,102 unique questions.
Long contextNo (self-contained files/functions; OpenCoder-8B trained at 8K, 1.5B at 4K).Yes (card 100+ turn tail; nested search/open/find traces). Exact token histogram Unknown without aggregating.
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 (sample ~6K MiroVerse QA; normalize answers; one-time Serper gold-doc bootstrap 10K; merge 15M FineWeb; Qwen3-Embedding-8B + FAISS; GPT-OSS-120B search/open/find loop). Code at github.com/TIGER-AI-Lab/OpenResearcher. Offline corpus is sibling OpenResearcher/OpenResearcher-Corpus — not extra n of this trajectory card.
Idea qualityHighHigh
NoveltyMedium (public annealing extras for an already-cataloged OpenCoder FineWeb pair; still a distinct dump)High (public 97k offline deep-research traces vs already-cataloged AgentTrove / Edge Agent 260K synthetic search-planning; remaining dump leftover)
Text conversionReady JSONL; load_dataset('OpenCoder-LLM/opc-annealing-corpus', '<config>'). Streaming recommended (~26 GB JSONL). Prefer JSONL over the incomplete parquet conversion.Ready parquet; load_dataset('OpenResearcher/OpenResearcher-Dataset', 'seed_42', split='train'). ~7.45 GB parquet across 16 seeds — streaming recommended. Do not concat all 16 seeds as 97k unique questions. Do not concat OpenResearcher-Corpus / FineWeb as extra n.
Collection methodDownloadDownload
StaticUnknown (HF lastModified 2025-05-29; one-shot annealing dump. Stack v2 / GitHub later grew; this snapshot was not refreshed.)Unknown (HF lastModified 2026-03-25; one-shot).
ProcessedUnknownUnknown
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.OpenResearcher-Dataset contains ~96K high-quality long-horizon DeepResearch trajectories with 100+ turns, generated by GPT-OSS-120B using its native browser tools over a self-hosted 15M-document (~11B-token) offline search corpus. SFT on these trajectories yields a 30B-A3B model achieving 54.8% on BrowseComp-Plus (+34 points over base), used by NVIDIA's Nemotron family of models.