Table of Contents

Property ExcludeTopChoicesThreshold

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

ExcludeTopChoicesThreshold

Specifies the probability a candidate must reach to count as one of the "top choices" that ExcludeTopChoicesProbability may remove.
Values above 0.5 disable the stage, since at most one candidate could then qualify and the last qualifying candidate is always kept.
Use a floating-point value within the range [0, 0.5].

public float ExcludeTopChoicesThreshold { get; set; }

Property Value

float

The default value is 0.1.

Share