Language models

From VectorSpaceLab/AREX-Skill · View interactive version

Language models is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Routes AXLearn GPT-family trainer catalogs, tokenizer variants, MoE configs, and flash-attention workflows.

How to use this skill

Skill file

language-models

Use this sub-skill for AXLearn's decoder-only language-model catalogs and related tokenizer/model-family helpers.

Typical triggers:

If the user is only asking about the shared trainer runtime, config_for_function, or fake-data smoke checks, use ../training-core/ first.

If the user is asking about cloud launch or GCP job execution, use ../cli-cloud/.

What to read

Families covered

Typical workflows

Inspect exported config names

Use the bundled helper to list the named trainer configs for a module and to inspect one resolved config:

python scripts/inspect_gpt_configs.py --module axlearn.experiments.text.gpt.gala --config 7B

Understand tokenizer wiring

The GPT helpers read tokenizer files from the configured data directory. When DATA_DIR=FAKE, they fall back to the packaged repository data under axlearn/data/tokenizers/.

Route around optional dependencies

Some GPT-family modules pull in extra MoE or flash-attention dependencies at import time. If the import fails, check references/troubleshooting.md before assuming the catalog is unavailable.

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.