Skip to content

Few-shot prompting

No editor has reviewed this definition yet, and search engines are not shown it until it is reviewed.

Putting two to five examples of an input and its output in the prompt, so the model follows the same pattern. Varied, correct examples teach more than long instructions.

In Arabic

التعلّم بالأمثلة القليلة

أن تضع في البرومبت مثالين إلى خمسة أمثلة لمدخل ومخرجه، فيتبع النموذج النمط نفسه. الأمثلة المتنوعة والصحيحة تعلّم أكثر من التعليمات الطويلة.

Also known as: few-shot، few-shot learning، few-shot examples

See also

All terms