axolotl

Fine-tune large language models with Axolotl using YAML configurations and LoRA/QLoRA.

1|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/bailynlove/STARK-TOWER --skill axolotl-bailynlove
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axolotl
Source: https://github.com/bailynlove/STARK-TOWER/tree/main/opencrew/skills/mlops/training/axolotl
Command: npx skills add https://github.com/bailynlove/STARK-TOWER --skill axolotl-bailynlove

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill solves the problem of fine-tuning large language models (LLMs) by providing expert guidance, configuration options, and automation tools for the Axolotl framework.

Core Features & Use Cases

  • Fine-Tuning Guidance: Offers YAML configuration, 100+ model configurations, LoRA/QLoRA, DPO/KTO/ORPO/GRPO support, and multimodal functionality.
  • Automation: Executes scripts for deterministic tasks, reads references for in-depth information, and uses assets for document storage.
  • Use Case: Fine-tune a language model with Axolotl, using the provided YAML configurations and 100+ model options to customize your training process.

Quick Start

Use the axolotl skill to fine-tune a LLM with the following configuration: axolotl train --config path/to/config.yaml

Frequently Asked Questions about axolotl

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

FAQPage Schema
How do I fine-tune a large language model using YAML configuration?

To fine-tune a large language model, you can use a YAML configuration file to define training parameters and execute the process via command line. This approach supports 100+ model configurations and automates the training setup.

Can I use LoRA and QLoRA for parameter-efficient LLM training?

Yes, LoRA and QLoRA are supported for parameter-efficient LLM training. These advanced techniques allow you to fine-tune large models by training a smaller number of parameters, reducing computational overhead.

What machine learning dependencies do I need to set up model training?

You need axolotl, torch, transformers, datasets, peft, accelerate, and deepspeed installed to set up model training. These dependencies provide the foundational framework for data processing and distributed training.

Does this fine-tuning approach support DPO, KTO, ORPO, and GRPO?

Yes, this fine-tuning approach supports DPO, KTO, ORPO, and GRPO techniques. These methods provide various optimization strategies for aligning large language models with specific preferences and training objectives.

What is the best way to configure multimodal functionality for LLMs?

The best way to configure multimodal functionality is through YAML configuration files tailored for your specific model. This allows you to customize the training process for models handling multiple data types.

Why does my LLM training script require deepspeed and accelerate?

Your LLM training script requires deepspeed and accelerate to manage distributed training and memory optimization. These libraries enable the efficient handling of large models across multiple GPUs during fine-tuning.