Configuration
LoRA rank
16
Higher rank = more capacity, more parameters.
16 is the canonical default; 4–8 for narrow tasks, 32–64 when LoRA underfits.
Base model precision
4-bit (QLoRA)
4-bit (NF4) is the QLoRA default. LoRA adapters always stay in fp16/bf16 regardless of base.
Target modules
All-attention + all-MLP is the canonical "apply to everything" setup. Attention-only is leaner but underperforms on most tasks.
Batch size
4
Sequence length
2048
Trainable parameters
—
Total VRAM needed
—
Memory breakdown
Hardware fit