@staticmethod
def add_cmdline_args(argparser):
    """Add command-line arguments specifically for this agent."""
    agent = argparser.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
