Lattice
Skip to content

LLaMA-Factory

github.complatformself-hosted

LLaMA-Factory is a self-hosted platform in the Fine-tuning & Training layer of the AI stack. Unified interface for SFT, DPO and RLHF on open models.

By Lattice editorial · Facts verified · method

licence
Apache-2.0
language
Python
cost
free

Use LLaMA-Factory when

One interface for SFT, DPO and RLHF across open models.

Skip LLaMA-Factory when

You want a minimal, readable training script.

Produces the weights that layer 1 serves. — that is what this layer of the stack is answerable for. See the full Fine-tuning & Training section for the rest of the options.

Visit github.comCompare with another tool
Badge this entry
Lattice badge: LLaMA-Factory verified 2026-09
[![LLaMA-Factory on Lattice: verified 2026-09](https://lattice.kunjshah.in/fine-tuning/llama-factory/badge.svg)](https://lattice.kunjshah.in/fine-tuning/llama-factory)

Quick answers

Is LLaMA-Factory open source?
Yes. LLaMA-Factory is open source under the Apache-2.0 licence. It is free to use.
What are the alternatives to LLaMA-Factory?
The closest alternatives to LLaMA-Factory are Axolotl and TRL.

Reading on training

Alternatives to LLaMA-Factory

compare 2 →

Listed as an alternative to

  • Axolotl
  • TRL
  • torchtune

Also in training

  • Unsloth
  • Axolotl
  • PEFT
  • TRL
  • DeepSpeed
  • Megatron-LM
  • torchtune
  • Hugging Face TRL
  • Colab
  • Replicate
  • Weights & Biases Launch