Table of Contents

Property TargetEntropy

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

TargetEntropy

Specifies the desired target cross-entropy (or surprise) value to be attained for the generated text.
A higher value corresponds to more surprising or less predictable text, while a lower value corresponds to less surprising or more predictable text.
Use a floating-point value within the range [0, 10].

public float TargetEntropy { get; set; }

Property Value

float

The default value is 5.0.