def METHOD_NAME(path, **kwargs):
    """
    Loads a tokenizer from path.
    Args:
        path: path to tokenizer
        kwargs: optional additional keyword arguments
    Returns:
        tokenizer
    """
    return AutoTokenizer.from_pretrained(path, **kwargs) if isinstance(path, str) else path