GH-300 · Question #22
What is zero-shot prompting?
The correct answer is C. Only giving GitHub Copilot a question as a prompt and no examples. Zero-shot prompting means providing only a question or instruction to the AI model - no examples of inputs/outputs, no demonstrations of the algorithm, and no sample data. The model must rely entirely on its pre-trained knowledge to respond. This contrasts with few-shot…
Question
What is zero-shot prompting?
Options
- AGiving as little context to GitHub Copilot as possible
- BTelling GitHub Copilot it needs to show only the correct answer
- COnly giving GitHub Copilot a question as a prompt and no examples
- DGiving GitHub Copilot examples of the problem you want to solve
- EGiving GitHub Copilot examples of the algorithm and outcome you want to use
How the community answered
(43 responses)- B2% (1)
- C93% (40)
- D5% (2)
Explanation
Zero-shot prompting means providing only a question or instruction to the AI model - no examples of inputs/outputs, no demonstrations of the algorithm, and no sample data. The model must rely entirely on its pre-trained knowledge to respond. This contrasts with few-shot prompting (giving a handful of examples) or one-shot prompting (giving exactly one example).
Topics
Community Discussion
No community discussion yet for this question.