axolotl

Generate Axolotl YAML configurations for LoRA/QLoRA and preference-based training.

Updated May 15, 2026
One-click install
npx skills add https://github.com/cabezno/bmb-encover-agent --skill axolotl-cabezno
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axolotl
Source: https://github.com/cabezno/bmb-encover-agent/tree/main/skills/mlops/training/axolotl
Command: npx skills add https://github.com/cabezno/bmb-encover-agent --skill axolotl-cabezno

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Axolotl-fine-tuning YAML configs can be complex and easy to misconfigure, causing slow training, incorrect masking, or inefficient multi-GPU behavior; this Skill streamlines building and troubleshooting Axolotl training setups.

Core Features & Use Cases

  • YAML Fine-tuning Guidance: Provides guidance for writing Axolotl YAML configurations for common LLM training and adaptation workflows.
  • Training Method Coverage: Supports LoRA/QLoRA and preference/RL-style recipes including DPO, KTO, ORPO, and GRPO.
  • Multi-GPU & Performance Knobs: Covers practical configuration details such as FSDP settings, context parallelism, distributed batching behavior, and compressed checkpoint saving.
  • Debugging & Best Practices: Includes extracted quick-reference patterns for common configuration mistakes and optimization steps.
  • Example-Driven Learning: Supplies targeted examples and reference pointers for API and dataset format specifics.

Quick Start

Use the axolotl skill to generate an Axolotl YAML configuration for LoRA fine-tuning with DPO for your chosen dataset format and then validate critical performance settings like FSDP or context parallelism.

Frequently Asked Questions about axolotl

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure an Axolotl YAML file for LoRA fine-tuning?

To configure LoRA fine-tuning in an Axolotl YAML file, you define specific dataset mappings and LoRA parameters. This skill generates correct YAML configurations to prevent incorrect masking and ensure efficient training runs.

What is the best way to set up multi-GPU training with FSDP in Axolotl?

Setting up multi-GPU training with FSDP in Axolotl requires adjusting specific performance knobs in your YAML config. This skill provides guidance on FSDP settings, context parallelism, and distributed batching to prevent inefficient scaling.

Can I use Axolotl for DPO and other preference-based LLM training?

Yes, you can use Axolotl for DPO and other preference-based LLM training workflows. This skill supports building YAML recipes for SFT as well as DPO, KTO, ORPO, and GRPO preference training methods.

Why does my LLM fine-tuning run fail due to incorrect dataset masking?

LLM fine-tuning runs fail due to incorrect dataset masking from misconfigured Axolotl YAML settings. This skill applies documentation-derived guidance to correctly reference dataset and API specifics, preventing masking errors.

How do I debug and optimize slow LLM training performance in Axolotl?

To debug slow LLM training performance in Axolotl, you adjust FSDP settings, context parallelism, and compressed checkpoint saving. This skill provides quick-reference patterns for common configuration mistakes and optimization steps.