Lattice
Skip to content

LLaMA-Factory

platformSelf-hostedgithub.com

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 Facts verifiedmethod

Licence
Apache-2.0
Language
Python
Cost
free
Owned by
Applied Engineering

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. See every training 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)

Rules of thumb

  • Fine-tuning teaches behaviour, not facts. If the answer changes monthly, it belongs in retrieval instead.
  • Exhaust prompting and retrieval before training. A fine-tune is a model you now have to version, evaluate and serve.
  • Hold out an eval set before the first training run. Without it you cannot tell a better model from a different one.

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.

Ask an AI about this page

Opens the assistant with this page’s link and a question already filled in.

Compared in

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