code: def setup_args():
      """
      Set up conversion args.
      """
      parser = ParlaiParser()
      parser.add_argument(
          "-n",
          "--num-episodes",
          default=-1,
          type=int,
          help="Total number of episodes to convert, -1 to convert all examples",
      )
      parser.add_argument(
          "-of",
          "--outfile",
          default=None,
          type=str,
          help="Output file where to save, by default will be created in /tmp",
      )
      parser.add_argument(
          "-s1id",
          "--speaker-0-id",
          type=str,
          help="Speaker id of agent who speaks first",
      )
      parser.add_argument(
          "-s1id",
          "--speaker-1-id",
          type=str,
          help="Speaker id of agent who speaks second",
      )
      parser.add_argument(
          "--prepended-context",
          type="bool",
          default=False,
          help="specify if the context is prepended to the first act",
      )
      parser.add_argument(
          "-ltim", "--log-every-n-secs", type=float, default=10
      )
      parser.set_defaults(datatype="train:ordered")
  
      return parser
  
file_path: ParlAI/parlai/crowdsourcing/tasks/acute_eval/dump_task_to_acute_format.py
imports: from parlai.core.params import ParlaiParser
  from parlai.agents.repeat_label.repeat_label import RepeatLabelAgent
  from parlai.core.worlds import create_task
  from parlai.utils.conversations import Conversations
  from parlai.utils.misc import TimeLogger
  import random
  import tempfile
label_desc: Use image node_id 1 for calling a global function with example usage: setup_args() and returns: parser