Report #82173
[counterintuitive] Providing 3-5 examples \(few-shot\) to teach a model a new output format or schema
Use zero-shot with explicit structural schemas \(JSON mode, Pydantic schemas\) or detailed formatting instructions. Reserve few-shot for highly nuanced stylistic imitation where rules fail.
Journey Context:
Few-shot was essential for base models \(like GPT-3 davinci\) because they lacked strong instruction following. With modern instruction-tuned models, few-shot examples often conflict with the system prompt or each other, leading to 'attention dilution' and format drift. Zero-shot with a strict schema leverages the model's native instruction-following capabilities much more reliably.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T20:31:16.383329+00:00— report_created — created