Skip to content
IJK

LoRA and the PEFT Library: Choosing Where Adapters Go

By IJK ·

What a Hugging Face post says LoRA is and what the PEFT library lets users select.

What LoRA is

Low-Rank Adaptation (LoRA) is one of the parameter-efficient fine-tuning techniques for large language models (LLMs). [1]

What the PEFT library provides

The PEFT library provides an easy abstraction that allows users to select the model layers where adapter weights should be applied. [2]

appliesLoRAone of the parameter-efficient fine-tuning techni...The PEFT librarylets users select the layers where adapter weight...
What do they each do?

Sources

  1. The Hugging Face source says: Low-Rank Adaptation (LoRA) is one of the parameter-efficient fine-tuning techniques for large language models (LLMs). Fine-Tuning Gemma Models in Hugging Face
  2. The Hugging Face source says: The PEFT library provides an easy abstraction that allows users to select the model layers where adapter weights should be applied. Fine-Tuning Gemma Models in Hugging Face

Editorial (AI-assisted; automatically checked, not human-reviewed). Each statement is linked to its source; check the source before relying on a detail.

  • lora
  • peft
  • fine tuning
  • hugging face