Local AI Glossary
What is Repetition penalty?
Source: local-llm.net/glossary
A sampling parameter that reduces the probability of generating tokens that have already appeared in the output, preventing the model from getting stuck in loops. Values above 1.0 discourage repetition; typical values range from 1.05 to 1.3.
How Repetition penalty fits in the local AI stack
Repetition penalty is part of the broader local AI ecosystem. See the related guides, comparisons, and tools below to see how it applies in practice.
See also
- Full Local AI Glossary
- All learn topics
- What is Local AI?
- Quantization explained
- Hardware requirements
- How to choose a local LLM