What problem does it solve?
LLaMA-Factory streamlines the complex and error-prone process of fine-tuning large language models by providing a unified WebUI and CLI that support LoRA/QLoRA, quantization, adapter merging, multimodal inputs, and distributed or NPU training, reducing setup friction and operational overhead.
Core Features & Use Cases
- No-code WebUI & CLI: Launch training, evaluation, export, and inference workflows without deep engineering effort.
- Flexible Fine-tuning Methods: Supports LoRA, QLoRA in multiple bit widths (2/3/4/5/6/8-bit), full-parameter, freeze, and advanced adapters like LoRA+, PiSSA, DoRA.
- Production Deployment Workflows: Merge adapters, export quantized models for vLLM or transformers inference, and use distributed, DeepSpeed or FSDP training across GPUs and NPUs.
- Use Case: Quickly run a QLoRA experiment on a target model, monitor metrics with LlamaBoard or Wandb, merge the adapter into a deployable model, and export a quantized artifact for inference.
Quick Start
Use the LLaMA-Factory WebUI to run a QLoRA fine-tuning job for your chosen model and dataset.