Downloads · 30 days
0
FashionFlora/KawiriTTS
KawiriTTS is a machine learning model from FashionFlora. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Kawiri TTS is a high-fidelity, dual-stage Text-to-Speech (TTS) framework designed to generate natural, expressive, and high-resolution speech. It diverges from older end-to-end architectures (like legacy VITS) in favo…
Downloads · 30 days
0
Access
Public
Updated Apr 9, 2026
Repo size
25.3 GB
Likes
0
Public
Click a slice to open those files.
.pt6.8 GB · 54%
From the Hugging Face model README
Kawiri TTS is a high-fidelity, dual-stage Text-to-Speech (TTS) framework designed to generate natural, expressive, and high-resolution speech. It diverges from older end-to-end architectures (like legacy VITS) in favor of a modern, continuous Flow-Matching approach paired with a highly compressed Variational Autoencoder (VAE) Vocoder.
This architecture natively targets high-resolution audio (44.1 kHz) and integrates cutting-edge sequence modeling techniques like Ring Attention (Ringformer) and iSTFTNet to optimize both long-form generation and synthesis speed.
The model splits the complex task of speech generation into two distinct stages: translating text (phonemes) into a compressed latent representation, and then decoding that latent representation into the final raw audio waveform.
Instead of enforcing the acoustic model to output high-dimensional linear spectrograms or generating waveform samples step-by-step through heavy transposed convolutions, we utilize an advanced Variational Autoencoder (vae2_bottleneck.json).
The core acoustic modeling is handled by a Flow-Matching framework (archi_tts.json), which predicts the learned latents from text.
Kawiri TTS relies on a sophisticated mix of loss functions to ensure acoustic fidelity and perfect text-to-speech alignment:
vae2_ctc_weight=0.1). With a vae2_ctc_upsample_factor=2 applied to the encoder's mean latents, the model intrinsically learns to bind phonetic boundaries to specific frames in the compressed latent space.The audio pipeline expects the following strict parameters matching the vocoder/VAE2 configuration:
44100 Hz (All raw audio inputs must be resampled to 44.1 kHz prior to training)100n_fft): 2048win_length): 1764hop_length): 441fmin: 0, fmax: nullTo efficiently train the models, data is rigorously pre-processed into a strict pipe-separated (|) format (audio_path|phonemes|lang_id|speaker_id|raw_text).
dump_100/train/mels/).python train.py -c configs/vae2_bottleneck.json -m vae_normaldump_latents_vae2/).python train.py -c configs/archi_tts.json -m archi_stagepip install triton-nightly==3.0.0.post20240716052845 --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/Triton-Nightly/pypi/simple/ pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu130
python train.py -c configs/vae2_bottleneck.json -m vae_normal conda create -n ringformer python=3.11