MCPcopy Create free account
hub / github.com/bytedance/MegaTTS3 / decode_list

Method decode_list

tts/utils/text_utils/text_encoder.py:183–185  ·  view source on GitHub ↗
(self, ids)

Source from the content-addressed store, hash-verified

181 return " ".join(self.decode_list(ids))
182
183 def decode_list(self, ids):
184 seq = reversed(ids) if self._reverse else ids
185 return [self._safe_id_to_token(i) for i in seq]
186
187 @property
188 def vocab_size(self):

Callers 1

decodeMethod · 0.95

Calls 1

_safe_id_to_tokenMethod · 0.95

Tested by

no test coverage detected