docstr: Add command-line arguments specifically for this agent.
docstr_tok: ["Add","command-line","arguments","specifically","for","this","agent","."]
code: def add_cmdline_args(
      cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None
  ) -> ParlaiParser:
      """
      Add command-line arguments specifically for this agent.
      """
      agent = parser.add_argument_group("RetrieverReader Arguments")
      agent.add_argument(
          "--retriever-model-file", type=str, default=None
      )
      agent.add_argument("--reader-model-file", type=str, default=None)
      agent.add_argument(
          "--num-retrieved",
          type=int,
          default=5,
          help="how many passages to retrieve",
      )
      agent.add_argument(
          "--split-paragraphs",
          type="bool",
          default=True,
          help="Whether to split the retrieved passages into "
          "paragraphs",
      )
      return agent
  
file_path: ParlAI/parlai/agents/retriever_reader/retriever_reader.py
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  from parlai.core.agents import Agent
  from parlai.core.agents import create_agent
  import regex
label_desc: Use image node_id 2 for calling the RetrieverReaderAgent obj's underlying member method code with example usage: obj.add_cmdline_args(cls, parser, partial_opt) and returns: agent