Home › Glossary › Frequency penalty

Frequency penalty

A setting used at inference, ranging from -2.0 to 2.0, that lowers a token's likelihood according to how many times it has already occurred. Its main effect is to cut down word-for-word repetition.

Also called frequency_penalty.

Read more: Microsoft Learn

In the Ultra Transcenders books

AI-901AI-103

Each book explains Frequency penalty in context, with comparison tables and the common traps.

Terms in this definition

See Frequency penalty in the full glossary