PreTrainBench gives coding agents 24 hours to train a language model from scratch

A new benchmark lets coding agents choose the data, architecture and training recipe on 16 H100s. Its first results show why ML teams should score each checkpoint twice and measure the spread across runs.

Editorial news coverEditorial news cover
Company marks identify their owners. Reference only; no endorsement.

PreTrainBench gives a coding agent 24 hours and access to 16 H100 GPUs to train a base language model from scratch. The agent chooses the data, tokenizer, architecture and training recipe, and decides how much of the day to spend experimenting. The first results, released December 4, give ML teams a concrete way to assess whether agents can handle those decisions together. They also show how the answer depends on what the resulting checkpoint is supposed to do. PreTrainBench report · i10X News

PreTrainBench workflow. A coding agent uses a 24-hour, 16-H100 allocation to experiment and train a checkpoint, which is then scored on 22 few-shot tasks and on held-out text measured in bits per byte.PreTrainBench workflow. A coding agent uses a 24-hour, 16-H100 allocation to experiment and train a checkpoint, which is then scored on 22 few-shot tasks and on held-out text measured in bits per byte.
PreTrainBench puts experimentation and training inside the same allocation. The resulting checkpoint receives two separate scores. Illustration based on the PreTrainBench research report.

The PreTrainBench research write-up on the project website.
PreTrainBench’s project website presents the authors’ research write-up introducing the benchmark. · Original source

The best agent depends on the score

The benchmark gives the finished checkpoint two tests. Its main ranking averages 22 few-shot tasks in language, knowledge, math and code. Each task is rescaled so guessing scores zero and perfect performance scores 100. The second test measures bits per byte on private held-out science, code, encyclopedia, news and fiction text. Lower bits per byte means the model assigned higher probability to the unseen text on a common byte scale, which lets researchers compare checkpoints built with different tokenizers. PreTrainBench report

Gemini 4 Neon led the few-shot ranking with a mean of 35.6 across three runs, ahead of GPT-6.2 Astra at 34.7. Astra had the lower mean held-out loss in i10X News’s calculation, which uses a plain average across the five text categories. The project’s leaderboard uses a separate weighting that gives science and code 30 percent each, encyclopedia 20 percent, and news and fiction 10 percent each. Record the aggregation rule alongside any number you carry into an internal scorecard. i10X News run analysis · PreTrainBench repository

The run ranges matter as much as the order. Kimi K3.1 Pro scored between 27.2 and 34.9, a 7.7-point spread, while Astra’s three results ranged from 34.4 to 35.2. Kimi’s best run landed inside Astra’s observed range. Three attempts give teams an initial view of variability and leave substantial uncertainty about how often each setup would deliver a usable checkpoint. The published comparison also spans different coding harnesses, so treat each entry as the performance of the tested setup. i10X News run analysis

The final training job accounts for only part of the budget

Neon’s highest-scoring run spent its first six hours on experiments before training a 4.3-billion-parameter mixture-of-experts model with roughly one billion active parameters. The authors estimate that their fitted Delphi curve would need about 18 times the final-training compute to match that run’s few-shot score of 36.6. That ratio compares estimated floating-point operations for final training, excluding the pilots. The report describes Delphi as a dense reference recipe and also compares against Ai2’s Olmicro family. Both comparisons depend on the recipes and models used as reference points. PreTrainBench report · Marin’s Delphi methodology · Automater’s Olmicro coverage

For a team deciding whether to delegate a training experiment, the two budgets answer different questions. Use final-training compute to compare the recipes that produced the checkpoints. Use total reserved GPU time and actual job logs to compare the workflows that got there. Record failed trials and idle time alongside the successful training job. A cheap final run can still consume the same reservation as a more expensive one, and a run that ends early offers savings only if the team can release or reuse the capacity.

Use the public artifacts to design a local comparison

The repository includes scoring code and data behind the leaderboard. The project also lists model and dataset artifacts on Hugging Face. The original held-out text is private, so the repository documents a path for scoring against your own held-out set. Choose one task suite that reflects what you want from the base model and keep the text and scoring rules fixed across attempts. PreTrainBench repository · PreTrainBench on Hugging Face

Start with a team-owned recipe at the same wall-clock and accelerator budget. Keep the hardware, allowed data access and scoring setup fixed across repeated agent attempts. Count how often each setup leaves a checkpoint that loads and passes validation, then compare the range of held-out loss and task scores for the checkpoints that pass. Choose the minimum task score and acceptable failure rate before looking at the results. That gives the team a decision it can apply to its own workload, even when the agent with the best single checkpoint differs from the one that most consistently meets the bar.

Sources

  1. PreTrainBench
  2. GitHub - PreTrainBench/PreTrainBench: Can agents automate pre-training? · GitHub
  3. PreTrainBench (PreTrainBench)
  4. PreTrainBench: Which AI Agent Pretrains Best in 24 Hours - i10X News
  5. Scaling Laws That Extrapolate 300× Past the Fit | Marin