Dataset

code-alchemy

Contains synthetic prompt-response code data across rewriting, QA, dev tasks, dialogues, and traces for training and evaluating code LMs.

Hugging Face ↗Jul 16, 2026Paper ↗Code ↗

  • llm
  • nlp
  • code-generation
  • code-qa
  • execution-traces
Full data-generation pipeline showing stages, token counts, and benchmarks produced
Full data-generation pipeline showing stages, token counts, and benchmarks produced

What it is

Synthetic code corpus for training and evaluating code LMs, spanning rewriting, QA, dev tasks, dialogue, and execution traces at near-trillion-token scale. ~162M rows and ~976.6B tokens across 5 training subsets and 2 eval sets: code rewriting, code QA, developer tasks, multi-turn dialogue, and execution traces in Parquet.

Key results

  • 162,417,042 rows total across 7 subsets
  • ~976.6B estimated tokens in Parquet files
  • 5 train subsets + 2 test/eval subsets

Useful for pretraining and benchmarking code models on generation, reasoning, dialogue, and trace prediction.

One useful ML email a week.

Worth your time, not all of your time.

We track new ML work across papers, code, and data, then keep only the pieces worth a closer look. Selected, not collected.

Papers.Data.Code

The Weekly ML Signal

Selected, not collected.

One useful ML email a week: the papers, repos and datasets worth your attention.

Worth your time, not all of your time.