class_docstr: Interact with a model and get TO/AS/ABOUT predictions for each utterance.
code: def add_cmdline_args(
      cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None
  ) -> ParlaiParser:
      super().add_cmdline_args(parser, partial_opt)
      group = parser.add_argument_group(
          "Gender Multiclass Interactive World"
      )
      group.add_argument(
          "--self-threshold",
          type=float,
          default=0.52,
          help="Threshold for choosing unknown for self",
      )
      group.add_argument(
          "--partner-threshold",
          type=float,
          default=0.52,
          help="Threshold for choosing unknown for self",
      )
      parser.set_params(
          single_turn=True,  # this is a single turn task currently
          eval_candidates="inline",
          return_cand_scores=True,
      )
      return parser
  
file_path: ParlAI/parlai/tasks/md_gender/worlds.py
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  from copy import deepcopy
  import torch.nn.functional
  from parlai.core.worlds import DialogPartnerWorld, validate
  import parlai.tasks.md_gender.utils
label_desc: Use image node_id 1 for calling the InteractiveWorld obj's underlying member method code with example usage: obj.add_cmdline_args(cls, parser, partial_opt) and returns: parser