LibreAI / Développement / LlamaFactory
// devtools · hiyouga/LlamaFactory

LlamaFactory

LlamaFactory est un projet de développement open source, créé par hiyouga (hiyouga/LlamaFactory sur GitHub). Il compte 75 362 étoiles sur GitHub et 9 239 forks, il est publié sous la licence Apache-2.0 et a été mis à jour pour la dernière fois sur GitHub le 28 septembre 2026.

Unified, efficient fine-tuning of 100+ LLMs and VLMs with a CLI and Web UI — ACL 2024

★ 75,4 k étoiles⑂ 9,2 k forksApache-2.0mis à jour sept. 2026
▦ visuel — le README de ce projet ne contient aucune capture intégrable,
voici donc un emplacement réservé. Le guide ci-dessous est complet malgré tout.
// détails du projet

Détails du projet

Étoiles GitHub
75 362
Forks
9 239
Licence
Apache-2.0
Dernière mise à jour sur GitHub
28 septembre 2026
Catégorie
Développement
Type de fiche
Guide d'installation complet
Site officiel
Official site
// fonctionnement

Comment ça marche

  1. Clarify your goal

    Decide what you want from LlamaFactory and check the README and requirements to confirm it fits your setup and Python environment.

  2. Get the code

    Clone the repository from GitHub (github.com/hiyouga/LlamaFactory) or use the documented install channel if you do not need the source.

  3. Install and configure

    Follow the README quickstart to install dependencies and set any required configuration or credentials.

  4. Run your first task

    Work through the README's first example end to end, then adapt it to your own project or data.

// fonctionnalités

Pourquoi on l'adore

100+ models

Fine-tune over 100 LLMs and vision-language models including Llama, Qwen, Gemma and DeepSeek families.

Many training methods

Supports pre-training, SFT, RLHF, LoRA, QLoRA and quantization workflows.

Zero-code Web UI

Llama Board GUI (Gradio) lets you configure and launch training without writing code.

Day-N model support

Actively adds new cutting-edge models as they are released.

Provided datasets

Ships curated datasets for instruction tuning and preference training.

Docker images

Official Docker images, including Ascend NPU variants, for reproducible training.

Advertisement
// lancez-le

Lancez-le vous-même

  1. Clone the repository

    Start by getting the source and entering the project directory.

    git clone https://github.com/hiyouga/LlamaFactory.git
    cd LlamaFactory
  2. Install from source

    Clone shallow and install in editable mode, per the README quickstart.

    git clone --depth 1 https://github.com/hiyouga/LlamaFactory.git
    cd LlamaFactory
    pip install -e .
  3. Launch the Web UI

    Start Llama Board to configure your first fine-tune in the browser.

    llamafactory-cli webui  # or: uv run llamafactory-cli webui
// cas d'usage

Ce que vous pouvez créer

Advertisement
// faq

Questions fréquentes

Who maintains LlamaFactory?

It is maintained by hiyouga and contributors on GitHub, where the repository github.com/hiyouga/LlamaFactory is the canonical home for code, issues and releases.

Is LlamaFactory free to use?

Yes — it is open source under the Apache-2.0 license. Read the license in the repository for what is permitted, including any conditions on redistribution or commercial use.

Does it need a paid API key?

No API key needed — training is local on your hardware; you need a suitable GPU for most models.

How does LlamaFactory compare to alternatives?

Compared with Hugging Face TRL alone: LlamaFactory unifies many models, methods and datasets behind one CLI and Web UI instead of wiring libraries together yourself.

How do I get started?

Clone github.com/hiyouga/LlamaFactory, follow the README quickstart to install it, and run the documented first example before adapting it to your own work.

// continuez l'exploration

Outils similaires

Développement

peft

Fine-tune huge models on small hardware with LoRA and other efficient methods

★ 21,8 k étoilesApache-2.0
Voir le guide →
Développement

evalscope

A streamlined framework for evaluating and benchmarking LLMs, VLMs and AIGC models.

★ 3,5 k étoilesApache-2.0
Voir le guide →
Développement

Chat2DB

A local-first database client with AI SQL help — 40+ databases, desktop, web, Docker and CLI

★ 28,3 k étoilesApache-2.0
Voir le guide →
Développement

ms-swift

Fine-tune and deploy 600+ LLMs and 300+ multimodal models with PEFT or full-parameter training.

★ 15,8 k étoilesApache-2.0
Voir le guide →
Développement

trafilatura

Trafilatura — a Python and CLI tool to crawl the web and extract clean text and metadata for corpora and RAG.

★ 6,9 k étoilesApache-2.0
Voir le guide →
Développement

ddgs

A Python metasearch library aggregating many web search services — plus CLI, API and MCP server

★ 3,0 k étoilesMIT
Voir le guide →
// alternatives

Alternatives en Développement

Les autres projets de la catégorie Développement avec le plus d'étoiles du catalogue LibreAI — la sélection réaliste d'alternatives si LlamaFactory ne vous convient pas.

// plus en devtools

Plus en Développement

Projets de la catégorie Développement proches dans le catalogue, les plus proches en étoiles de LlamaFactory — continuez à explorer de part et d'autre.

Obtenir LlamaFactory

Gratuit et ouvert : récupérez le code source, mettez une étoile au dépôt et commencez à créer.