src/transformers/models/mbart50/tokenization_mbart50.py/MBart50Tokenizer/_tokenize
class MBart50Tokenizer:    def _tokenize(self, text: str) -> List[str]:
        return self.sp_model.encode(text, out_type=str)