Training core

From VectorSpaceLab/AREX-Skill · View interactive version

Training core is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Routes AXLearn trainer configs, fake-data smoke checks, launcher usage, and tokenizer setup.

How to use this skill

Skill file

training-core

Use this sub-skill for AXLearn's shared training machinery:

If the task names GPT/Fuji/Gala/Honeycrisp/Qwen/MoE, jump to ../language-models/.

If the task names ImageNet/ResNet/vision models, jump to ../vision-workflows/.

If the task names ASR/Conformer/LibriSpeech, jump to ../audio-asr/.

If the task names axlearn gcp ..., jump to ../cli-cloud/.

What to read

Typical workflows

Inspect a trainer config

Use this when you want to see what a named trainer config resolves to without launching a long run:

python scripts/inspect_trainer_config.py --module axlearn.experiments.logistic_regression.tutorial --config LogisticRegression

Run a CPU-safe tutorial smoke check

The logistic-regression tutorial is the best small local probe because it uses synthetic data and a short config path:

DATA_DIR=FAKE python -m axlearn.common.launch_trainer_main \
  --module=axlearn.experiments.logistic_regression.tutorial \
  --config=LogisticRegression \
  --trainer_dir=/tmp/axlearn-logreg \
  --data_dir=FAKE \
  --jax_backend=cpu

Inspect launcher helpers

When debugging launcher behavior, check the shared trainer entrypoints rather than the experiment module first:

SentencePiece training

Use this sub-skill for tokenizer setup when the user is creating or validating a sentencepiece model. The command is CPU-oriented and can be memory-hungry, so treat it as a setup workflow, not a quick unit test.

Decision points

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.