Property MaximumCompletionTokens
- Namespace
- LMKit.TextGeneration
- Assembly
- LM-Kit.NET.dll
MaximumCompletionTokens
Defines the maximum number of tokens permitted for text completion or generation.
By default, this value is 512 tokens. Setting it to -1 disables the token limit.
public int MaximumCompletionTokens { get; set; }
Property Value
Remarks
A token can range from a single character to part of a word, or even a complete phrase. On average, one token corresponds to approximately 4 characters of standard English text.