weights-and-biases

Track ML experiments, hyperparameter sweeps, and model artifacts with Weights & Biases.

Updated Aug 22, 2026
One-click install
npx skills add https://github.com/vivekgoquest/hermes-agent-stable --skill weights-and-biases-vivekgoquest
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: weights-and-biases
Source: https://github.com/vivekgoquest/hermes-agent-stable/tree/main/skills/mlops/evaluation/weights-and-biases
Command: npx skills add https://github.com/vivekgoquest/hermes-agent-stable --skill weights-and-biases-vivekgoquest

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Machine learning teams lose track of experiments, hyperparameters, and model versions when training runs are scattered across notebooks and scripts. This Skill provides complete guidance for using Weights & Biases to log metrics, compare runs, optimize hyperparameters, and manage model lineage in one place. ## Core Features & Use Cases - Experiment Tracking: Log metrics, configs, media, and system stats from PyTorch, TensorFlow, Keras, HuggingFace, and PyTorch Lightning training loops. - Hyperparameter Sweeps: Run grid, random, or Bayesian optimization searches with early termination and parallel agents across GPUs. - Artifacts & Model Registry: Version datasets and models with automatic lineage tracking, aliases, and promotion through staging to production. - Use Case: A data scientist fine-tuning a BERT model can launch a Bayesian sweep over learning rate and batch size, compare 50 runs in a real-time dashboard, and link the best checkpoint to the production model registry. ## Quick Start Ask the agent to set up W&B experiment tracking in your PyTorch training script, including metric logging and a model artifact upload.

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 PyTorch training experiments with Weights & Biases?▼

Call wandb.init with your project name and config, then use wandb.log inside your training loop to record loss, accuracy, and learning rate per step or epoch. Finish with wandb.finish and optionally upload checkpoints via wandb.save or Artifacts.

How to run hyperparameter sweeps with wandb?▼

Define a sweep config with a search method (grid, random, or bayes), a target metric, and parameter distributions, then create it with wandb.sweep. Launch one or more agents with wandb.agent pointing to your training function to execute trials.

Does W&B integrate with HuggingFace Transformers?▼

Yes, set report_to="wandb" in TrainingArguments and the Trainer automatically logs metrics, evaluation results, and checkpoints to W&B. You can also add custom WandbCallback subclasses for additional logging.

What is the difference between W&B Artifacts and the Model Registry?▼

Artifacts version any file or directory (datasets, models, predictions) with automatic lineage between runs. The Model Registry is a curated layer where model artifacts are linked and promoted through stages like staging and production using aliases.

Can I use wandb without an internet connection?▼

Yes, set WANDB_MODE=offline before wandb.init to log runs locally without network access. Later, run wandb sync on the run directory to upload the logged data to the W&B servers.

Which sweep method should I use for expensive training runs?▼

Bayesian optimization is recommended for expensive runs because it learns from previous trials and samples promising parameter regions, making it the most sample-efficient method. Combine it with hyperband early termination to stop underperforming runs and save compute.