class_docstr: Provide the personality in the `text` field, and the captions in the `labels` field.
  
  To specify your own path to the YFCC100m images, please use the `--yfcc-path`
  command line argument.
class_docstr_tok: ["Provide","the","personality","in","the","`","text","`","field",",","and","the","captions","in","the","`","labels","`","field",".","To","specify","your","own","path","to","the","YFCC100m","images",",","please","use","the","`","--","yfcc-path","`","command","line","argument","."]
docstr: Add command line args.
docstr_tok: ["Add","command","line","args","."]
code: def add_cmdline_args(
      cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None
  ) -> ParlaiParser:
      """
      Add command line args.
      """
      super().add_cmdline_args(parser, partial_opt)
      agent = parser.add_argument_group(
          "Personality-Captions arguments"
      )
      agent.add_argument(
          "--include-personality",
          type="bool",
          default=True,
          help="Whether to provide personality to agent",
      )
      agent.add_argument(
          "--include-image",
          type="bool",
          default=True,
          help="Whether to provide image to agent",
      )
      agent.add_argument(
          "--num-test-labels",
          type=int,
          default=1,
          choices=[1, 5],
          help="Provide model with either 1 or 5 possible "
          "labels for each test example. The number of label "
          "candidates for each case is 100 and 500 "
          "respectively.",
      )
      agent.add_argument(
          "--yfcc-path",
          type=str,
          default=None,
          help="Path to yfcc images (if not downloaded "
          "via the provided download script)",
      )
      return parser
  
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  from parlai.core.teachers import FixedDialogTeacher
  from parlai.core.image_featurizers import ImageLoader
  from parlai.utils.io import PathManager
  from .build import build
  import json
  import os
label_desc: Use image node_id 2 for calling the PersonalityCaptionsTeacher obj's underlying member method code with example usage: obj.add_cmdline_args(cls, parser, partial_opt) and returns: parser