التاليالدليل التالي
بحث الشعاع الموجه مع القيود
لغة الذكاء الاصطناعي
دليل اللغة AI
Beam search is a decoding algorithm that retains a fixed number of high-scoring partial sequences at each step.
استمع إلى هذا الدليلرواه الذكاء الاصطناعي · ~2 min
It is used in sequence generation tasks, with results shaped by model scores and any normalization or penalties.
At each decoding step, beam search expands the current partial candidates and retains the top-scoring continuations. A wider beam explores more options but increases search cost and does not necessarily improve perceived quality. GNMT uses length normalization to mitigate short-output bias and a coverage penalty to encourage source-word coverage in translation. Diverse beam search modifies group selection to reduce redundant candidates.
A beam of width k keeps up to k partial sequences rather than only one greedy continuation.
GNMT used length normalization and a coverage penalty in its translation system.
Diverse beam search adds a penalty to reduce overlap among candidate sequences from beam groups.
For open-ended text, compare beam outputs with sampling because likelihood-ranked outputs can be repetitive or bland in the evaluated settings.
Select decoding criteria for the task and measure both search cost and output quality. For translation, report source coverage and reference-based metrics; for open-ended generation, include human evaluation where appropriate. The cited sources describe particular methods and experiments rather than a single universally best beam configuration.
رسالة إخبارية مجانية
ثلاث قصص تم التحقق منها بواسطة الذكاء الاصطناعي كل صباح من أيام الأسبوع، مكتوبة باللغة الإنجليزية البسيطة. مجاني للأبد، بدون إعلانات.
بريد إلكتروني واحد كل يوم من أيام الأسبوع. إلغاء الاشتراك بنقرة واحدة. نحن لا نبيع أو نشارك عنوانك أبدًا.
اختبر نفسك
تعليقات فورية على كل إجابة، وشهادة قابلة للمشاركة مع معرف يمكن التحقق منه بمجرد اجتياز الدورة التدريبية.
دعم تعليم الذكاء الاصطناعي المجاني. AI Understanding هي منظمة 501(c)(3) غير ربحية - لا إعلانات ولا نظام حظر الاشتراك غير المدفوع على الإطلاق. قم بالتبرع
Beam search is a decoding algorithm that retains a fixed number of high-scoring partial sequences at each step. It is used in sequence generation tasks, with results shaped by model scores and any normalization or penalties.
عرض الشعاع هو عدد التسلسلات الجزئية العليا التي تم الاحتفاظ بها وتوسيعها في كل خطوة؛ عروض أكبر تستكشف المزيد من المرشحين.
لا يتطلب فك التشفير الجشع سوى الرمز العلوي في كل خطوة؛ تحوطات بحث الشعاع من خلال تتبع عدة تسلسلات واعدة في وقت واحد.
يضيف كل رمز مميز إضافي احتمالية تسجيل سلبية، لذا بدون التطبيع فإن التسلسلات الأقصر تسجل أعلى بشكل غير عادل.
يتفوق البحث عن الشعاع عندما يكون الهدف عبارة عن عرض واحد دقيق وطلاقة، ولهذا السبب أصبح معيارًا في الترجمة.
وعلى نحو مخالف للحدس، فإن الحزم الأوسع في توليد النص العصبي غالبًا ما تفضل التسلسلات العامة والمتكررة بدلاً من التسلسلات المثيرة للاهتمام.
استمر في التعلم
تم اختيار المزيد من الأدلة لهذا الموضوع
التاليالدليل التالي
بحث الشعاع الموجه مع القيود
لغة الذكاء الاصطناعي