megatron.data.realm_dataset_utils.BlockSamplesMapping#

class megatron.data.realm_dataset_utils.BlockSamplesMapping(mapping_array)#

Bases: object

__getitem__(idx)#

Get the data associated with an indexed sample.