Guide-linked quiz · Medium Level
QLoRA and 4-Bit Fine-Tuning Quiz
Review QLoRA’s frozen 4-bit base, trainable low-rank adapters, NF4, double quantization, paged optimizers, and temporary dequantization.
Question 1 of 8
What is the core memory-saving idea behind the '4-bit' part of QLoRA?
Preview every question8 questions
Answers and explanations appear as you take the quiz.
- What is the core memory-saving idea behind the '4-bit' part of QLoRA?
- It quantizes the frozen base model's weights down to 4 bits each
- It deletes 75% of the model's layers
- It trains the model in only 4 epochs
- It uses only 4 GPUs instead of many
- During QLoRA fine-tuning, which parameters actually get updated by gradient descent?
- All of the model's original weights
- Only the small low-rank LoRA adapter matrices
- The 4-bit quantization constants
- The tokenizer's vocabulary
- What is NF4 in the context of QLoRA?
- A 4-layer neural network
- A new optimizer algorithm
- A 4-bit data type optimized for normally distributed weights
- A 4-node GPU cluster format
- What problem do 'paged optimizers' in QLoRA address?
- Slow internet downloads of model files
- Incorrect tokenization
- Overfitting on small datasets
- Out-of-memory spikes during long sequences
- When are the 4-bit weights converted back to higher precision during training?
- Just-in-time during the matrix multiplication, then discarded
- They are never converted; math is done in 4 bits
- Only once at the very start of training
- Only after training completes
- What did the original QLoRA paper demonstrate about quality?
- 4-bit fine-tuning always beats full fine-tuning
- Fine-tuning a 65B model on one GPU could match full 16-bit fine-tuning quality
- Quantization makes models useless below 8 bits
- Only tiny models can be fine-tuned this way
- What does QLoRA’s double-quantization step compress?
- The tokenizer vocabulary
- The LoRA adapter rank
- The quantization constants used to represent the 4-bit weights
- The training examples’ text labels
- How can one QLoRA base model support multiple task-specific versions?
- They delete the optimizer state after every token
- They increase the base model from 4-bit to 32-bit
- They move all activations into the tokenizer
- Reuse the frozen 4-bit base and swap small trainable LoRA adapters for different tasks
Keep testing yourself
More quizzes picked for your level.