Open-Source Frontier Voice AI
Python
spelling: id
Josh Soref96f73c8ba5bd
diff --git a/vibevoice/modular/modular_vibevoice_text_tokenizer.py b/vibevoice/modular/modular_vibevoice_text_tokenizer.pyindex da5669f..9532d9f 100644--- a/vibevoice/modular/modular_vibevoice_text_tokenizer.py+++ b/vibevoice/modular/modular_vibevoice_text_tokenizer.py@@ -85,27 +85,27 @@ class VibeVoiceTextTokenizer(Qwen2Tokenizer):@propertydef eos_id(self) -> int:- """Id of the end of sequence token."""+ """ID of the end of sequence token."""return self._eos_id@propertydef speech_start_id(self) -> int:- """Id of the speech start token."""+ """ID of the speech start token."""return self._speech_start_id@propertydef speech_end_id(self) -> int:- """Id of the speech end token."""+ """ID of the speech end token."""return self._speech_end_id@propertydef speech_diffusion_id(self) -> int:- """Id of the speech diffusion token."""+ """ID of the speech diffusion token."""return self._speech_diffusion_id@propertydef pad_id(self) -> int:- """Id used for padding (returns -100 for loss masking)."""+ """ID used for padding (returns -100 for loss masking)."""return -100@@ -184,27 +184,27 @@ class VibeVoiceTextTokenizerFast(Qwen2TokenizerFast):@propertydef eos_id(self) -> int:- """Id of the end of sequence token."""+ """ID of the end of sequence token."""return self._eos_id@propertydef speech_start_id(self) -> int:- """Id of the speech start token."""+ """ID of the speech start token."""return self._speech_start_id@propertydef speech_end_id(self) -> int:- """Id of the speech end token."""+ """ID of the speech end token."""return self._speech_end_id@propertydef speech_diffusion_id(self) -> int:- """Id of the speech diffusion token."""+ """ID of the speech diffusion token."""return self._speech_diffusion_id@propertydef pad_id(self) -> int:- """Id used for padding (returns -100 for loss masking)."""+ """ID used for padding (returns -100 for loss masking)."""return self._pad_idclass VibeVoiceASRTextTokenizerFast(Qwen2TokenizerFast):@@ -284,22 +284,22 @@ class VibeVoiceASRTextTokenizerFast(Qwen2TokenizerFast):@propertydef eos_id(self) -> int:- """Id of the end of sequence token."""+ """ID of the end of sequence token."""return self._eos_id@propertydef speech_start_id(self) -> int:- """Id of the speech start token."""+ """ID of the speech start token."""return self._speech_start_id@propertydef speech_end_id(self) -> int:- """Id of the speech end token."""+ """ID of the speech end token."""return self._speech_end_id@propertydef speech_pad_id(self) -> int:- """Id of the speech diffusion token."""+ """ID of the speech diffusion token."""return self._speech_pad_id@property