Definition

Diversity Penalty

A diversity penalty is a mechanism designed to foster variety in generated text. It operates by penalizing similarity among different candidate outputs, or hypotheses, particularly within search algorithms like beam search. This encourages the model to explore and produce a more varied set of results.

0

1

Updated 2026-05-05

Contributors are:

Who are from:

Tags

Ch.5 Inference - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences