Downloads · 30 days
24
22% of all-time downloads
BNarayanaReddy/higgs-telugu-e4-lora
higgs-telugu-e4-lora is a text-to-speech model from BNarayanaReddy. Use it when you need text read aloud. The card lists the license as other.
Expressive single-speaker Telugu (code-switch) TTS, fine-tuned from Higgs Audio v3 (4B). Generates this speaker's voice from text with no reference clip.
Downloads · 30 days
24
22% of all-time downloads
All-time downloads
107
Public
Parameters
4B
8.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors8.1 GB · 100%
From the Hugging Face model README
Expressive single-speaker Telugu (code-switch) TTS, fine-tuned from Higgs Audio v3 (4B). Generates this speaker's voice from text with no reference clip.
Frontend matters: Telugu text must be ISO-15919 romanized with the same
frontend.py used in training (Telugu tokenizes to byte-fragments otherwise).
generate_speech handles the rest.
import torch, torchaudio
from transformers import AutoModelForCausalLM, AutoTokenizer
from frontend import romanize # shipped in this repo
repo = "BNarayanaReddy/higgs-telugu-e4-lora"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True,
dtype=torch.bfloat16).to("cuda").eval()
text = "హలో, ఈ రోజు ఎలా ఉన్నారు?"
wav = model.generate_speech(romanize(text, "iso"), tok, temperature=0.7, top_p=0.95)
torchaudio.save("out.wav", wav.unsqueeze(0), model.config.sample_rate)
Run #1 of an ISO-romanized single-speaker adaptation. Research use.