QLoRA's NF4: Optimized 4-bit Quantization for Fine-tuning

QLoRA achieves high-accuracy, memory-efficient LLM fine-tuning by quantizing the base model to 4-bit NormalFloat (NF4). NF4 is a data type specifically designed with non-uniform quantization bins that are denser around zero, matching the normal distribution of LLM weights, thus capturing more precision than uniform quantization.

Sources

Open the full topic