def METHOD_NAME(self, ids):
    """Convert ids to string."""
    tokens = self.convert_ids_to_tokens(ids)
    tokens = self.merge_subword(tokens)
    res = " ".join(tokens).replace("<s>", "")
    res = res.replace("</s>", "\n").replace("\n ", "\n").strip()
    return res