docs: def decode(self, encoded):
          """ Decodes a tensor into a sequence.
  
          Args:
              encoded (torch.Tensor): Encoded sequence.
  
          Returns:
              str: Sequence decoded from ``encoded``.
          """
          encoded = super().decode(encoded)
          tokens = [self.itos[index] for index in encoded]
          return self.detokenize(tokens)