def METHOD_NAME(parser):
    """Add model-specific arguments to the parser."""
    TransformerModel.METHOD_NAME(parser)
    parser.add_argument(
        "--pretrained-xlm-checkpoint",
        type=str,
        metavar="STR",
        help="XLM model to use for initializing transformer encoder and/or decoder",
    )
    parser.add_argument(
        "--init-encoder-only",
        action="store_true",
        help="if set, don't load the XLM weights and embeddings into decoder",
    )
    parser.add_argument(
        "--init-decoder-only",
        action="store_true",
        help="if set, don't load the XLM weights and embeddings into encoder",
    )