Model Fine-tuning
LoRA, QLoRA, PEFT - customize models for your use cases.
Course Duration: 8 hours
What You'll Learn
- Fine-tuning strategies
- LoRA and QLoRA
- PEFT methods
- Dataset preparation
- Training and evaluation
- Deployment of fine-tuned models
Prerequisites
- LLM understanding
- Python and PyTorch
Course Modules
- Introduction to Fine-tuning
- Full Fine-tuning vs PEFT
- LoRA (Low-Rank Adaptation)
- QLoRA (Quantized LoRA)
- Dataset Preparation
- Training Configuration
- Hyperparameter Tuning
- Evaluation Metrics
- Model Merging
- GGUF and Quantization
- Deploying Fine-tuned Models
- Project: Custom Chatbot
Tools Covered
- HuggingFace Transformers
- PEFT library
- bitsandbytes
- Axolotl
- Unsloth