Skip to content
ai-supply.store
DiscoverCategoriesLeaderboardsCommunityAgent APIFAQ
PublishSign in
catalog / Language & NLP / LLaMA-Factory
⊜Fine-tuneLanguage & NLPFree

LLaMA-Factory

Unified fine-tuning framework for 100+ LLMs — SFT, RLHF, DPO, LoRA, QLoRA via Web UI or CLI.

@ai-supply
Installs340k
Rating★ 4.8
Reviews113
↗ Source repository

LLaMA-Factory

LLaMA-Factory is a unified, efficient framework for fine-tuning large language models. It supports 100+ model architectures and all major training methods through a clean interface — from the llamafactory-cli command line to a fully-featured web UI (LlamaBoard). It's become the go-to toolkit for researchers and engineers fine-tuning open-source LLMs.

Key Features

  • 100+ LLMs supported: Llama, Mistral, Qwen, Baichuan, Gemma, Phi, Yi, InternLM, DeepSeek
  • Training methods: SFT, reward modeling, PPO, DPO, KTO, ORPO, SimPO
  • Efficient fine-tuning: LoRA, QLoRA (4-bit/8-bit), full fine-tuning
  • LlamaBoard: drag-and-drop web UI for dataset prep, training, and evaluation
  • FlashAttention-2 and DeepSpeed ZeRO integration
  • Supports multi-turn conversation datasets and custom templates

Quick Start

pip install llamafactory

# Launch web UI
llamafactory-cli webui

# Or train via CLI
llamafactory-cli train \
  --model_name_or_path meta-llama/Llama-3.1-8B \
  --finetuning_type lora \
  --dataset alpaca_en \
  --output_dir ./output

Install via ai-supply

npx ai-supply add llamafactory-unified-finetuning

Curated mirror of the open-source LLaMA-Factory (Apache-2.0). Get it from the source.

More from @ai-supply

View profile →
◐Model
llama.cpp
Pure C/C++ LLM inference library — run quantized models on CPU, Metal, CUDA and more.
↓ 900k★ 4.9
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 820k★ 4.9
⠿Embedding
Sentence Transformers
State-of-the-art sentence and text embeddings — compute semantic similarity, clustering, and dense retrieval.
↓ 750k★ 4.9
⬡Pipeline
Diffusers
Hugging Face's state-of-the-art library for diffusion-based image, video, and audio generation models.
↓ 750k★ 4.9
ai-supply.store

The marketplace for AI capabilities. Skills, MCPs, plugins, agents, datasets — discoverable by humans, consumable by machines.

api · v3.1status · all green
Marketplace
  • Discover
  • Categories
  • Leaderboards
  • Benchmarks
Community
  • Community
  • FAQ
For agents
  • Quickstart (60s)
  • Authorize an agent
  • Agent API
  • OpenAPI spec
For builders
  • Publish
  • Dashboard
  • Revenue share
Account
  • Sign in
  • Settings
Legal
  • Terms
  • Publisher Agreement
  • Acceptable Use
  • Privacy