BLUENEXUS INTEGRATIONSHOW-TO

How to find the best run and config in Weights & Biases with AI

A good sweep produces dozens of runs overnight. By morning, the question is simple: which one won, and why? The answer is rarely as simple. The summary column shows each run's last value, not its best. The sweep optimized a metric you don't quite care about. Two runs crashed at 2am, or seem to have. And the winning config differs from the runner-up in five places, only one of which matters.

An AI connected to Weights & Biases can read each run's full history, rank by the metric you choose, compare configs and curves, and flag runs that failed or went quiet. Deciding what to train next stays with you.

Here are four ways "best" goes wrong, three prompts, and how a computer vision team reads its overnight sweep.

Four ways "best" goes wrong

Four ways "best" goes wrong

Summary isn't bestA run's summary often shows the last logged value, not its best.
Wrong metricThe sweep optimized training loss, but you care about validation F1.
Lucky seedOne run wins on one seed. Two more seeds tell you if it's real.
Crashed isn't deadA crashed run lost contact. It may still be running, and still billing GPUs.

Start with W&B's own tools

The runs table sorts and filters by any metric or config value, and W&B's run comparison puts runs side by side. Parallel coordinates and parameter importance panels show which settings matter in a sweep. define_metric can keep a run's best value in its summary.

What's left is the reading: why the winner won, whether to trust it, and which runs are wasting GPUs.

Do it in Claude or ChatGPT

Connect W&B with our guide to Weights & Biases in Claude, ChatGPT and MCP. All three prompts only read.

Rank by what matters.

1Paste this into Claude or ChatGPT

Using W&B, in project [name], list the 10 runs with the best [validation metric], taking each run's best value from its history, not just the last logged one. Show the step where it peaked and the key config values. Don't change anything.

Copy prompt

Why the winner won.

1Paste this into Claude or ChatGPT

Compare the top run with the next three. Which config values differ, and how do their metric curves differ over training? Say which differences look like they matter. Don't change anything.

Copy prompt

Failed and crashed runs.

1Paste this into Claude or ChatGPT

List runs from the last 7 days that failed or show as crashed, with their last step, runtime and error if logged. Note that crashed can mean the run only lost its connection. Don't change anything.

Copy prompt

A few things to know:

  • Use the best value, not the last. Ask for each run's best from its history, or set define_metric so the summary keeps it.
  • Rerun before you trust. Run the top config with two new seeds. A real gain survives.
  • Check crashed runs before rerunning. A crashed run may still be training. Rerunning pays for it twice.
  • Pin the version. Reproduce from a specific model version, not from "latest".

When an ML team shares the sweep

On your own, you'd check your own runs. In a team, sweeps run overnight across shared GPUs, one engineer owns the sweep, another owns the machines, and the ML lead wants to know by stand-up whether anything beat production.

Quarry Labs, a 40-person computer vision company in Pittsburgh that spots defects on factory lines, checks its runs in BlueNexus. W&B is connected. Every weekday at 08:00, the research agent reads the night's runs and their history, ranks them by validation F1, and flags what failed or crashed for Cass, the ML engineer running the sweep.

Illustration of the BlueNexus app with example data.

Illustration of the BlueNexus app with example data.

Run 31 is the best so far, though the summary column ranks a different run first. Three runs ran out of memory, and two went quiet on the same node at 02:10. The agent prepares the next steps for Cass.

Cass approves. Jun finds the node lost its network at 02:10, and both crashed runs finished on their own. Cass reruns the three failed runs at batch 96, and checks run 31 on the holdout set before lunch: 0.904.

Illustration of the BlueNexus app with example data.

For connecting W&B, see Weights & Biases in Claude, ChatGPT and MCP. For the team, see a weekly ML experiment review. To read your runs with your team, sign up for BlueNexus.

Questions people ask about Weights & Biases and AI

How do I compare runs in Weights & Biases?

Select runs in a project's runs table and compare them in panels, parallel coordinates or a run comparer. With an AI connected to W&B, you can also ask which config values differ between the best runs.

Why doesn't W&B show my best metric value?

A run's summary shows the last logged value by default. Use define_metric to keep the best value in the summary, or read the run's history.

What does a crashed run mean in W&B?

W&B stopped receiving heartbeats from the run. That can be a real crash, or just a lost network connection while training continues.

How do I find the best hyperparameters from a W&B sweep?

Check which metric and goal the sweep used, rank runs by the metric you actually care about, and rerun the top configs with new seeds before you trust them.

Can AI compare W&B runs for me?

Yes. Connected to W&B, Claude can rank runs, compare configs and curves, and flag failed or crashed runs. Decisions about what to train next stay with you.

Subscribe to our blog

Product insights, AI and product thinking delivered to your inbox.