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