Table of Contents

Property TokenProbability

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

TokenProbability

Gets the probability of the currently selected token, ranging from 0 to 1.

public float TokenProbability { get; }

Property Value

float

Remarks

A higher probability indicates the token was deemed more likely by the model. This can help in debugging or adjusting token selection if the chosen token is not desired.