AI and models · Independent · 19 Oct 2026

hiyouga/LlamaFactory

Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)

← AI and models
LlamaFactory: fine-tune 100+ LLMs. Unified training for open language models.

In simple English

This tool helps you teach an artificial intelligence new information or a specific way of talking. It works with many popular large language models. You do not need to write complex Python code to use it. You can run it through a standard terminal command or use a web page with buttons. It saves you days of setup work when you want to customize your own model.

What it is

A Python framework (a collection of code libraries that give developers a foundation to build on) that unifies fine-tuning for more than one hundred large language models. It provides both a command-line interface (a way to control a program by typing text commands) and a graphical web interface.

What it is good for

Solo builders who want to adapt an open-source language model to understand their own business data or speak in a specific style without writing custom training scripts.

Stars76k
LicenceApache-2.0
Latestv0.9.5 (2026-05-30)checked 19 Oct 2026
Last code change2026-10-10
Written inPython
Setup effort
3 / 5
Payoff
5 / 5
Good
  • Supports over one hundred different text and vision models out of the box.
  • Includes a built-in web page so you can configure training without writing code.
  • Offers memory-saving options like QLoRA to train large models on modest graphics cards.
Watch for
  • Requires an advanced graphics card with several gigabytes of memory to train anything larger than small models.
  • Setting up the correct Python environment and dependencies can take patience for non-programmers.
  • Training large models takes significant time and electricity.
Replaces

Writing custom PyTorch training loops from scratch

Works well with

vLLM

Similar repositories
  • unslothai/unsloth78k stars

    Focuses on fast and memory-efficient fine-tuning specifically for popular open models.

  • axolotl-ai-cloud/axolotl13k stars

    A popular configuration-driven tool for fine-tuned language models with YAML files.

Also reviewed on Repo Radar
  • mudler/LocalAI50k stars

    Serves text, vision, speech, image and video models from one self-hosted service that imitates the paid interfaces.

  • janhq/jan45k stars

    Downloads and runs language models entirely offline as a desktop application, and opens a local server other programs can use.

  • Mintplex-Labs/anything-llm67k stars

    One program that reads your documents and answers questions about them, with the model running locally if you want.

Install
git clone --depth 1 https://github.com/hiyouga/LlamaFactory.git
cd LlamaFactory
pip install -e .
pip install -r requirements/metrics.txt

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.