Property RepetitionPenalty
- Namespace
- LMKit.TextGeneration
- Assembly
- LM-Kit.NET.dll
RepetitionPenalty
Repetition penalty configuration used during generation.
Adjust to discourage the model from repeating recent n-grams/tokens. Disabled automatically when Grammar is set (to avoid conflicts), but you can re-enable manually if needed.
public RepetitionPenalty RepetitionPenalty { get; }