LibreAI / 開発ツール / LlamaFactory
// devtools · hiyouga/LlamaFactory

LlamaFactory

LlamaFactoryは、hiyougaが公開しているオープンソースの開発ツールプロジェクトです(GitHub: hiyouga/LlamaFactory)。GitHubスターは75,362、フォークは9,239で、Apache-2.0ライセンスの下で公開されています。GitHubでの最終更新は2026年9月28日です。

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

★ 75.4k スター⑂ 9.2k フォークApache-2.0更新 2026年9月
▦ ビジュアル — このプロジェクトのREADMEには埋め込み可能なスクリーンショットがないため、
ここではプレースホルダーを表示しています。下のガイド自体は完全な内容です。
// プロジェクトの基本情報

プロジェクト基本情報

リポジトリ
hiyouga/LlamaFactory
GitHubスター
75,362
フォーク
9,239
ライセンス
Apache-2.0
GitHubでの最終更新
2026年9月28日
カテゴリ
開発ツール
掲載タイプ
完全なインストールガイド
公式サイト
Official site
// 仕組み

仕組み

  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.

// 機能

選ばれる理由

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
// 自分で実行

自分で実行してみる

  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
// 活用例

作れるもの

Advertisement
// よくある質問

よくある質問

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.

// さらに探索

似ているツール

開発ツール

peft

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

★ 21.8k スターApache-2.0
ガイドを見る →
開発ツール

evalscope

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

★ 3.5k スターApache-2.0
ガイドを見る →
開発ツール

Chat2DB

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

★ 28.3k スターApache-2.0
ガイドを見る →
開発ツール

ms-swift

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

★ 15.8k スターApache-2.0
ガイドを見る →
開発ツール

trafilatura

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

★ 6.9k スターApache-2.0
ガイドを見る →
開発ツール

ddgs

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

★ 3.0k スターMIT
ガイドを見る →
// 代替候補

代替候補: 開発ツール

LibreAIカタログに掲載された開発ツールプロジェクトの中で最もスターの多いもの — LlamaFactoryが合わなかった場合に検討したい、現実的な候補リストです。

// さらに見る devtools

さらに見る: 開発ツール

カタログの中でLlamaFactoryとスター数が近い開発ツールプロジェクト — 前後の棚もそのまま見て回れます。

LlamaFactoryを入手する

無料でオープン — ソースコードを入手して、リポジトリにスターを付け、作り始めましょう。