code: def setup_args():
      parser = ParlaiParser(True, True, "Display model predictions.")
      parser.add_argument("-n", "-ne", "--num-examples", default=10)
      parser.add_argument(
          "--display-add-fields",
          type=str,
          default="",
          help='Display these fields when verbose is off (e.g., "--display-add-fields label_candidates,beam_texts")',
      )
      # by default we want to display info about the validation set
      parser.set_defaults(datatype="valid")
      return parser
  
file_path: ParlAI/parlai/scripts/display_model.py
imports: from parlai.core.params import ParlaiParser
  from parlai.core.agents import create_agent
  from parlai.core.worlds import create_task
  from parlai.core.script import ParlaiScript, register_script
  from parlai.utils.strings import colorize
  import parlai.utils.logging
  import random
label_desc: Use image node_id 2 for calling a global function with example usage: setup_args() and returns: parser