weights-and-biases

Automate machine learning experiment tracking with the wandb library.

Updated Jun 15, 2026
One-click install
npx skills add https://github.com/Piaoxuemoli/qoobeeHermes --skill weights-and-biases-piaoxuemoli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: weights-and-biases
Source: https://github.com/Piaoxuemoli/qoobeeHermes/tree/main/hermes/skills/mlops/evaluation/weights-and-biases
Command: npx skills add https://github.com/Piaoxuemoli/qoobeeHermes --skill weights-and-biases-piaoxuemoli

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Weights & Biases simplifies the process of managing ML experiments, allowing for real-time tracking, model registry, and collaborative ML projects.

Core Features & Use Cases

  • Experiment Tracking: Automatically log metrics, visualize training, compare runs, and optimize hyperparameters.
  • Model Registry: Manage model versions, lineages, and versioning for reproducibility.
  • Collaboration: Share runs with team members and collaborate on ML projects.
  • Use Case: When you're working on a machine learning project, W&B helps you keep track of all your experiments, compare the performance of different models, and easily share your work with your team.

Quick Start

To start using Weights & Biases, first install it with pip install wandb. Then, log in with wandb login or set your API key programmatically. Here's an example of logging an experiment:

import wandb

run = wandb.init(project="my-project")

for epoch in range(10):
    # Your training code here
    train_loss = train_epoch()
    val_loss = validate()

    wandb.log({
        "epoch": epoch,
        "train/loss": train_loss,
        "val/loss": val_loss
    })

wandb.finish()

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 experiments and log metrics automatically?

You can track machine learning experiments by initializing a run with `wandb.init` and using `wandb.log` to automatically log metrics like train and validation loss for real-time visualization. This simplifies managing ML experiments and comparing model performance.

What is the best way to manage model versioning and lineage for reproducibility?

Using a model registry is the best way to manage model versioning and lineage. It allows you to manage model versions, track experiment lineages, and ensure reproducibility for both research and production MLOps workflows.

Do I need the wandb library to automate hyperparameter tuning and visualization?

Yes, the wandb library is required to automate hyperparameter tuning, real-time metric visualization, and collaborative model management. You must install it via pip and authenticate using `wandb login` or an API key before tracking experiments.

Can I share ML experiment runs and collaborate on projects with my team?

Yes, you can share ML experiment runs and collaborate on projects with team members. The platform enables you to keep track of all experiments, compare performance across different models, and easily share your work within your team.

Does experiment tracking work for both research and production MLOps environments?

Experiment tracking works for both research and production MLOps environments. It automates metric logging, provides real-time visualization of training, and helps optimize hyperparameters across different scales of machine learning projects.