Learn Before
Concept

Zero-Shot, One-Shot, and Few-Shot Learning Settings

In-context learning can be categorized into zero-shot, one-shot, and few-shot settings based on the number of task-specific input-output examples provided in the prompt. Zero-shot involves no examples, one-shot involves exactly one, and few-shot provides a few examples, all of which guide the Transformer decoder to perform tasks without any parameter updates.

Image 0

0

1

Updated 2026-05-15

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

D2L

Dive into Deep Learning @ D2L

Related