Axolotl

From VectorSpaceLab/AREX-Skill · View interactive version

Axolotl is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Routes agents working with Axolotl config-driven LLM fine-tuning, datasets, SFT, preference tuning, GRPO/EBFT, model adapters, distributed training, CLI operations, and troubleshooting.

How to use this skill

Skill file

Axolotl

Use this repo skill when the user asks about Axolotl, axolotl CLI commands, Axolotl YAML configs, LLM fine-tuning recipes, dataset/preprocess issues, LoRA/QLoRA, preference tuning, GRPO/EBFT, vLLM-assisted training, model architecture support, DeepSpeed/FSDP/Ray scaling, or Axolotl-specific troubleshooting.

Axolotl is config-driven: a single YAML config selects the base model, adapter/training method, datasets, preprocessing, launch/runtime settings, and output paths.

Start Here

  1. Identify the user’s primary task family before editing YAML.
  2. Read the nearest sub-skill route below, then only open deeper references as needed.
  3. Prefer safe static helpers first; run axolotl preprocess <config> --debug only in the user’s Axolotl environment when tokenizer/model access and runtime cost are acceptable.
  4. Treat bundled helper scripts as triage tools, not replacements for Axolotl’s installed config-schema, preprocess, or training runtime.
  5. Read references/repo-provenance.md before judging whether this skill matches a current Axolotl checkout.

Route By Task

| User task | Read |

| --- | --- |

| Write or debug YAML config structure, dataset columns, chat_template, prompt strategies, preprocessing, sample packing, or schema issues | data-and-configs |

| Build SFT, LoRA/QLoRA, full fine-tune, or continual pretraining recipes; diagnose SFT/pretraining loss, OOM, checkpoint, or resume issues | sft-and-pretraining |

| Configure DPO, IPO, KTO, ORPO, SimPO, reward model, process reward model, paired/unpaired preference data, or preference loss settings | preference-tuning |

| Configure GRPO, EBFT, custom reward functions, vLLM rollout servers, async online RL, NeMo Gym, or Hatchery reward hooks | rl-and-rewards |

| Choose base models, tokenizers/processors, chat templates, LoRA targets, QLoRA, quantization/QAT/PTQ, multimodal settings, architecture quirks, or new model support | model-loading-and-adapters |

| Configure DeepSpeed, FSDP, Ray, SLURM/multi-node, tensor/context/sequence/expert parallelism, precision, kernels, profiling, or performance troubleshooting | distributed-and-performance |

| Use axolotl commands, launchers, agent-docs, config-schema, fetch, inference, evaluate, merge-lora, vllm-serve, quantize, install checks, or command construction | cli-and-operations |

Common Entry Points

Cross-Cutting Helpers

Routing Notes

Refresh Guidance

Run refresh-repo-skill when the Axolotl commit, package version, CLI entry points, config schema, docs, examples, or training APIs have changed relative to references/repo-provenance.md.

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.