[KongchangAI]
Concept少样本提示 / 少样本学习

Few-shot Prompting

A prompt engineering technique that includes a small number of examples (typically 2–10) within a prompt to guide a large language model in understanding the desired output format and style, thereby improving model performance on specific tasks.

Core Facts

Timeline (last 90 days)

Oct 11

Few-shot prompting does not modify model weights; it constrains the output distribution through context only at inference time, unlike fine-tuning in traditional machine learning.

Unverified50%
Sep 21

The essence of few-shot prompting is to temporarily activate the model's pattern-matching capability within the conversation, anchoring the target distribution in the attention mechanism through examples so that subsequent generation converges toward that distribution.

Unverified50%

All Facts (6)

Source Articles