src/transformers/tokenization_utils_base.py/PreTrainedTokenizerBase/num_special_tokens_to_add
class PreTrainedTokenizerBase:    def num_special_tokens_to_add(self, pair: bool = False) -> int:
        raise NotImplementedError