Table of Contents

Property PresencePenalty

Namespace
LMKit.TextGeneration.Sampling
Assembly
LM-Kit.NET.dll

PresencePenalty

Specifies how to penalize new tokens based on whether they appear in the preceding text, increasing the model's likelihood to talk about new topics.
Use a floating-point value within the range [-2, 2].

public float PresencePenalty { get; set; }

Property Value

float

The default value is 0.