Presence penalty

A logit adjustment for tokens that have already appeared in the generated sequence.

Practical example

The penalty can encourage new topics in generated text.

Related concept: repetition-penalty

AI glossary · Poiskom

All guides