ML Model and Foundation Model (FM) Development
Which prompt-engineering technique provides several example inputs and desired outputs in the prompt without changing model weights?
Show the answer
Correct answerD. Few-shot prompting
AWhy not this: Zero-shot prompting provides instructions without example demonstrations.
BWhy not this: Supervised fine-tuning updates model weights using labeled input-output examples.
CWhy not this: Continued pre-training updates model weights using additional training text.
DWhy this is right: Few-shot prompting supplies example inputs and outputs as inference-time context without updating weights.
Few-shot prompting demonstrates the desired behavior through examples included in the prompt. Supervised fine-tuning also uses input-output examples, but updates model weights instead of supplying examples only at inference time.