src/transformers/models/convbert/tokenization_convbert.py/ConvBertTokenizer/_convert_token_to_id
class ConvBertTokenizer:    def _convert_token_to_id(self, token):
        """Converts a token (str) in an id using the vocab."""
        return self.vocab.get(token, self.vocab.get(self.unk_token))