def METHOD_NAME(pretrained, use_readout="ignore", hooks=None):
    model = timm.create_model("beit_large_patch16_512", pretrained=pretrained)
    hooks = [5, 11, 17, 23] if hooks is None else hooks
    features = [256, 512, 1024, 1024]
    return _make_beit_backbone(
        model,
        features=features,
        size=[512, 512],
        hooks=hooks,
        vit_features=1024,
        use_readout=use_readout,
    )