15/31
Part 3 of 6 · Scale, count and placementLearn and do

The paper spread a fixed budget over more attention matrices

With a fixed budget of parameters, the next choice is where to spend them.

Where LoRA goesWqW_qWkW_kWvW_vWoW_oMLP upMLP down
LoRA paper, 2021yesnoyesnonono
QLoRA and lateryesyesyesyesyesyes

LoRA works on any weight matrix, so you choose where it goes. The paper chose narrowly. It adapted only the attention weights and froze the MLP, for simplicity and to save parameters.

Then it asked which attention matrices to adapt, under a fixed budget of 18M trainable parameters on GPT-3.

Predict

The same 18M budget, spent two ways. Which scored higher on WikiSQL: Wq alone at rank 8, or all four attention matrices at rank 2?

Pick an answer above to see the rest
Predict

The paper's rank study went further. What rank was enough on these datasets, with both Wq and Wv adapted?

Pick an answer above to see the rest
Predict

QLoRA tried adapting only the query and value projections on large models. Did that match full fine-tuning?

Pick an answer above to see the rest