flâneur

Low-Rank Adaptation of Large Language Models (LoRA)

huggingface.co · 919 words · saved by 1 readers

We’re on a journey to advance and democratize artificial intelligence through open source and open science.

This is experimental and the API may change in the future. LoRA (Low-Rank Adaptation of Large Language Models) is a popular and lightweight training technique that significantly reduces the number of trainable parameters. It works by inserting a smaller number of new weights into the model and only these are trained. This makes training with LoRA much faster, memory-efficient, and produces smaller model weights (a few hundred MBs), which are easier to store and share. LoRA can also be combined with other training techniques like DreamBooth to speedup training. LoRA is very versatile and…

related reading