Downloads · 30 days
29
14% of all-time downloads
Quyashbek/karakalpak-omnivoice
karakalpak-omnivoice is a text-to-speech model from Quyashbek. Use it when you need text read aloud. The card lists the license as apache-2.0.
A high-quality Text-to-Speech model fine-tuned for the Karakalpak language using the powerful OmniVoice architecture.
Downloads · 30 days
29
14% of all-time downloads
All-time downloads
200
Public
Parameters
613M
7.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.bin4.9 GB · 67%
How the weights are stored.
F32613M · 100%
From the Hugging Face model README
A high-quality Text-to-Speech model fine-tuned for the Karakalpak language using the powerful OmniVoice architecture.
This model was fine-tuned on approximately 6 hours of Karakalpak speech data to support the development of speech technologies for the Karakalpak language (a Turkic language spoken in Uzbekistan and Karakalpakstan).
| Parameter | Value |
|---|---|
| Base Model | k2-fsa/OmniVoice |
| Dataset | ~6 hours Karakalpak speech |
| Training Steps | 5,000 |
| Final Eval Loss | 4.055 |
| Training Time | ~51 minutes |
| Framework | Accelerate + PyTorch 2.6 |
import soundfile as sf
import torch
import numpy as np
from omnivoice import OmniVoice
# ================== CHANGE ONLY IF NEEDED ==================
model_name = "Quyashbek/karakalpak-omnivoice" # Your HF model
text = "Algoritm keń mániste tek kompyuterge tiyisli termin bolmay"
# ==========================================================
print("🔄 Loading model from Hugging Face...")
model = OmniVoice.from_pretrained(model_name)
print(f"✅ Model loaded! Sampling rate = {model.sampling_rate} Hz")
print("🎤 Generating speech...")
audio = model.generate(
text=text,
speaker="default",
temperature=0.7,
top_p=0.9,
seed=42
)
# Fix audio format
if isinstance(audio, torch.Tensor):
audio = audio.squeeze().cpu().numpy()
audio = np.asarray(audio).squeeze().astype(np.float32)
# Save
output_file = "karakalpak_output.wav"
sf.write(output_file, audio, model.sampling_rate, subtype='PCM_16')
print(f"✅ Success! Audio saved as → {output_file}")
print(f" Duration: {len(audio) / model.sampling_rate:.2f} seconds")