Table of Contents

Property TopK

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

TopK

Specifies how many of the highest-scoring candidates are considered before the re-scoring runs.
Use an integer value within the range [1, 1000].

public int TopK { get; set; }

Property Value

int

The default value is 40.

Share