Repetition Penalty
Quick definition
A decoding adjustment that discourages repeated tokens or phrases during generation.
A decoding adjustment that discourages repeated tokens or phrases during generation.
High penalties can reduce loops but may also make legitimate repetition or exact quotation harder.
Example: A story generator is tuned to avoid repeating the same sentence.
Common use cases: Long-form generation and response quality.
Examples
- A story generator is tuned to avoid repeating the same sentence.
Use cases
- Long-form generation and response quality.
Frequently asked questions
What is Repetition Penalty?
A decoding adjustment that discourages repeated tokens or phrases during generation.
What should I know about Repetition Penalty?
High penalties can reduce loops but may also make legitimate repetition or exact quotation harder.