English
Few-shot means giving a model a small number of examples of a task directly in the prompt so it can infer the pattern and apply it to a new case. It needs no retraining, just a handful of demonstrations included in the instruction text.
Few-shot means putting a handful of worked examples in the prompt so the model infers the pattern you want. It is often the cheapest large improvement available: no training run, no infrastructure, just a better-shaped request. The examples consume context and therefore cost tokens on every call, which is the trade against fine-tuning.
Three few-shot examples were enough to fix the output format.
العربية
التعلم بأمثلة قليلة يعني إعطاء النموذج عدداً صغيراً من الأمثلة على مهمة ما مباشرة داخل النص التوجيهي ليستنتج النمط ويطبّقه على حالة جديدة. لا يحتاج ذلك إلى إعادة تدريب، بل فقط بضعة أمثلة توضيحية ضمن نص التعليمة.
التعلم بأمثلةٍ قليلة أن تضع حفنةً من الأمثلة المحلولة في التوجيه ليستنتج النموذج النمط الذي تريده. وهو غالباً أرخص تحسينٍ كبيرٍ متاح: بلا جولة تدريب، وبلا بنيةٍ تحتية، بل بطلبٍ أحسن تشكيلاً. غير أن الأمثلة تستهلك السياق ومن ثم تكلّف توكناتٍ في كل نداء، وهذه هي المقايضة في مواجهة الضبط الدقيق.
كفت ثلاثة أمثلةٍ لتصحيح صيغة الخرج.
Also known as
- few-shot prompting
- few shot
- التعلم من أمثلة قليلة
- الفيو شوت
- أمثلة توضيحية قليلة
Also seen as, but not recommended
- التعلم بأمثلة محدودة
- قليل اللقطات
Why this form: «قليل اللقطات» is a literal rendering of 'shot' in its photographic sense, which is not the meaning here.
