What problem does it solve? Fine-tuning large language models requires navigating complex training configurations, quantization methods, and distributed setups. This Skill provides expert guidance from official LLaMA-Factory documentation to configure, train, evaluate, and deploy fine-tuned models without deep framework expertise. ## Core Features & Use Cases - Training Configuration Guidance: Covers supervised fine-tuning, pre-training, reward modeling, PPO, DPO, and KTO with LoRA, QLoRA (2-8 bit), GaLore, and BAdam methods. - WebUI No-Code Workflows: Explains zero-code fine-tuning, evaluation, chat, and model export through the Gradio-based WebUI. - Infrastructure Support: Details distributed training with DeepSpeed and FSDP, NPU (Ascend) setup, quantization (GPTQ, AWQ, bitsandbytes), and monitoring via TensorBoard, Wandb, and SwanLab. - Use Case: A developer wants to fine-tune Qwen on a custom Alpaca-format dataset using 4-bit QLoRA on a single GPU, then merge the adapter and export a quantized model for deployment. ## Quick Start Ask how to fine-tune a Llama model with LoRA on a custom dataset using LLaMA-Factory and receive the exact YAML configuration and CLI commands.