Skip to content
Generative AI

When do few-shot examples beat zero-shot prompting?

When the output format or labelling rule is easier to show than to describe: examples let the model infer the pattern in context, with no weight updates. They cost tokens on every call and can bias style, so add them where an eval shows a gain.

datasciencetrivia.com

Card 1 of 213. Answer: When the output format or labelling rule is easier to show than to describe: examples let the model infer the pattern in context, with no weight updates. They cost tokens on every call and can bias style, so add them where an eval shows a gain.

Created by santiviquez

About · To suggest new questions or report an error send me a dm.

All questions