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