Property RejectUnusableSamples
- Namespace
- LMKit.Finetuning
- Assembly
- LM-Kit.NET.dll
RejectUnusableSamples
When true, training refuses a training set it would not train as given, throwing a FinetuningException before any device memory is allocated: samples longer than the resolved window (otherwise skipped, see CountSamplesLongerThan(int)), samples whose assistant span could not be located while AssistantLossOnly is enabled (otherwise supervised whole, see UnmaskedSampleCount), and samples the packer leaves out for carrying no supervised token. False (the default) trains on what remains and reports the counts.
public bool RejectUnusableSamples { get; set; }