Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

LoRA

Definition

Low-Rank Adaptation: a fine-tuning method that freezes the model's weights and trains small added matrices instead, cutting memory needs.

In more detail

Because only a small fraction of parameters is trained, LoRA needs far less memory and produces small adapter files that can be swapped on top of the same base model.

LoRA freezes the base model and trains two small low-rank matrices per adapted layer, whose product is added to the original weights. The rank controls capacity: low ranks are often enough to teach format or style, while new knowledge is better added with retrieval. Adapters can be merged into the base weights for serving or kept separate so one server hosts several fine-tunes. Libraries such as PEFT, TRL, Unsloth and Axolotl all support it.

  • Fine-tuning

    Further training a pretrained model on task-specific examples to change its behaviour, format or style, rather than its general knowledge.

  • QLoRA

    LoRA fine-tuning applied to a base model loaded in 4-bit quantised form, cutting memory needs further so large models fit on one GPU.

  • Unsloth

    Faster, lower-memory LoRA and QLoRA fine-tuning for open models.

    Tool

  • Fine-tuning

    Further training a model on task-specific examples, and knowing when RAG is enough.

    SkillAdvanced

  • QLoRA

    LoRA fine-tuning applied to a base model loaded in 4-bit quantised form, cutting memory needs further so large models fit on one GPU.

    Glossary