weights-and-biases

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

1|Updated Jul 22, 2026
One-click install
npx skills add https://github.com/IceHeartGitH/Hermes-Agent-Android-Termux --skill weights-and-biases-iceheartgith
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: weights-and-biases
Source: https://github.com/IceHeartGitH/Hermes-Agent-Android-Termux/tree/main/custom-skills/mlops/evaluation/weights-and-biases
Command: npx skills add https://github.com/IceHeartGitH/Hermes-Agent-Android-Termux --skill weights-and-biases-iceheartgith

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 terminals. This Skill provides complete guidance for instrumenting training code with Weights & Biases so every run, metric, and artifact is logged, comparable, and reproducible. ## 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 lineage tracking, aliases, and promotion workflows from staging to production. - Use Case: A data scientist fine-tuning a ResNet50 classifier can initialize a W&B run, launch a 50-trial Bayesian sweep over learning rate and batch size, then link the best checkpoint to the production model registry. ## Quick Start Ask the AI to instrument your PyTorch training script with W&B experiment tracking and set up a Bayesian hyperparameter sweep for your project.

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

Call wandb.init with your project name and config, then call wandb.log inside your training loop to record metrics like loss and accuracy per epoch or batch. Use wandb.watch to automatically log gradients and model parameters, and wandb.finish when training completes.

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 agents with wandb.agent pointing to your training function, which reads hyperparameters from wandb.config each trial.

Does W&B integrate with HuggingFace Transformers?▼

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

What is the difference between W&B artifacts and model registry?▼

Artifacts version any file-based object such as datasets, checkpoints, or predictions with automatic lineage tracking between runs. The model registry is a curated layer where model artifacts are linked and promoted through aliases like staging and production for deployment governance.

Can I use wandb offline without internet connection?▼

Yes, set the WANDB_MODE environment variable to "offline" before calling wandb.init, and all run data is stored locally. Later, run wandb sync on the run directory to upload the logged metrics and artifacts to the W&B server.

Why does Bayesian sweep optimization work better than grid search?▼

Bayesian optimization learns from previous trial results to sample promising hyperparameter regions, making it more sample-efficient for expensive training runs. Grid search exhaustively tests all combinations, which grows exponentially and wastes compute on poor configurations.