weights-and-biases

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

5|2|Updated May 26, 2026
One-click install
npx skills add https://github.com/perasyudha/Nyxora --skill weights-and-biases-perasyudha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: weights-and-biases
Source: https://github.com/perasyudha/Nyxora/tree/main/packages/core/playbooks/mlops/evaluation/weights-and-biases
Command: npx skills add https://github.com/perasyudha/Nyxora --skill weights-and-biases-perasyudha

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, making results impossible to compare or reproduce. ## Core Features & Use Cases - Experiment Tracking: Log metrics, configs, media, and system stats from PyTorch, TensorFlow, Keras, HuggingFace, and PyTorch Lightning training loops with a few lines of code. - Hyperparameter Sweeps: Run grid, random, or Bayesian optimization searches with early termination and parallel agents across multiple GPUs. - Artifacts & Model Registry: Version datasets and models with automatic lineage tracking, aliases, and a central registry for staging-to-production promotion. - 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 promote the best checkpoint to the production model registry. ## Quick Start Ask the agent to initialize a W&B run for your training script, log training and validation metrics each epoch, and save the final model as a versioned 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 PyTorch training experiments with Weights & Biases?

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

How do I run a hyperparameter sweep with W&B?

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 HuggingFace Trainer automatically logs metrics, hyperparameters, and checkpoints to W&B. You can also add custom WandbCallback subclasses for additional logging.

Can I use W&B offline without an internet connection?

Yes, set the WANDB_MODE environment variable to "offline" before initializing your run. Metrics are stored locally and can be synced to the cloud later using the wandb sync command.

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

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

Is Weights & Biases free to use?

W&B offers a free tier with unlimited public projects and 100GB storage, plus free academic accounts for students and researchers. Team plans with private projects start at $50 per seat per month.