Skip to content

DatasetSliceConfig

Module: fast_llm.data.dataset.config

Variant of: SampledDatasetConfig — select with type: slice

Inherits from: SamplableDatasetConfig, SampledDatasetConfig, DatasetConfig

Fields

begin — core

Type: float    Default: 0

The beginning of the dataset split, as a fraction of the total samples.

dataset — core

Type: IndexedDatasetConfig    Default: None

The dataset to split.

end — core

Type: float    Default: 1

The end of the dataset split, as a fraction of the total samples.