Training recipes

From VectorSpaceLab/AREX-Skill · View interactive version

Training recipes is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Train and evaluate Asteroid recipes with System, datasets, losses, metrics, and schedulers.

How to use this skill

Skill file

Training recipes and evaluation

Use this sub-skill when the user wants to run, adapt, or debug an Asteroid recipe rather than apply a pretrained checkpoint.

Typical triggers

What to do first

  1. Identify the recipe family and the dataset/task.
  2. Decide whether the user needs:
  1. Check whether the recipe is CPU-friendly, GPU-friendly, or data-heavy.

Standard workflow

Recipe pattern to remember

Most recipes follow this flow:

  1. Parse YAML config into grouped arguments.
  2. Prepare dataset-specific files or manifests.
  3. Build train and validation dataloaders.
  4. Instantiate a model, optimizer, scheduler, and loss.
  5. Wrap them in System.
  6. Train with PyTorch Lightning.
  7. Evaluate on the test split.
  8. Save a publishable checkpoint and metrics.

Common decision points

Troubleshooting reminders

Inputs to inspect

Smoke sequence

  1. Build a tiny synthetic dataset or use a tiny fixture.
  2. Instantiate a small model and a compatible loss.
  3. Wrap them in System.
  4. Run a fast_dev_run Lightning fit.
  5. Confirm the metric or scheduler path that the user cares about.

What to avoid

Recipe signals to remember

Good questions to ask when unclear

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.