code: def __init__(
      self,
      config: MMFDatasetConfigType,
      dataset_type: str,
      index: int,
      *args,
      **kwargs,
  ):
      self.annotation_class = config.get("annotations_parser", "flickr")
      super().__init__(
          "retrieval",
          config,
          dataset_type,
          index,
          ANNOTATIONS_DATABASE[self.annotation_class],
          *args,
          **kwargs,
      )
  
file_path: mmf/mmf/datasets/builders/retrieval/dataset.py
imports: import random
  import torch
  from mmf.common.sample import Sample, SampleList
  from mmf.common.typings import MMFDatasetConfigType
  from mmf.datasets.builders.retrieval.datasets import CaptionsDatabase, COCOAnnotationDatabase, ConceptualCaptionsDatabase
  from mmf.datasets.mmf_dataset import MMFDataset
label_desc: Use image node_id 1 to create a new RetrievalDataset object from inherited base classes: MMFDataset with example: obj = RetrievalDataset(config, dataset_type, index)