Definition

Repetition Penalty

A repetition penalty is a mechanism designed to discourage a model from generating repetitive or redundant text. It functions by measuring the frequency of repeated tokens or phrases within the generated sequence and applying a penalty that is proportional to their occurrence, thereby preventing monotonous output.

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