Concept

Prefix Fine-Tuning

Prefix fine-tuning is a parameter-efficient method that adapts Large Language Models by modifying their internal architecture. It involves prepending a sequence of trainable vectors, known as prefixes, to the input of each Transformer layer. While the original model parameters remain frozen, this technique requires architectural adjustments to accommodate the prefixes at every layer. These learned prefixes act as soft prompts, guiding the model's behavior for specific tasks.

0

1

Updated 2026-05-02

Tags

Data Science

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Related
Learn After