LLaMA-Factory logo

LLaMA-Factory

LLaMA-Factory is an open-source framework for fine-tuning more than 100 large language models and vision-language models.

It offers a zero-code command line and a web interface called LLaMA Board built on Gradio. Supported training approaches include continuous pre-training, supervised fine-tuning, reward modeling, PPO, DPO, KTO and ORPO,…

LLaMA-Factory screenshot

LLaMA-Factory is an open-source framework for fine-tuning more than 100 large language models and vision-language models. It offers a zero-code command line and a web interface called LLaMA Board built on Gradio. Supported training approaches include continuous pre-training, supervised fine-tuning, reward modeling, PPO, DPO, KTO and ORPO, with efficiency options such as full 16-bit tuning, freeze-tuning, LoRA and 2 to 8-bit QLoRA. The project is free to use from GitHub and the README lists Amazon, NVIDIA and Aliyun among its users.

It is built for machine learning engineers, applied researchers, startup developers and students who want to adapt open models to their own data without writing a training loop. People comfortable with a terminal can drive it by configuration files, while those who prefer a browser can use LLaMA Board. Teams with GPU, Ascend NPU or AMD hardware can run it locally, and those without can follow the Colab and cloud notebooks linked in the repository. Familiarity with datasets and model licensing helps.

A company can fine-tune Qwen3 or Llama on internal support transcripts, then deploy the result behind an OpenAI-style API using vLLM or SGLang. Researchers compare methods such as DPO, KTO and ORPO on the same base model, tracking runs in TensorBoard, Wandb, MLflow or SwanLab. Multimodal teams train on image, video or audio tasks with vision-language models like Qwen3-VL. Developers with limited memory use QLoRA, GaLore or Unsloth acceleration to fit larger models on small GPUs, and Docker images help reproduce setups across machines. Models can be downloaded from ModelScope or Hugging Face hubs.

LLaMA-Factory alternatives

See all →

Frequently asked

6 questions
What does LLaMA-Factory do?
Over 100 large language and vision-language models can be fine-tuned using a command line or the LLaMA Board web UI. Supported methods include SFT, reward modeling, PPO, DPO, KTO and ORPO.
Who should use LLaMA-Factory?
ML engineers, researchers and developers who want to adapt open models to custom data. A zero-code CLI and GUI lower the barrier for newcomers.
How can I serve a model I fine-tuned with LLaMA-Factory?
Fine-tuned models can be deployed with an OpenAI-style API using a vLLM or SGLang worker. A Gradio UI and CLI chat are also available for testing.
Is LLaMA-Factory free?
Open source and hosted on GitHub, so the framework itself carries no license fee. Compute costs depend on the hardware or cloud service used, and cloud options include free Colab and free-trial notebooks.
What are the limitations of LLaMA-Factory?
Training needs capable GPU, NPU or cloud hardware and a working Python environment. Documentation is marked as work in progress in the README.
Which experiment trackers work with LLaMA-Factory?
LlamaBoard, TensorBoard, Wandb, MLflow and SwanLab are supported for monitoring runs. Docker builds and ModelScope or Modelers hub downloads are also covered.

Reviews (0)

Write review

No reviews yet. Be the first to share your experience.