weights-and-biases

Log ML experiment metrics and manage runs, artifacts, and sweeps in W&B.

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

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 between training runs by centralizing metrics, configurations, artifacts, sweeps, and model registry entries in one workflow.

Core Features & Use Cases

  • Experiment Tracking: Log scalar metrics (loss/accuracy), training/validation curves, and metadata per run.
  • Hyperparameter Sweeps: Run systematic searches (random/grid/bayesian) against a chosen metric to find better settings.
  • Artifacts & Model Registry: Version datasets/models/checkpoints with lineage, promote models via aliases (e.g., best/production), and collaborate.
  • Framework Integrations: Use W&B directly or via common training frameworks such as Transformers, PyTorch Lightning, and Keras/TensorFlow.

Quick Start

Use the weights-and-biases skill to log a single training run’s metrics and configuration for later comparison by telling your agent: set up a W&B run for project "my-project", track my learning rate/epochs/batch size, log train/val loss and accuracy each epoch, and upload my final model checkpoint as a W&B artifact.

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 ML experiment metrics and configurations for training runs?

To track ML experiment metrics, you initialize a W&B run with a project and configuration, then stream scalar metrics like loss and accuracy per epoch. This centralizes your training and validation curves, metadata, and hyperparameters for reproducible comparison.

What is the best way to run hyperparameter sweeps for deep learning models?

Running hyperparameter sweeps is best handled by executing systematic searches like random, grid, or Bayesian optimization against a chosen metric. This approach systematically explores tuning settings to find better performing model configurations across your training pipelines.

How do I version datasets and manage model checkpoints with lineage tracking?

You can version datasets and manage model checkpoints by logging them as W&B artifacts. This captures full lineage tracking for your runs, allows you to promote models via aliases like production or best, and centralizes your model registry entries.

Can I use W&B experiment tracking with PyTorch Lightning or Hugging Face Transformers?

Yes, W&B integrates directly with common deep learning frameworks such as PyTorch Lightning, Hugging Face Transformers, and Keras/TensorFlow. You can use these frameworks within your training pipelines and stream metric logging natively.

Why lose context between ML training runs when comparing model performance?

You lose context between ML training runs when metrics, configurations, and artifacts are scattered. Centralizing these elements in a unified dashboard stops context loss by linking datasets, model checkpoints, and sweeps with full lineage tracking for collaboration.

Do I need to manually upload final model checkpoints after a training run finishes?

No, you do not need to manually upload final model checkpoints. You can instruct your agent to log your final model checkpoint as a W&B artifact during the run, automatically handling versioning and recording lineage alongside your tracked metrics.