MyClaw
HomeProductsUse CasesPricingSkillsResourcesCompany
HomeUse CasesPricingSkills
Sign In
Home
ProductsOpenClaw HostingHermes Agent Hosting
Use CasesPricingSkills
ResourcesCompareTutorialLearnBlogUpdatesResourcesCommunity
CompanyAboutSupport
Sign In
MyClaw.ai

Your AI agent, already running.

Product

OpenClaw HostingHermes Agent HostingUse CasesPricingCompareAlibaba Cloud

Resources

BlogUpdatesSkillsModelsSupportCommunityCapybara

Legal

TermsPrivacyCookieGDPRContact

© 2023 Cubo World Inc. All rights reserved.

← Back to Skills
AI & LLMs
🦎

Axolotl Fine-Tuning

Expert guidance for fine-tuning LLMs with Axolotl — YAML configs, LoRA/QLoRA, DPO/KTO/ORPO/GRPO, multimodal support, and 100+ model architectures.

by NousResearchv1.0.0
Connecting to VM...
Connecting to VM...
npx clawhub@latest install axolotl
1Current Installs
📦
v1.0.0Version
View Source

Axolotl Fine-Tuning Skill Overview

Axolotl Skill gives your AI assistant deep expertise in fine-tuning large language models using the Axolotl framework. It covers YAML-driven configuration, parameter-efficient methods like LoRA and QLoRA, alignment training strategies (DPO, KTO, ORPO, GRPO), and distributed training with FSDP and DeepSpeed. Install it when you want guided, accurate help throughout your fine-tuning workflow.

How to Use It

Step 1: Run in your terminal or install this skill on MyClaw

npx clawhub@latest install axolotl
or

Click the Install button at the top of this page for one-click setup

When to Use Axolotl Fine-Tuning

Best Fit

  • You are writing or debugging Axolotl YAML configs and want configuration-aware guidance
  • You are setting up LoRA, QLoRA, or full fine-tuning runs on Llama, Mistral, or other supported architectures
  • You are implementing preference alignment (DPO, KTO, ORPO, GRPO) and need help with dataset format and training setup
  • You are scaling to multi-GPU training with FSDP v2 or DeepSpeed and need help with parallelism settings

When Not to Use

  • You need a hosted fine-tuning API — Axolotl is a self-hosted, local training framework requiring your own GPU hardware
  • You are working with frameworks other than Axolotl (e.g. LLaMA-Factory, Unsloth) — skill content is Axolotl-specific
  • You want inference or deployment help without any training involved

Key Features

YAML Configuration Guidance

The skill covers Axolotl's full YAML config surface — model selection, dataset paths, training hyperparameters, and advanced options like save_compressed and context_parallel_size. Get accurate, config-aware answers without digging through docs.

LoRA and QLoRA Fine-Tuning

Get detailed help configuring LoRA adapters and quantized QLoRA setups via PEFT. The skill includes guidance on rank, alpha, target modules, and common pitfalls when combining quantization with adapter training.

Alignment Training Methods

Covers DPO, KTO, ORPO, and GRPO — including dataset format requirements, trainer configuration, and reward modeling considerations for each method.

Distributed Training Configuration

Includes FSDP v2 and DeepSpeed configuration patterns, context parallelism setup, and guidance on running NCCL tests to validate multi-GPU communication before launching large jobs.

Dataset Format Reference

Comprehensive coverage of Axolotl's supported dataset formats and prompt strategies, including RawInputOutputPrompter and batched vs. single-example data handling.

Multimodal Support

Guidance extends to multimodal (vision-language) model architectures supported by Axolotl, helping you configure training for models that handle both text and image inputs.

Use Cases

Fine-Tuning Llama with LoRA

Configure a LoRA adapter run on a Llama-family model — select target modules, set rank and alpha, and wire up your dataset in the YAML config with assistant guidance throughout.

DPO Preference Alignment

Set up a DPO training run from preference-labeled data: format the dataset correctly, configure the trainer, and tune hyperparameters with accurate, doc-grounded guidance.

Scaling to Multiple GPUs

Configure FSDP v2 with TRANSFORMER_BASED_WRAP and context parallelism, or set up DeepSpeed offloading — the skill covers the YAML fields and trade-offs for each approach.

Debugging Training Failures

Diagnose issues like sequence length overflow, data collation mismatches, or NCCL bottlenecks using patterns and utilities documented in the skill's reference files.

Requirements

  • Axolotl — installed in your Python environment (pip install axolotl)
  • PyTorch — compatible version for your CUDA/hardware stack
  • Transformers, Datasets, PEFT, Accelerate — standard HuggingFace stack
  • DeepSpeed (optional) — required for ZeRO-stage distributed training
  • Linux or macOS — Windows is not a supported platform
  • GPU hardware — CPU-only training is not practical for most fine-tuning workloads
Connecting to VM...
npx clawhub@latest install axolotl
1Current Installs
📦
v1.0.0Version
View Source

Reviews

0 reviews

Log in to write a review

No reviews yet. Be the first to share your experience!