← All entries
Collection#29

OpenCoder Datasets

Summary

The OpenCoder Datasets collection comprises the full reproducible training data pipeline for the OpenCoder code LLM family, including RefineCode (960B tokens of high-quality code across 607 programming languages with 130+ language-specific filtering rules), FineWeb-code-corpus (148GB), FineWeb-math-corpus (10GB), an annealing corpus (24GB, 15.6M examples), and two-stage SFT datasets (4.21M + 436K examples). Released alongside the OpenCoder paper (ACL 2025), it provides complete transparency into the data curation process for training top-tier code LLMs.

Venue
OpenCoder-LLM / Hugging Face
Access
free
License
Open (various per dataset; RefineCode metadata and corpora released for research)
License family
Other
Language
607 programming languages; English and Chinese (natural language)
Hugging Face
OpenCoder-LLM/opencoder-datasets-672e6db6a0fed24bd69ef1c2
Author type
mixed
Added
Jul 17, 2026
Verified
Jul 17, 2026
Research status
done

Topics

Code / Programming

Dataset profile

Scale
HF: 100,920,235 train docs; size_categories 100M<n<1B; YAML dataset_size 254,927,419,643 bytes (~254.9 GB); datasets-server dataset_size 264.6 GB; download_size / usedStorage 147,948,949,488 bytes (~147.9 GB); 510 parquet shards ~290 MB each. GitHub table 148 GB. Paper Table 2: Processed FineWeb 55B tokens (5.7% of RefineCode 960B) covering this repo plus opc-fineweb-math-corpus (5,241,900 docs / download 9.95 GB / dataset_size 18.2 GB). HF 1,704 downloads / 55 likes at check.
Format
parquet (url, tag, text, file_path, dump, file_size_in_byte, line_count)
Type
Pretraining corpus / code-related FineWeb recall
License
MIT on this card. Built from FineWeb (ODC-By 1.0 + Common Crawl ToU). Sibling opc-fineweb-math-corpus is odc-by.
Cost
Free
Languages
English 100% (inherited FineWeb fastText en score >= 0.65). OpenCoder models also train Chinese from other web sources (SkyPile / annotated CC domains), not this repo. Sampled `tag` values are "code".
Modality
Text-only (code-related natural language with inline code snippets)
Domain
code-related English web; FineWeb-derived pretraining; programming forums/docs/tutorials
Time period
FineWeb Common Crawl dumps inherited in `dump` (viewer samples CC-MAIN-2018-43, 2021-49, 2022-27, 2023-14, 2023-40; FineWeb original window Summer 2013–April 2024). HF createdAt 2024-11-09; lastModified 2024-11-24. Paper arXiv 2411.04905 (2024-11-07). GitHub posted the 55B FineWeb-recalled pages 2024-11-11.
Purpose
Public FineWeb slice of OpenCoder pretraining: code-related pages recalled with iterative fastText (paper: part of RefineCode’s ~75B code-related web tokens / 55B Processed FineWeb)
Used for
OpenCoder-8B-Base (2.5T tokens, 90% raw code / 10% code-related web; paper: the 1.5B run omitted this recall because processing was incomplete). infly/OpenCoder-8B-Instruct HumanEval pass@1 83.5. GitHub OpenCoder-llm 2,105 stars at check. Discord posted the OpenCoder-LLM collection.
Authors
Public-web authors from FineWeb/Common Crawl (vendor forums, GitHub issues, blogs, SEO pages). OpenCoder-LLM / INF / M-A-P curated. Residual AI-generated web text possible; not quantified.
Bias
Code-forum/tutorial-like English web overweighted vs raw FineWeb. Three-round fastText recall from 500k Autonomous Data Selection seeds. Viewer samples include false positives (watch-collector pages tagged code) and SEO “error fix” pages. High-resource programming English (Intel/embedded forums, GitHub, Stack-like).
Text quality
FineWeb-filtered then fastText code recall. Mixed: genuine device-driver/dev-ops threads and tutorials plus boilerplate/SEO. Not the RefineCode raw-code heuristic set (130+ language-specific rules). Residual FineWeb toxicity/boilerplate remains.
Sample size
Single default train split 100,920,235. Companion math corpus 5.24M is a separate repo, not a config here. No official 10BT-style subsample.
Long context
Mixed (full web documents; OpenCoder-8B trained at 8K, 1.5B at 4K).
Intermediate steps
Yes (FineWeb URL+trafilatura+LID+heuristics+MinHash, then 3-round fastText recall). Paper also recalls from Common Crawl, SkyPile, AutoMathText, and GitHub text files — those slices are not this repo.
Idea quality
High
Novelty
High
Text conversion
Ready parquet; load_dataset("OpenCoder-LLM/opc-fineweb-code-corpus"); streaming recommended (~148 GB download).
Collection method
Download
Static
Unknown (HF lastModified 2024-11-24; FineWeb later grew past the paper crawl window; this snapshot was not refreshed)
Processed
Unknown

