class_docstr: Dataset for supervised fine-tuning.
code: def __len__(self):
      return len(self.keyed_prompt["input_ids"])
  
file_path: colossalai/applications/Chat/coati/dataset/prompt_dataset.py
imports: from collections import defaultdict
  from typing import Dict
  import torch
  import transformers
  from torch.utils.data import Dataset
  from colossalai.logging import get_dist_logger
  from .utils import jload
label_desc: Use image node_id 2 for calling the PromptDataset obj's underlying member method code with example usage: obj.__len__() and returns: len