Property ContextSize
- Namespace
- LMKit.Finetuning
- Assembly
- LM-Kit.NET.dll
ContextSize
Token window used to build training samples. Samples longer than the resolved window are skipped. 0 (the default) sizes the window to the longest sample. An explicit value is rounded up to the runtime's 256-token block, with a floor of one block, so the window and the training batch stay identical; AlignContextWindow(int) returns the window an explicit value resolves to.
public int ContextSize { get; set; }