the.ai

Optimization / Regimes

verified

Prompt Tuning

Instead of changing a model to fit a task, prompt tuning changes what you put in front of it — but learns those tokens by gradient descent rather than writing them. A handful of trained vectors are prepended to the input and everything else stays frozen. One base model serves every task, each carrying a few thousand parameters of its own.

Viz primitive · budget-splittokens = 20

tokens holds 0% of the budget; rest holds the remaining 100%.

Trainable soft-prompt parameters against the frozen model beside them. Drag the prompt length to watch the trainable slice stay negligible.

20

Reviewed by opendroid · 2026-08-04