src/transformers/models/ernie_m/tokenization_ernie_m.py/ErnieMTokenizer/_convert_token_to_id
class ErnieMTokenizer:    def _convert_token_to_id(self, token):
        return self.vocab.get(token, self.vocab.get(self.unk_token))