Property FrequencyPenalty
- Namespace
- LMKit.TextGeneration.Sampling
- Assembly
- LM-Kit.NET.dll
FrequencyPenalty
Specifies how to penalize new tokens based on their existing frequency in the preceding text,
decreasing the model's likelihood to repeat the same line verbatim.
Use a floating-point value within the range [-2, 2].
public float FrequencyPenalty { get; set; }
Property Value
- float
The default value is 0.