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 pageshowhide
explore
- Supervised Fine-Tuning5 questions
- PEFT and LoRA6 questions
- Learned Soft Prompts6 questions
- Dataset Curation5 questions
- Training Hyperparameters4 questions
- Evaluation and Overfitting5 questions
- Fine-tune vs Prompting5 questions
questions
page 2 of 2When would you still run full-parameter SFT instead of an adapter-based one?
basics
~20 sRarely, 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.
When does a fine-tune's maintenance bill outweigh the quality it buys?
basics
~20 sA 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.
In prompt tuning, how do you choose the number of virtual tokens, and when does text or random initialization matter?
basics
~20 sTreat 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.
Why does packing several SFT examples into one sequence risk cross-example contamination?
basics
~20 sPacking 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.
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?
basics
~20 sPublished 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.
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?
basics
~20 sNo 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.
showing 31–36 of 36