def METHOD_NAME(main_parser: ArgumentParser):
    parser = main_parser.add_parser(
        "eval",
        help="evaluate a model with TextAttack",
        formatter_class=ArgumentDefaultsHelpFormatter,
    )
    parser = ModelArgs._add_parser_args(parser)
    parser = DatasetArgs._add_parser_args(parser)
    parser.add_argument("--random-seed", default=765, type=int)
    parser.add_argument(
        "--batch-size",
        type=int,
        default=32,
        help="The batch size for evaluating the model.",
    )
    parser.add_argument(
        "--num-examples",
        "-n",
        type=int,
        required=False,
        default=5,
        help="The number of examples to process, -1 for entire dataset",
    )
    parser.add_argument(
        "--num-examples-offset",
        "-o",
        type=int,
        required=False,
        default=0,
        help="The offset to start at in the dataset.",
    )
    parser.set_defaults(func=EvalModelCommand())