def DecodeIds(self, Ids):
        """converts ascii ids to tokens before joining them into text"""
        if isinstance(Ids, Tokenization):
            Ids = Ids.tokenization
        return ''.join([self.IdToToken(tok) for tok in Ids])
converts ascii ids to tokens before joining them into text
megatron_lm/megatron/deprecated_data_utils/tokenization.py