Table of Contents

Property NgramPenaltyBase

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

NgramPenaltyBase

Specifies the exponential base of NgramPenaltyMultiplier.
Higher values make the penalty climb faster with the length of the repeat.
Use a floating-point value within the range [1, 8].

public float NgramPenaltyBase { get; set; }

Property Value

float

The default value is 1.75.

Share