# Weights & Biases (W&B)

> A web tool that charts each training run live. A team can then compare them.

**Field:** Artificial Intelligence  
**Category:** MLOps & Deployment  
**Also known as:** Weights and Biases, W&B, wandb

## Think of it like

It is like a scoreboard at a race. You see each runner, live, side by side.

## Definition

Weights & Biases is a paid platform for tracking machine learning experiments. A few lines in a training script send each run's settings and scores to its website. There, a team sees live charts of each run and compares them side by side. It also stores datasets and models, and traces apps built on language models. CoreWeave, a GPU cloud company, bought it in 2025.

## Example

Lucy trains a model overnight on four GPUs. In the morning she opens W&B and sees that run 7's loss stopped falling after two hours.

## Example code

```python
import wandb

run = wandb.init(project="house-prices")
run.log({"loss": 0.42})
```

Start a run in a project, then send a score. It shows up on a live chart on the website.

## Why it matters

Training runs take hours and cost money. Seeing a bad run early means you can stop it and save both.

## Common mistake

Logging so many charts that nobody reads them. Pick the few numbers that tell you a run is going well.

## Three principles

- **Live charts.** Watch a run while it trains.
- **Side by side.** Compare runs to find the best one.
- **Team view.** Everyone sees the same results.

## Related terms

- [Experiment Tracking](https://learn.benibix.com/term/ai/experiment-tracking)
- [MLflow](https://learn.benibix.com/term/ai/mlflow)
- [MLOps](https://learn.benibix.com/term/ai/mlops)
- [Loss Function](https://learn.benibix.com/term/ai/loss-function)
- [Hyperparameter Tuning](https://learn.benibix.com/term/ai/hyperparameter-tuning)
- [CoreWeave](https://learn.benibix.com/term/ai/coreweave)

![A loop of five boxes: data, train, track runs, registry, serve and watch, then back to data. AutoML sits on the train box, MLflow and Weights and Biases on the track box. A bracket under the loop says Kubeflow runs the steps on Kubernetes. A side box says LLMOps adds prompts, traces and evals.](https://learn.benibix.com/diagrams/ai7-mlops-tools.svg)

---

Source: https://learn.benibix.com/term/ai/weights-and-biases
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
