Cyber Monday Sale30% OFFApplied automatically. Ends Fri Dec 4.

Claim nowClaim nowApplied automatically. Ends Fri Dec 4.New

The Google AI Studio Specialization. Build 12 real apps, no code needed.

Enroll nowEnroll now

N-Shot Prompting (Zero-Shot, One-Shot, Few-Shot, etc)

Last updated on November 12, 2024

This family of terms refers to the number of examples used to prompt a model. For example, Zero-Shot Prompting is when a model is prompted with no examples, and Few-Shot Prompting is when a model is prompted with a few examples. Prompting a model with a few examples can be a good way to improve performance on a task without needing to fine-tune the model.