skip to content

Fine-tuning

Training instead of rewriting the prompt: supervised fine-tuning, adapters and learned soft prompts, and their data. Interviewers want the decision, not the training loop.

on this pageshow

explore

questions

page 2 of 2

When would you still run full-parameter SFT instead of an adapter-based one?

level: principalimportance: should knowfreq 40%

basics

~20 s

Rarely, as of mid-2026: a well-configured adapter matches full fine-tuning on typical SFT data at a fraction of the compute. Full-parameter updates earn their cost only when the data volume exceeds adapter capacity or the target behaviour is a large distribution shift.

open as a page

When does a fine-tune's maintenance bill outweigh the quality it buys?

level: principalimportance: should knowfreq 42%

basics

~20 s

A fine-tune is a standing obligation: dataset, eval suite, serving path, and a retrain decision every time a stronger base model ships. It stops paying when the requirement moves faster than you can retrain, or when prompting the current base already matches it.

open as a page

In prompt tuning, how do you choose the number of virtual tokens, and when does text or random initialization matter?

level: middleimportance: nice to knowfreq 18%

basics

~20 s

Treat token count as a dev-set choice, because the best length varied by task and model size. Initialization mattered mostly on smaller models and small datasets, where published runs saw random starts lag real-word starts.

open as a page

Why does packing several SFT examples into one sequence risk cross-example contamination?

level: seniorimportance: nice to knowfreq 32%

basics

~20 s

Packing concatenates unrelated examples into one full-length sequence to avoid padding waste. Without boundary-aware attention masking and position resets, tokens of the third example attend to the first, so the model learns to condition answers on irrelevant preceding text.

open as a page

An input-only learned soft prompt on a 350-million-parameter model extracts entities far below a full fine-tune on held-out data: why, and what do you try next?

level: seniorimportance: nice to knowfreq 15%

basics

~20 s

Published results show this pattern: input-only vectors have limited capacity and indirect reach, so mid-sized models and token-level tasks suffer most. Check the failures, try a longer prompt, then vectors at every layer, and re-measure against an adapter.

open as a page

Would you standardise learned soft prompts, low-rank adapters or written prompts as the per-task artifact for a dozen narrow tasks on a self-hosted model?

level: principalimportance: nice to knowfreq 12%

basics

~20 s

No single answer: written prompts are a sound default while they clear the bar, because they are readable and need no training. Among trained artifacts, run a measured comparison. Soft prompts suit many simple tasks on a large shared model.

open as a page

showing 31–36 of 36