W&B实验跟踪器Skill wandb-experiment-tracker

W&B实验跟踪器是一款专为机器学习与深度学习项目设计的集成技能,用于高效管理实验全生命周期。它提供实验日志记录与可视化、超参数自动扫描优化、模型与数据集工件版本控制、团队协作以及自定义报告生成等功能。核心关键词包括:机器学习实验跟踪、深度学习超参数调优、W&B集成、模型版本管理、AI实验可视化、团队协作平台。

机器学习 0 次安装 2 次浏览 更新于 2/23/2026

name: wandb-experiment-tracker description: 用于实验跟踪、超参数扫描和工件版本控制的Weights & Biases集成技能。 allowed-tools:

  • Read
  • Write
  • Bash
  • Glob
  • Grep

wandb-experiment-tracker

概述

用于实验跟踪、超参数扫描、工件版本控制和团队协作的Weights & Biases集成技能。

功能

  • 实验日志记录与可视化
  • 超参数扫描配置与执行
  • 工件版本控制与谱系跟踪
  • 表格和媒体日志记录(图像、音频、视频)
  • 团队协作功能
  • 报告生成与分享
  • 模型注册表集成
  • 自定义可视化仪表板

目标流程

  • 带实验跟踪的模型训练流水线
  • 实验规划与假设检验
  • 模型评估与验证框架

工具与库

  • Weights & Biases (wandb)

输入模式

{
  "type": "object",
  "required": ["action"],
  "properties": {
    "action": {
      "type": "string",
      "enum": ["init", "log", "sweep", "artifact", "alert", "report"],
      "description": "要执行的W&B操作"
    },
    "project": {
      "type": "string",
      "description": "W&B项目名称"
    },
    "runConfig": {
      "type": "object",
      "properties": {
        "name": { "type": "string" },
        "tags": { "type": "array", "items": { "type": "string" } },
        "notes": { "type": "string" },
        "config": { "type": "object" }
      }
    },
    "logData": {
      "type": "object",
      "properties": {
        "metrics": { "type": "object" },
        "step": { "type": "integer" },
        "commit": { "type": "boolean" }
      }
    },
    "sweepConfig": {
      "type": "object",
      "properties": {
        "method": { "type": "string", "enum": ["grid", "random", "bayes"] },
        "metric": { "type": "object" },
        "parameters": { "type": "object" }
      }
    },
    "artifactConfig": {
      "type": "object",
      "properties": {
        "name": { "type": "string" },
        "type": { "type": "string" },
        "path": { "type": "string" }
      }
    }
  }
}

输出模式

{
  "type": "object",
  "required": ["status", "action"],
  "properties": {
    "status": {
      "type": "string",
      "enum": ["success", "error"]
    },
    "action": {
      "type": "string"
    },
    "runId": {
      "type": "string"
    },
    "runUrl": {
      "type": "string"
    },
    "sweepId": {
      "type": "string"
    },
    "artifactId": {
      "type": "string"
    },
    "artifactUrl": {
      "type": "string"
    }
  }
}

使用示例

{
  kind: 'skill',
  title: '将训练指标记录到W&B',
  skill: {
    name: 'wandb-experiment-tracker',
    context: {
      action: 'log',
      project: 'ml-experiments',
      runConfig: {
        name: 'resnet-v1',
        tags: ['baseline', 'resnet'],
        config: { lr: 0.001, epochs: 100 }
      },
      logData: {
        metrics: { loss: 0.5, accuracy: 0.85 },
        step: 10
      }
    }
  }
}