Define LoRA config We'll use LoRA for efficient fine-tuning. To do this, we use Unsloth's PEFT and specify:
– The model
– LoRA low-rank (r)
– Layers for fine-tuning (target_modules) Check this code
Unsloth LoRA Configuration Selects Rank and Target Modules
By
–
