← Browse

Europe 2026

How We Built Zeta2: Training an Edit Prediction Model in Production — Ben Kunkle, Zed

Ben Kunkle

Overview

This talk details the process of training Zeta2, an edit prediction model for the Zed code editor. The core thesis revolves around using distillation from frontier models and leveraging opt-in production data to create a specialized, fast model for predicting user edits. The training pipeline emphasizes data processing, prompt engineering for teacher models, and a novel approach using "settled data" to generate high-quality training examples.

Who should watch

Key takeaways

Notable quotes

*Edit prediction is essentially giving the model a region of code around the cursor, asking them to predict the next edit that you're going to make.*
*The nice part about this whole process, we've designed it in such a way that it's all JSONL or a single line is a giant JSON object.*

Watch on YouTube →

Unofficial community note. Prefer the recording for nuance.