AIAny
Icon for item

UltraData-Stack-v3-L2

Selected ~245B-token corpus of algorithmically relevant code across 11 languages from The Stack v3, produced by file-level language-adaptive selection (UltraData-Code-L2-Classifier). Concentrates problem-solving implementations for LLM code pretraining while preserving broad language coverage; released under ODC-By.

Introduction

The shortage of high-quality, algorithmically meaningful code in public corpora makes scaling code-specialized LLM capabilities by raw data volume increasingly inefficient. UltraData-Stack-v3-L2 addresses this by applying a language-adaptive, file-level selection pipeline to The Stack v3, producing a much smaller but algorithmically denser training pool designed to amplify code-generation and problem-solving skills in downstream models.

What Sets It Apart
  • Focused selection, not expansion: instead of enlarging the corpus, it retains ~20.10% of cleaned candidate files (127,133,027 files) yielding an estimated 245.50B tokens concentrated on algorithmic and problem-solving code. This preserves language breadth (11 languages) while boosting signal per token for coding tasks.
  • Quantified training impact: under a controlled 10B-token continual-pretraining regime on a 1B base model, the dataset improved average pass@1 to 30.00 on EvalPlus (vs 25.37 for Stack-v3-train) and 22.75 on MultiPL-E (vs 17.30), demonstrating measurable gains from selection.
  • Reusable, classifier-driven pipeline: selection uses UltraData-Code-L2-Classifier with Qwen3-Embedding-0.6B file embeddings and language-specific thresholds, enabling transfer of the L2 objective to alternative source corpora.
Who it's for and tradeoffs

Great fit if you want higher algorithmic density per training token for code-model pretraining or mid-training, or need a multilingual, license-traceable code corpus optimized for coding benchmarks. Look elsewhere if you require exhaustive archival provenance of every repository file (L0-style archival) or maximal raw coverage—this dataset intentionally excludes many non-algorithmic files and retains only files passing quality and relevance constraints. Also note the dataset inherits upstream license obligations (ODC-By and original repo licenses).

Information

  • Websitehuggingface.co
  • Organizationsopenbmb
  • AuthorsChengying Tu, Hengyu Zhao, Shuaikang Xue, Zhongming Qu, Jihao Zhou, Xinle Lin, Junshao Guo, Zixuan Fu, Qiang Ma, Jie Zhou …
  • Published date2026/09/08

Categories

More Items

Hugging Face

Contains 73 images used in Hugging Face library documentation, packaged in Parquet and imagefolder formats for examples, demos, and small-scale image experiments; distributed under CC BY‑NC‑SA 4.0.

Hugging Face

A monthly-updated, hive-partitioned parquet corpus of billions of standard rated chess games from Lichess for data analysis and ML — includes move lists with clock info, player Glicko2 ratings, openings, timestamps, and some Stockfish evals under CC0.

Hugging Face

A 12K-question multiple-choice benchmark that raises difficulty by expanding choices to ten and adding reasoning-focused problems. Designed for robust LLM evaluation with cross-domain coverage, expert curation, and emphasis on chain-of-thought performance.