Learn Before
Definition

Soft Prompting

Soft prompting is a technique used to adapt a pre-trained Large Language Model to specific tasks. It involves prepending a sequence of trainable vectors, called 'prompt embeddings' (e.g., p₀, p₁), to the user's input embeddings. Unlike discrete text prompts, these soft prompts are continuous vectors that are optimized directly via backpropagation to steer the model's output, often without altering the LLM's original weights.

Image 0

0

1

Updated 2025-10-07

Contributors are:

Who are from:

Tags

Ch.4 Alignment - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Related