paddlenlp/transformers/layoutxlm/tokenizer.py
def _convert_id_to_token(self, index):
        """Converts an index (integer) in a token (str) using the vocab."""
        if index in self.ids_to_tokens:
            return self.ids_to_tokens[index]
        return self.sp_model.IdToPiece(index - self.offset)
Converts an index (integer) in a token (str) using the vocab.
Converts an index (integer) in a token (str) using the vocab.
Converts an index ( integer ) in a token ( str ) using the vocab .
def _convert_id_to_token(self, index):
        if index in self.ids_to_tokens:
            return self.ids_to_tokens[index]
        return self.sp_model.IdToPiece(index - self.offset)
def _convert_id_to_token ( self , index ) : if index in self . ids_to_tokens : return self . ids_to_tokens [ index ] return self . sp_model . IdToPiece ( index - self . offset )
Converts an index (integer) in a token (str) using the vocab.
Converts an index ( integer ) in a token ( str ) using the vocab .
"""Converts an index (integer) in a token (str) using the vocab."""
self
index