src/transformers/models/esm/tokenization_esm.py/EsmTokenizer/token_to_id
class EsmTokenizer:    def token_to_id(self, token: str) -> int:
        return self._token_to_id.get(token, self._token_to_id.get(self.unk_token))