Views
No views yet
Audio8/Audio8-TTS-Preview-0.6b
by the Audio8 team (Apache-2.0). The clever part — a
capable 0.6B text-to-speech model — is theirs. All we did was train a few voices we
liked onto it and package it so it's easy to run. If you like Warble, go star their work
first; none of this exists without them.| token | voice | character |
|---|---|---|
<|speaker:1|> | Silas | deep, gravelled, movie-trailer weight |
<|speaker:2|> | Narrator | even, warm, broadcast baritone |
<|speaker:3|> | Clara | clear, professional, friendly |
<|speaker:4|> | Pip | bright, light, quick |
<|speaker:5|> | Nova | confident morning-radio energy |
samples/.1from transformers import AutoProcessor, AutoModel
2import torch, soundfile as sf
3
4model_id = "scrappylabsai/warble"
5proc = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
6model = AutoModel.from_pretrained(model_id, trust_remote_code=True, dtype=torch.bfloat16).to("cuda").eval()
7
8text = "<|speaker:2|>Hi there. This is Warble, running right here on your own machine."
9inputs = proc(text=[text], return_tensors="pt")
10inputs = {k: (v.to("cuda") if hasattr(v, "to") else v) for k, v in inputs.items()}
11wavs, lens, _ = model.generate_audio(**inputs, max_new_tokens=1024)
12sf.write("out.wav", wavs[0][:int(lens[0])].float().cpu().numpy(), 44100)