return [" ".join([self.id2token[t.item()] for t in r]) for r in x]
# trim all the tensors in the tuple z to remove as much token from
# left and right in the first tensor. If z is a tuple, all its
# elements are trimed according to the triming for the first
return [" ".join([self.id2token[t.item()] for t in r]) for r in x]
# trim all the tensors in the tuple z to remove as much token from
# left and right in the first tensor. If z is a tuple, all its
# elements are trimed according to the triming for the first