def decode_tokens_to_str(self, tokens: List[int]) -> str:
    '\n        Implemented by subclass in order to decoder a token list into a string.\n\n        Args:\n            tokens: List of int representing the token ids.\n\n        Returns:\n            A decoded string.\n        '
    hypothesis = ''.join([self.labels_map[c] for c in tokens if (c != self.blank_id)])
    return hypothesis
Implemented by subclass in order to decoder a token list into a string.

Args:
    tokens: List of int representing the token ids.

Returns:
    A decoded string.
def decode_tokens_to_str(self, tokens: List[int]) -> str:
    '\n        Implemented by subclass in order to decoder a token list into a string.\n\n        Args:\n            tokens: List of int representing the token ids.\n\n        Returns:\n            A decoded string.\n        '
    hypothesis = .join([self.labels_map[c] for c in tokens if (c != self.blank_id)])
    return hypothesis