tiny-voca / README.md
abderrahmane11's picture
Document paragraph reading
6149f09 verified
|
Raw History Blame Contribute Delete
1.95 kB
---
title: tiny-voca text to speech
sdk: gradio
sdk_version: 5.49.0
app_file: app.py
pinned: false
hardware: zero-a10g
models:
- n4ze3m/tiny-voca
short_description: A 4.5M parameter two-voice English TTS, instant
---
# tiny-voca text to speech
![the same sentence in both voices, F2 in green and M2 in orange](samples/voices.jpg)
The same line through both voices, same seed. F2 takes 2.41 s, M2 takes 2.09 s, and the shape of the phrase differs as much as the pitch does.
A text to speech model with 4.5 million parameters, trained from scratch on about 18 hours
of synthetic speech. Two voices, F2 and M2, 24 kHz mono. It runs roughly 70 times faster than
real time on four CPU threads, so a sentence comes back in well under a second.
It was published with a community Space that is a wrapper around the model file. This one
exposes the knobs the checkpoint actually has: voice, speed, pitch shift, pitch movement and
seed, and it shows the phoneme string it synthesised so you can see what the front end did
with your text.
A paragraph is read sentence by sentence, with a short pause between them, up to eight sentences. The model itself takes one utterance per call, so that is what the app does under the hood rather than handing the text to the model whole.
Everything runs on the published weights. The phonemizer is the author's dizione front end,
shipped inside the model repository.
## Other demos
[Background remover](https://huggingface.co/spaces/abderrahmane11/bg-remover) cuts out a subject in the browser with no server. [Browser transcription](https://huggingface.co/spaces/abderrahmane11/browser-stt) reads a clip with Whisper tiny on your own CPU. [FLUX.2 klein inpainting](https://huggingface.co/spaces/abderrahmane11/flux2-klein-inpaint) edits a region of a picture from a text prompt. [Run a GGUF in your browser](https://huggingface.co/spaces/abderrahmane11/gguf-runtime) runs quantized text models client side.