class_docstr: Base Dataset class for zero shot tasks.
  
  Args:
      opts: Command-line arguments.
class_docstr_tok: ["Base","Dataset","class","for","zero","shot","tasks",".","Args",":","opts",":","Command-line","arguments","."]
code: def add_arguments(
      cls, parser: argparse.ArgumentParser
  ) -> argparse.ArgumentParser:
      if cls != BaseZeroShotDataset:
          # Don't re-register arguments in subclasses that don't override
          # `add_arguments()`.
          return parser
  
      group = parser.add_argument_group(cls.__name__)
  
      group.add_argument(
          "--dataset.multi-modal-img-text.zero-shot-eval",
          action="store_true",
          default=False,
          help="Use zero shot evaluation. Defaults to False.",
      )
      group.add_argument(
          "--dataset.multi-modal-img-text.zero-shot.name",
          type=str,
          default=None,
          help="Name of the dataset for zero-shot evaluation. Defaults to None.",
      )
      group.add_argument(
          "--dataset.multi-modal-img-text.zero-shot.root-val",
          type=str,
          default=None,
          help="Location of the dataset for zero-shot evaluation. Defaults to None.",
      )
      return parser
  
file_path: ml-cvnets/data/datasets/multi_modal_img_text/zero_shot/base_zero_shot.py
imports: import argparse
  from typing import List, Tuple
  from options.utils import extract_opts_with_prefix_replacement
  from utils import logger
label_desc: Use image node_id 2 for calling the BaseZeroShotDataset obj's underlying member method code with example usage: obj.add_arguments(cls, parser) and returns: parser, parser