Downloads · 30 days
21
15% of all-time downloads
firdavsus/TTS_T5-uz_ru_en
TTS_T5-uz_ru_en is a machine learning model from firdavsus. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
TTST5-uzruen is a multilingual text-to-speech (TTS) synthesis system built upon a modified encoder-decoder T5 architecture template. Developed using the orchestration engine in the companion firdavsus/T5-speech GitHub…
Downloads · 30 days
21
15% of all-time downloads
All-time downloads
140
Public
Parameters
144M
27.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt1.2 GB · 67%
From the Hugging Face model README
TTS_T5-uz_ru_en is a multilingual text-to-speech (TTS) synthesis system built upon a modified encoder-decoder T5 architecture template. Developed using the orchestration engine in the companion firdavsus/T5-speech GitHub repository.
The framework provides robust cross-lingual acoustic stability across three target languages: Uzbek (uz), Russian (ru), and English (en).
Base voice -> Listen to the Audio Track
The model re-imagines speech synthesis as a standard sequence-to-sequence translation task:
You can run sequence generation and audio rendering loops using the evaluation pipeline scripts available in the primary GitHub repository.
import torch
from model import T5SpeechGenerator # Imported from your firdavsus/T5-speech repository
import scipy.io.wavfile as wavfile
# 1. Initialize the multilingual TTS pipeline
device = "cuda" if torch.cuda.is_available() else "cpu"
model = T5SpeechGenerator.from_pretrained("firdavsus/TTS_T5-uz_ru_en").to(device)
# 2. Prepare text input with language formatting prefix
text_prompt = "<uz> Assalomu alaykum! Bugun ob-havo juda yaxshi."
# 3. Generate raw audio waveforms
with torch.no_grad():
audio_outputs = model.generate_speech(text_prompt)
# 4. Save synthesized audio track to local disk
wavfile.write("output_uzbek.wav", rate=24000, data=audio_outputs.cpu().numpy())
print("Multilingual speech successfully synthesized and exported to disk.")