src/transformers/models/rembert/tokenization_rembert.py/RemBertTokenizer/_convert_token_to_id
class RemBertTokenizer:    def _convert_token_to_id(self, token):
        """Converts a token (str) in an id using the vocab."""
        return self.sp_model.PieceToId(token)