def METHOD_NAME(self, truncation=None, tokenize_kwargs=None, return_tensors=None, **kwargs):
    if tokenize_kwargs is None:
        tokenize_kwargs = {}
    if truncation is not None:
        if "truncation" in tokenize_kwargs:
            raise ValueError(
                "truncation parameter defined twice (given as keyword argument as well as in tokenize_kwargs)"
            )
        tokenize_kwargs["truncation"] = truncation
    preprocess_params = tokenize_kwargs
    postprocess_params = {}
    if return_tensors is not None:
        postprocess_params["return_tensors"] = return_tensors
    return preprocess_params, {}, postprocess_params