Design a data pipeline for language model pretraining

MediumML design40 minRERSMLEPro outline

The question

Design the pipeline that turns raw text crawls and other sources into a pretraining dataset of trillions of tokens. Cover filtering, deduplication, mixing, and how you would know a change to the pipeline made the model better.

What the interviewer is looking for

  • Clear stages with inputs and outputs and reprocessing in mind
  • Exact and near-duplicate removal at scale
  • Quality and safety filtering with measurable criteria
  • Mixture weights chosen and tested with small proxy runs
  • Removal of evaluation data from training data

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Reported in: glassdoor.co.in, leetml.org, techinterview.org

Practice question written by BlogLLM based on publicly reported interview formats. Not an official Google DeepMind question.