LegközelebbKövetkező útmutató
Irányított sugár keresés megszorításokkal
Nyelvi AI
Nyelvi AI ÚTMUTATÓ
Beam search is a decoding algorithm that retains a fixed number of high-scoring partial sequences at each step.
Hallgassa meg ezt az útmutatótAI-narrált · ~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.
Ingyenes hírlevél
Minden hétköznap reggel három ellenőrzött AI történet, egyszerű angol nyelven. Örökké ingyen, hirdetések nélkül.
Minden hétköznap egy e-mail. Egy kattintással lemondhat. Soha nem értékesítjük vagy osztjuk meg az Ön címét.
Teszteld magad
Azonnali visszajelzés minden válaszra, és megosztható tanúsítvány egy ellenőrizhető azonosítóval, miután sikeresen teljesít egy kurzust.
Támogassa az ingyenes AI oktatást. AI Understanding egy 501(c)(3) nonprofit – nincs hirdetés, nincs fizetőfal, soha. Tegyen adományt
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.
A nyalábszélesség a minden lépésben megtartott és kiterjesztett felső részsorozatok száma; nagyobb szélességek több jelöltet fedezhetnek fel.
A mohó dekódolás lépésenként csak a legfelső tokent veszi igénybe; nyalábkereső fedezeteket több ígéretes sorozat egyidejű követésével.
Minden további token negatív log-valószínűséget ad hozzá, így normalizálás nélkül a rövidebb sorozatok tisztességtelenül magasabb pontszámot kapnak.
A sugárkeresés akkor kiváló, ha egyetlen pontos, gördülékeny megjelenítés a cél, ezért vált szabványossá a fordításban.
Az intuitív módon ellentétben a szélesebb nyalábok a neurális szöveggenerálásban gyakran előnyben részesítik az általános, ismétlődő sorozatokat, nem pedig az érdekeseket.
Tanulj tovább
További útmutatók készültek ehhez a témához
LegközelebbKövetkező útmutató
Irányított sugár keresés megszorításokkal
Nyelvi AI