weights-and-biases

Logs ML training metrics, configs, and artifacts to Weights & Biases.

Updated May 4, 2026
One-click install
npx skills add https://github.com/JamesFincher/gengar --skill weights-and-biases-jamesfincher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: weights-and-biases
Source: https://github.com/JamesFincher/gengar/tree/main/skills/mlops/evaluation/weights-and-biases
Command: npx skills add https://github.com/JamesFincher/gengar --skill weights-and-biases-jamesfincher

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires wandb, and includes references (resource) components.

What problem does it solve?

Weights & Biases (W&B) helps you stop losing context across ML training runs by centralizing metrics, hyperparameters, sweeps, and artifacts so experiments remain comparable and reproducible.

Core Features & Use Cases

  • Experiment tracking: log scalar metrics, learning curves, configs, and run metadata for each training execution.
  • Hyperparameter sweeps: run grid/random/Bayesian optimization over parameter spaces while selecting the best-performing trials.
  • Artifacts & model registry: version datasets/models/checkpoints and manage lineage with aliases like latest/best/production.
  • Framework integration: use W&B logging natively via common training stacks (e.g., PyTorch, Transformers, Lightning, Keras/TensorFlow).

Quick Start

Initialize W&B for your project, log training/validation metrics during each epoch, and finish the run to publish results to your W&B dashboard.

Frequently Asked Questions about weights-and-biases

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track machine learning experiment metrics and configurations?

You can track machine learning experiment metrics and configurations by initializing W&B in your training script and using structured calls to log scalar metrics, learning curves, and run metadata for each execution. This centralizes your results for comparison.

What is the best way to run hyperparameter sweeps across deep learning frameworks?

The best way to run hyperparameter sweeps is to define a parameter space for grid, random, or Bayesian optimization, then use sweep agents to automatically execute trials and select the best-performing configurations across common deep learning frameworks.

How does artifact versioning work for datasets and model checkpoints?

Artifact versioning works by logging datasets, models, and checkpoints as W&B artifacts, managing their lineage through aliases like latest, best, or production to maintain reproducibility across training runs.

Do I need a W&B API key to log training runs and model registry workflows?

Yes, you need a W&B API key for authenticated usage. Initializing W&B for experiment tracking, artifact versioning, and model registry workflows requires this key to publish metrics and outputs to your dashboard.

Can I use W&B logging natively with PyTorch and Transformers training stacks?

Yes, you can use W&B logging natively with common training stacks like PyTorch, Transformers, Lightning, and Keras/TensorFlow to automatically capture training and validation metrics during each epoch.

Why should I centralize experiment tracking instead of saving metrics locally?

Centralizing experiment tracking prevents losing context across ML training runs by keeping metrics, hyperparameters, sweeps, and artifacts in one place, ensuring experiments remain comparable and reproducible.