Table of Contents

Property Token

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

Token

Gets or sets the identifier of the selected token for text completion.

public int Token { get; set; }

Property Value

int

Remarks

By default, this token is chosen by the model's sampling engine. You can override this property to select a different token before generation continues. Any manually assigned value will be clamped to ensure it is within the valid vocabulary range.