Vibeleaderboard
← All Intel
Intel / article

Lora

Source
thinkingmachines.ai
Author
Thinking Machines
Date

Context

adapts a model by training a small set of added parameters while leaving its original weights unchanged. Thinking Machines' experiments found that LoRA could match full on small-to-medium instruction and reasoning datasets, provided the adapter had enough capacity for the information in the data. Their supervised comparisons measured prediction loss (log loss) rather than sampling-based evaluations of application performance.

The setup mattered: adapters applied only to the layers underperformed adapters that covered the MLP layers, even with a matched number of trainable parameters. Datasets large enough to exceed an adapter's capacity made LoRA underperform, and in some settings large training batches imposed an additional penalty. The findings help explain when LoRA's efficiency can coexist with learning results close to full fine-tuning, and which settings change that comparison. Methods and findings.

Terms in this piece · Glossary
  • LoRA — A cheap way to fine-tune a model by training a small add-on layer instead of changing all of the model's weights.
  • fine-tuning — Taking a trained model and training it a bit more on your own examples so it gets better at one specific job.
  • attention — The mechanism that lets a model weigh which earlier words matter for the word it's currently processing — the core operation of a transformer.
Read the source thinkingmachines.ai
More from Thinking Machines
Recommended reads
Comments

Checking sign-in…

Loading comments…