What problem does it solve? Fine-tuning large language models requires navigating complex training configurations, dataset formats, quantization methods, and distributed setups. This Skill provides expert guidance for LLaMA-Factory, covering everything from installation to deployment so you can fine-tune 100+ models without writing training code from scratch. ## Core Features & Use Cases - No-Code WebUI Fine-Tuning: Launch the Gradio-based WebUI to train, evaluate, chat with, and export models through a visual interface. - Multiple Training Methods: Supports pre-training, SFT, reward modeling, PPO, DPO, KTO, and ORPO with LoRA, QLoRA (2-8 bit), GaLore, BAdam, DoRA, and PiSSA. - Distributed & Accelerated Training: Configure DeepSpeed ZeRO, FSDP, DDP, FlashAttention-2, Unsloth, and Liger Kernel for multi-GPU and multi-node setups, including Ascend NPU support. - Use Case: Fine-tune Llama-3-8B on a custom Alpaca-format dataset with 4-bit QLoRA on a single GPU, then merge the adapter and export a GPTQ-quantized model for deployment. ## Quick Start Ask the assistant to show you how to fine-tune a Llama model with LoRA using LLaMA-Factory, including the YAML configuration and launch command.