Zero-shot learning lets a model generalize to a completely unseen task without prior task-specific examples. GPT-like language models perform this through text completion, using the input to specify the task without retraining, fine-tuning, or architectural changes. section 1.4
Figure 1.6 In addition to text completion, GPT-like LLMs can solve various tasks based on their inputs without needing retraining, fine-tuning, or task-specific model architecture changes. Sometimes it is helpful to provide examples of the target within the input, which is known as a few-shot setting. However, GPT-like LLMs are also capable of carrying out tasks without a specific example, which is called zero-shot setting.
Contrasts zero-shot prompting with few-shot prompting: both express the target through input, but zero-shot prompting supplies no task-specific example. section 1.4
GPT-like models apply zero-shot learning to generative tasks such as:
- machine translation section 1.4
- text summarization section 1.4
- fiction writing and computer-code generation section 1.4