Research notes

  • Published at ACL 2025 (arXiv:2411.04905). Collection includes 6 datasets: opc-sft-stage1, opc-sft-stage2, opc-fineweb-math-corpus, opc-fineweb-code-corpus, opc-annealing-corpus, RefineCode-code-corpus-meta. RefineCode built on The Stack v2 with additional filtering.
  • Discord posted the OpenCoder-LLM collection (message 1362451409097855268), not this dataset URL. Canonical public pretraining text dump is this FineWeb-code recall; RefineCode raw code is metadata-only (OpenCoder-LLM/RefineCode-code-corpus-meta: 336,845,710 Stack-v2-covered files, source withheld for legal reasons). GitHub README still links OpenCoder-LLM/fineweb-code-corpus; live repo is opc-fineweb-code-corpus. SFT siblings: opc-sft-stage1 (viewer 4,216,321 rows / usedStorage ~32.1 GB / MIT; paper Table 5 RealUser 0.7M + Diverse 2.3M + Infinity 1.0M) and opc-sft-stage2 (HF 436,347 across educational 118,278 / evol 111,183 / mceval 35,943 / package 170,943; paper Table 5 ~367k; GitHub 375k). Annealing opc-annealing-corpus: paper metadata 15,572,160 rows / GitHub 24 GB / ODC-By. Not in papers_local.csv.

Related entries

  • Datasetresearch profile2024added Jul 17, 2026301,935 downloads/moshares a link

    FineWeb

    Guilherme Penedo, Hynek Kydlícek, Loubna Ben Allal, Anton Lozhkov, Margaret Mitchell, Colin Raffel, +2 more

    FineWeb is a 15-trillion-token (now 18.5T+) dataset of cleaned and deduplicated English web text derived from 96 CommonCrawl snapshots spanning summer 2013 to April 2024. Created by Hugging Face using the datatrove library, its processing pipeline includes URL filtering, Trafilatura text extraction, language filtering, MassiveText quality filters, C4 filters, custom FineWeb filters, MinHash deduplication, and PII reformatting, producing better-performing LLMs than other open pretraining datasets. Published at NeurIPS 2024, it also includes FineWeb-Edu (1.3T tokens of educational content) as a companion dataset.

  • Datasetresearch profile2024added Jul 17, 20266,031 downloads/moshares a link

    The Stack v2

    BigCode Project (collaboration including Hugging Face, ServiceNow, INRIA, Software Heritage)

    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.

  • Datasetresearch profile2024added Jul 17, 20262,055 downloads/moshares a link

    Infinity Instruct

    Beijing Academy of Artificial Intelligence (BAAI)

    Infinity Instruct is a large-scale, high-quality instruction fine-tuning dataset (7M instructions) developed by BAAI, featuring data evolution strategies and model ability diagnosis for instruction generation. It includes a 7M Core version (1.4M instructions reaching 95.7% of full 7M performance) and has been used to fine-tune Llama3, Mistral, Qwen2, and Yi models, achieving favorable results on AlpacaEval 2.0 and MT-Bench without RLHF. Accepted to AAAI 2026.

  • Datasetresearch profile2024added Aug 14, 2026439 downloads/moshares a link

    OpenCoder FineWeb Math Corpus

    OpenCoder-LLM

    Public FineWeb math slice of OpenCoder pretraining: math-related pages recalled with iterative fastText (paper: part of RefineCode’s ~75B code-related web tokens / 55B Processed FineWeb)

  • Datasetresearch profile2024added Aug 14, 202613,871 downloads/moshares a link

    OpenCoder SFT Stage 2

    OpenCoder-LLM

    Stage-2 SFT for OpenCoder-1.5B/8B-Instruct: smaller higher-quality code mix after the ~4.2M Stage-1 dump, including test-case triples usable as code-RL signal

Similar entries