    def _convert_id_to_token(self, index):
        """Converts an index (integer) in a token (str) using the vocab."""
        token = self.sp_model.IdToPiece(index)
        return token
Converts an index (integer) in a token (str) using the vocab.
projects/llava_sam2/hf/models/tokenization_internlm2.py