Which statement best describes how LoRA affects trainable parameters?

Study for the Hugging Face Agent Certification. Prepare with interactive quizzes and multiple-choice questions, complete with explanations and hints. Ace your exam!

Multiple Choice

Which statement best describes how LoRA affects trainable parameters?

Explanation:
LoRA works by keeping the base model fixed and learning small, trainable adapter terms that modify the model’s behavior. Specifically, extra low-rank matrices are inserted into the weight updates (instead of changing the entire weight matrix), so the effective weight becomes W' = W + ΔW, with ΔW captured by two small matrices. Because only these adapter parameters are trained, the number of trainable parameters is much smaller than full fine-tuning. This is why the statement describing introducing extra parameters only in the adapter layers while the rest of the model is frozen is the best fit. The other options describe full fine-tuning, replacing the model, or removing adapters, which do not reflect how LoRA operates.

LoRA works by keeping the base model fixed and learning small, trainable adapter terms that modify the model’s behavior. Specifically, extra low-rank matrices are inserted into the weight updates (instead of changing the entire weight matrix), so the effective weight becomes W' = W + ΔW, with ΔW captured by two small matrices. Because only these adapter parameters are trained, the number of trainable parameters is much smaller than full fine-tuning. This is why the statement describing introducing extra parameters only in the adapter layers while the rest of the model is frozen is the best fit. The other options describe full fine-tuning, replacing the model, or removing adapters, which do not reflect how LoRA operates.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy