Downloads · 30 days
12
6% of all-time downloads
sobomax/speecht5-rt.post_vocoder.v1
speecht5-rt.post_vocoder.v1 is a machine learning model from sobomax. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as bsd-2-clause.
The HelloSippyRT model is designed to adapt Microsoft's SpeechT5 Text-to-Speech (TTS) for real-time scenarios.
Downloads · 30 days
12
6% of all-time downloads
All-time downloads
207
Public
Repo size
15.3 MB
Likes
1
Public
Click a slice to open those files.
.bin3.1 MB · 100%
From the Hugging Face model README
The HelloSippyRT model is designed to adapt Microsoft's SpeechT5 Text-to-Speech (TTS) for real-time scenarios.
The original vocoder performs optimally only when provided with almost the full Mel sequence produced from the single text input at once. This is not ideal for real-time applications, where we aim to begin audio output quickly. Using smaller chunks results in "clicking" distortions between adjacent audio frames. Fine-tuning attempts on Microsoft's HiFiGAN vocoder were unsuccessful.
Our approach involves a smaller model that takes a fixed audio chunk of 8 Mel frames, two pre-frames, and two post-frames. These frames are processed along with the original vocoder's 12 audio frames of 256 bytes each. The model employs convolution input layers for both audio and Mel frames to generate hidden dimensions, followed by linear layer and a final convolution layer. The output is then multiplied with the original 8 audio frames to produce corrected frames.
We trained the model using a subset of 3,000 audio utterances from the LJSpeech-1.1 dataset. The SpeechT5's Speech-To-Speech
module was employed to replace voice in each utterance with a voice of speakers randomly selected from the
Matthijs/cmu-arctic-xvectors dataset. Such produced reference Mel spectrum were used to feed vocoder and post-vocoder
in chunks. The FFT of generated in "continuous" mode reference waveform was used as a basis for loss-function calculation.
During training, the original vocoder was locked; only our model was trained to mimic the original vocoder as closely as possible in continuous mode.
The model has been evaluated by producing TTS output from pure text input using quotes from the "Futurama", "Martix" and
"Space Odyssey 2001" retrieved from the wikiquotes site using purely random speaker vector as well as vectors from the
Matthijs/cmu-arctic-xvectors dataset. The quality of output has been found satisfactory for our particular
use.
License: BSD-2-Clause
Library: Transformers