src/transformers/models/t5/tokenization_t5.py/T5Tokenizer/_tokenize
class T5Tokenizer:    def _tokenize(self, text: str) -> List[str]:
        """Take as input a string and return a list of strings (tokens) for words/sub-words"""
        return self.sp_model.encode(text, out_type=str)