AIAny
Icon for item

UltraData-Code

Provides layered code pretraining corpora (L2 ~400B tokens, L3 ~150B tokens) across 11 languages by filtering ~192M public GitHub repositories into standardized files, algorithmically relevant selections, and implementation-grounded programming exercises. Includes per-file metadata (role, algo relevance, quality) and serialized task records; released under Apache-2.0.

Introduction

Most large code corpora mix boilerplate, tests, generated files, and genuinely algorithmic implementations — this noise dilutes signal during pretraining. By organizing repository archives into a tiered pipeline and emitting both selected natural code (L2) and task-oriented synthetic exercises (L3), the dataset isolates algorithmic intent and supplies explicit generation supervision that improves code-model capabilities per token.

What Sets It Apart
  • Tiered, provenance-preserving pipeline: starts from a full L0 archive of ~192M public GitHub repositories and applies language-specific cleaning, near-duplicate deduplication, role prediction, and quality filtering to produce L1/L2 artifacts with traceability. This keeps selection decisions auditable and reproducible.
  • Algorithmic selection (L2): selects ~400B tokens of files deemed algorithmically relevant using file-role supervision, heuristic language cues, and embedding-based filters. Each file includes metadata such as predicted role, algo_rel_score, and quality_score for informed sampling or filtering.
  • Implementation-grounded synthesis (L3): converts selected implementations into standalone programming exercises (task, analysis, solution, tests), yielding ~150B tokens that provide explicit paired supervision for code generation and evaluation.
  • Empirical gains in controlled experiments: L2 vs L1 and L2+L3 mixtures consistently improve pass@1 on EvalPlus and MultiPL-E benchmarks in 10B-token controlled trainings, showing selection and synthesis deliver measurable per-token benefits.
Who it's for and tradeoffs

Great fit if you need high-quality pretraining or continual-pretraining code corpora with clear provenance, per-file metadata for selection, or synthetic task records for supervised fine-tuning and evaluation. It’s valuable for research comparing selection/synthesis strategies, building code-focused LLMs, or generating benchmarks aligned with implementation intent.

Look elsewhere if you need permissive, unconditional redistribution of original repository content (source repo licenses still apply), or if your use case requires curated domain-specific private code — the dataset derives from public GitHub sources and enforces license and takedown constraints. The dataset is large and designed for pretraining workflows rather than lightweight on-device inference datasets.

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/05

Categories

More Items

Hugging Face

Provides a large-scale, multi-speaker Persian speech–text corpus constructed from audiobooks for TTS, ASR, and speaker research. Includes automated alignment and quality scoring, TTS-ready subsets (thousands of hours/1M+ segments) and metadata for speaker IDs and genders — suitable for multi-speaker synthesis and voice cloning research.

Hugging Face

Provides large-scale mathematical problem-solving, rewriting, and dialogue data organized into five Parquet-backed subsets for reasoning-oriented language-model training. Subsets support streaming access, Dataset Viewer inspection, and per-subset provenance metadata; licensed Apache 2.0.

Hugging Face

A multiple-choice benchmark for evaluating LLM understanding in Traditional Chinese across 66 subjects (elementary to professional). Contains ~22K verified questions covering STEM, humanities, social sciences and Taiwan-specific topics, with standardized splits and model leaderboards under an MIT license.