LoRA

Low-rank adaptation · id lora

Dostrajanie z użyciem adapterów o niskim rzędzie. Technika stosowana m.in. do modeli języka i obrazu.

Fine-tuning with low-rank adapters. Used for language and image models alike.

In one sentence

To dostrajanie modelu przez mały zestaw zmian dodawanych do jego dużych tabel ustawień.

This adapts a model using small updates added to its large parameter matrices.

Problem it solves

Pełne dostrajanie dużych tabel modelu zużywa zbyt dużo pamięci i wymaga przechowywania dużych zmian.

Adapting full parameter matrices uses too much memory and requires storing large updates.

What it does

Zmianę dużej tabeli opisuje iloczyn mniejszych tabel, a trening uczy tylko ten zwarty zapis zamiast wszystkich oryginalnych ustawień.

The update to a large matrix is represented by smaller matrices, and training learns this compact update rather than all original parameters.

Everyday example

Uczysz model pisać krótkie opisy sklepu i zapisujesz mały adapter, który można dołączyć do wspólnej wersji bazowej.

You teach a model to write brief shop descriptions and save a small adapter that attaches to the shared base version.

This concerns you if you…

Examples

Subtopics

Related topics

Sources