Table of Contents

Property MaximumContextLength

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

MaximumContextLength

Gets or sets the maximum context length for inputs to the model.

public int MaximumContextLength { get; set; }

Property Value

int

The default context size is automatically determined at runtime based on hardware capabilities and the model's constraints, commonly ranging from 2048 to 8192 tokens (though not guaranteed).

Share