---
name: wandb-99e180568bc9
description: "Weights & Biases — ML experiment tracking and visualization. Log metrics, hyperparameters, model checkpoints, and artifacts. Collaborative dashboards, sweep hyperparameter search, and model registry."
tags: [experiment-tracking, hyperparameter-sweeps, model-observability, training-visualization, wandb]
---
## Overview

Weights & Biases (wandb) tracks ML experiments with rich visualizations, hyperparameter sweeps, dataset versioning, model registry, and collaborative dashboards. Industry standard for experiment tracking across ML teams.

## Installation

```bash
uv pip install wandb
wandb login  # authenticate with API key
```

## Experiment Tracking

```python
import wandb

wandb.init(project="my_project", config={
    "learning_rate": 0.001,
    "batch_size": 32,
    "architecture": "transformer",
})
for epoch in range(10):
    loss = train_one_epoch()
    wandb.log({"train_loss": loss, "val_loss": val_loss, "epoch": epoch})
wandb.finish()
```

## Hyperparameter Sweep

```python
sweep_config = {
    "method": "bayes",
    "metric": {"name": "val_loss", "goal": "minimize"},
    "parameters": {"lr": {"min": 1e-5, "max": 1e-2}},
}
sweep_id = wandb.sweep(sweep_config, project="my_project")
wandb.agent(sweep_id, function=train_function, count=20)
```

## References
- [W&B docs](https://docs.wandb.ai/)
- [W&B GitHub](https://github.com/wandb/wandb)

---
Source attribution: mkurman
Original project: https://github.com/mkurman/zorai/blob/d06ee7597049567dab92db22d41b2764cf89094a/skills/scientific-skills/wandb/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 zorai contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: mkurman
Original project: https://github.com/mkurman/zorai/blob/d06ee7597049567dab92db22d41b2764cf89094a/skills/scientific-skills/wandb/SKILL.md
Attribution basis: Source repository record

Fields of work: Data & Analytics, Development & Engineering
Roles: Data Analyst, Data Scientist, ML / AI Engineer
Specialties: API, Cross Platform
Tools: Wandb
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 18f04d9a29a0ab330e3521b5111fa94cf746a37bd241c7bcf42d4b3d8a8cd636
