class_docstr: Dataset containing sentences and their blocks for an inverse cloze task.
class_docstr_tok: ["Dataset","containing","sentences","and","their","blocks","for","an","inverse","cloze","task","."]
code: def __len__(self):
      return len(self.samples_mapping)
  
file_path: ColossalAI/examples/tutorial/sequence_parallel/data/datasets/ict_dataset.py
imports: import itertools
  import random
  import numpy
  from megatron import get_args, get_tokenizer
  from megatron.data.dataset_utils import get_indexed_dataset_
  from megatron.data.realm_dataset_utils import get_block_samples_mapping
  from torch.utils.data import Dataset
label_desc: Use image node_id 2 for calling the ICTDataset obj's underlying member method code with example usage: obj.__len__() and returns: len