Property ContextSize
- Namespace
- LMKit.Finetuning
- Assembly
- LM-Kit.NET.dll
ContextSize
Gets or sets the context size used during model training.
public int ContextSize { get; set; }
Property Value
- int
The default value is 128 tokens. The minimum allowed value is 32.
Remarks
The context size determines the number of tokens the model considers in one instance during training. Larger context sizes improve understanding of long dependencies but increase memory demands.