What problem does it solve?
Parameter-efficient fine-tuning (PEFT) solves the problem of adapting large language models without the cost and GPU memory required for full fine-tuning.
Core Features & Use Cases
- LoRA/QLoRA training for memory efficiency: Train a small fraction of parameters (adapters) while keeping the base model largely frozen, with QLoRA adding 4-bit quantization for fitting much larger models.
- Multi-adapter workflows: Create multiple task-specific adapters, switch between them at inference time, or serve them in combination.
- Adapter lifecycle for deployment: Save adapters only during training, then merge adapters into the base model for simpler deployment and faster inference.
Use case example: You want to adapt a 70B instruction-tuned model to your domain on a single 24GB GPU; you use QLoRA to train adapters that fit locally, then deploy either as adapters (multi-variant serving) or by merging into a standalone model.
Quick Start
Use the PEFT/LoRA approach to fine-tune a 7B model on your instruction dataset while training only small low-rank adapter weights.