Axolotl
Config-driven toolkit for fine-tuning open models, from LoRA to full multi-GPU runs.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkWhat it is
Axolotl drives fine-tuning from a YAML config: pick a base model, dataset format and method (full, LoRA, QLoRA, preference tuning), and it handles the training loop, including multi-GPU setups.
One config file covers preprocessing, training, evaluation and quantisation. After installing, axolotl fetch examples downloads sample configs and axolotl train examples/llama-3/lora-1b.yml starts a LoRA run. Preference methods include DPO, KTO and ORPO, and it also supports GRPO. For more than one GPU it uses FSDP2 or DeepSpeed, and it runs multi-node through torchrun or Ray. It needs an NVIDIA or AMD GPU. It is Apache 2.0 licensed and collects telemetry unless you set AXOLOTL_DO_NOT_TRACK=1.
Best for
Repeatable fine-tuning runs defined in config files.
Skills it helps with
Related tools
Unsloth
Faster, lower-memory LoRA and QLoRA fine-tuning for open models.
TRL
Hugging Face's post-training library: supervised fine-tuning, DPO, GRPO and reward models.
MLX LM
Runs and fine-tunes LLMs on Apple silicon with MLX.
Hugging Face
Hub for models, datasets and Spaces, plus open-source ML libraries.
Modal
Serverless cloud for running Python on GPUs for inference, batch jobs and training.
Sentence Transformers
Python library for embedding and reranker models.