Weights & Biases
Briefly
Weights & Biases (W&B) — a platform for tracking experiments, metrics, and models.
What It Does
- logging metrics and hyperparameters;
- visualizing experiments;
- comparing runs;
- integrating with PyTorch, TensorFlow, and Hugging Face.
Use Cases
- tracking training;
- collaborative model work;
- comparing experiments.
W&B vs MLflow
| W&B | MLflow | |
|---|---|---|
| Deployment | Cloud or self-hosted | Self-hosted |
| Focus | Visualization | ML lifecycle |
Getting Started
pip install wandb
Minimal example of logging metrics:
import wandb
wandb.init(project="my-project")
wandb.log({"loss": 0.5, "accuracy": 0.9})
Runs and plots will appear in your dashboard or on a self-hosted server.