In IBM watsonx, what does LoRA fine-tuning change?
- Exam domain
- Parameter-efficient fine-tuning: LoRA and InstructLab
- Difficulty
- Medium
- In this mock
- 5 questions on this domainPractise this domain
Why D is the answer
The weights of low-rank adapters, while the base model weights stay unchanged
IBM describes LoRA as changing the weights of low-rank adapters, a representative subset of parameters, instead of the base model. At inference the adapter weights are added to the base weights.
Remember: LoRA trains adapters only.
In detail
- Train adapters.
- Base stays frozen.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. The tokenizer vocabulary, so new words can be added to the modelWrong
LoRA does not change the tokenizer.
B. Every weight of the base modelWrong
Changing every weight is full fine-tuning.
C. Only the prompt textWrong
Editing prompt text is prompt engineering.
D. The weights of low-rank adapters, while the base model weights stay unchangedRight
LoRA trains adapters only.
Use case
An illustrative scenario, not a real incident.
Illustrative: a legal team keeps one base model and swaps in a LoRA adapter tuned on contract clauses.
See it in different ways
mindmap
root(("LoRA"))
n1["Trains"]
n2["Low-rank adapters"]
n3["Keeps"]
n4["Base weights"]
n5["At inference"]
n6["Adapters added to base"]How to read this chart
- The centre is "LoRA".
- "Trains" covers "Low-rank adapters".
- "Keeps" covers "Base weights".
- "At inference" covers "Adapters added to base".
flowchart LR S0["Freeze the base"] --> S1["Train adapters"] --> S2["Add adapters at inference"]
How to read this chart
- Read it in order: Freeze the base, then Train adapters, then Add adapters at inference.