Learn Before
Concept

Repetition Detection as a Stopping Criterion

To avoid generating redundant or incoherent text, a stopping criterion can be based on repetition. This involves implementing a detection module that terminates the generation process if the model starts repeating tokens or phrases more than a specified number of times.

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