التاليالدليل التالي
التدريب على التنبؤ بالرموز المتعددة
لغة الذكاء الاصطناعي
دليل اللغة AI
Next-token prediction trains a causal language model to estimate the next token from a preceding context.
استمع إلى هذا الدليلرواه الذكاء الاصطناعي · ~1 min
Generation repeats that step, appending each selected token to the context.
The Transformer decoder architecture uses masked self-attention to prevent positions from reading future tokens. GPT-style language models train with a next-token objective over text sequences. At inference, a decoding rule selects a token from the predicted distribution and appends it to the context. Reported capabilities depend on model scale, training data, evaluation and prompting; the cited GPT papers do not guarantee correct output for every task.
A decoder predicts one token distribution conditioned on preceding tokens.
A causal attention mask prevents access to future positions during training.
Teacher forcing uses ground-truth prefixes in training, while generation feeds prior model outputs.
The GPT-2 paper evaluates next-token language modeling and zero-shot task behavior under its model and data conditions.
Evaluate language models on the target task and track error accumulation across long generations. Keep decoding settings and prompt format fixed when comparing results. The cited research does not establish factual reliability or broad product performance from next-token loss alone.
رسالة إخبارية مجانية
ثلاث قصص تم التحقق منها بواسطة الذكاء الاصطناعي كل صباح من أيام الأسبوع، مكتوبة باللغة الإنجليزية البسيطة. مجاني للأبد، بدون إعلانات.
بريد إلكتروني واحد كل يوم من أيام الأسبوع. إلغاء الاشتراك بنقرة واحدة. نحن لا نبيع أو نشارك عنوانك أبدًا.
اختبر نفسك
تعليقات فورية على كل إجابة، وشهادة قابلة للمشاركة مع معرف يمكن التحقق منه بمجرد اجتياز الدورة التدريبية.
دعم تعليم الذكاء الاصطناعي المجاني. AI Understanding هي منظمة 501(c)(3) غير ربحية - لا إعلانات ولا نظام حظر الاشتراك غير المدفوع على الإطلاق. قم بالتبرع
Next-token prediction trains a causal language model to estimate the next token from a preceding context. Generation repeats that step, appending each selected token to the context.
ينتج النموذج احتمالًا لكل رمز مميز تالي محتمل، ثم يتم تحديد واحد عن طريق أخذ العينات أو الاختيار الجشع.
يضمن الإخفاء السببي أن الموضع N يمكنه رؤية المواضع التي قبله فقط، مع الحفاظ على إعداد التنبؤ من اليسار إلى اليمين.
يُنتج إنشاء الانحدار التلقائي رمزًا مميزًا واحدًا، ويضيفه إلى السياق، ويكرر الحلقة.
يعاقب الإنتروبيا المتقاطعة النموذج لتعيين احتمالية منخفضة للرمز الحقيقي التالي، أي ما يعادل تعظيم الاحتمالية.
تؤدي درجات الحرارة المرتفعة إلى تسطيح التوزيع الاحتمالي، مما يزيد من العشوائية؛ انخفاض درجة الحرارة يجعل الخيارات أكثر تحفظا.
استمر في التعلم
تم اختيار المزيد من الأدلة لهذا الموضوع
التاليالدليل التالي
التدريب على التنبؤ بالرموز المتعددة
لغة الذكاء الاصطناعي