axolotl

Configure LoRA, DPO, and GRPO fine-tuning jobs via YAML files.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires axolotl, torch, transformers, datasets, peft, accelerate, deepspeed, and includes references (resource) components.

What problem does it solve?

This skill simplifies the complex process of fine-tuning Large Language Models by providing a standardized, configuration-driven approach to training, reducing the technical overhead of managing LoRA, DPO, and GRPO workflows.

Core Features & Use Cases

  • Unified Training Configs: Manage fine-tuning parameters, dataset formats, and model architectures through simple YAML files.
  • Advanced Training Methods: Support for LoRA, QLoRA, DPO, KTO, ORPO, and GRPO with built-in optimization kernels.
  • Use Case: Use this skill to configure and launch a fine-tuning job for a Llama-3 model on a custom instruction dataset, ensuring optimal memory usage with FSDP and flash attention.

Quick Start

Use the axolotl skill to generate a training configuration for a LoRA fine-tuning job on your dataset.

Frequently Asked Questions about axolotl

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

FAQPage Schema
How do I configure LoRA fine-tuning for a Llama-3 model on a custom dataset?

You can configure LoRA fine-tuning by creating a YAML file that specifies your Llama-3 model architecture, custom dataset format, and training parameters. This configuration-driven approach manages the entire workflow without requiring manual training script overhead.

What's the best way to run DPO and GRPO preference-based post-training for large language models?

The best way to run DPO and GRPO post-training is using a unified YAML configuration interface that supports preference-based training methods. This standardizes the workflow, allowing you to launch jobs efficiently while utilizing built-in optimization kernels.

Does this training method support high-performance distributed setups with DeepSpeed and FSDP?

Yes, this training method supports high-performance distributed setups using DeepSpeed and FSDP. It ensures optimal memory usage and processing efficiency by integrating custom Triton kernels and flash attention during the fine-tuning process.

Can I use QLoRA, KTO, and ORPO workflows alongside standard supervised fine-tuning?

Yes, you can use QLoRA, KTO, and ORPO workflows alongside standard supervised fine-tuning. The system supports these advanced training methods natively, allowing you to manage diverse dataset formats and model architectures through simple YAML configurations.

Why use a YAML-based configuration interface for LLM training instead of custom scripts?

Using a YAML-based configuration interface for LLM training reduces technical overhead by standardizing parameter management. It replaces complex custom scripts with a simplified format to control datasets, model architectures, and training methods, reducing setup errors.