Method FilterSamplesBySize
- Namespace
- LMKit.Finetuning
- Assembly
- LM-Kit.NET.dll
FilterSamplesBySize(int, int)
Filters the training samples by size, removing those that do not fall within the specified range.
public int FilterSamplesBySize(int minSize, int maxSize)
Parameters
minSize
intThe minimum size, in tokens, of the samples to retain.
maxSize
intThe maximum size, int tokens, of the samples to retain.
Returns
- int
The number of samples removed from the dataset.