Advanced
Artificial Intelligence & Machine Learning
Q97 / 100
What is the difference between zero-shot, one-shot, and few-shot prompting?
Correct! Well done.
Incorrect.
The correct answer is B) Zero-shot: no examples in prompt. One-shot: one example. Few-shot: several examples. More examples generally improve performance by demonstrating the task format and expected output style
B
Correct Answer
Zero-shot: no examples in prompt. One-shot: one example. Few-shot: several examples. More examples generally improve performance by demonstrating the task format and expected output style
Explanation
Few-shot prompting (Brown et al., 2020): including k demonstrations in the prompt dramatically improves performance on novel tasks without weight updates. The LLM infers the task from examples via in-context learning.
Progress
97/100