Instructions to use mktj/chatty-tts-316m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Pocket-TTS
How to use mktj/chatty-tts-316m with Pocket-TTS:
from pocket_tts import TTSModel import scipy.io.wavfile tts_model = TTSModel.load_model("mktj/chatty-tts-316m") voice_state = tts_model.get_state_for_audio_prompt( "hf://kyutai/tts-voices/alba-mackenna/casual.wav" ) audio = tts_model.generate_audio(voice_state, "Hello world, this is a test.") # Audio is a 1D torch tensor containing PCM data. scipy.io.wavfile.write("output.wav", tts_model.sample_rate, audio.numpy()) - Notebooks
- Google Colab
- Kaggle
chatty-tts-316m
A text-to-speech voice for casual conversation, which laughs when you ask it to.
It's Kyutai's Pocket TTS, fine-tuned for relaxed, conversational English, and it runs on a laptop CPU.
Open in Colab | Listen to samples | Pocket TTS
An experimental fine-tune: fun to try, but not meant for production. See Limitations.
Main points
- Write
<laugh>in the text to make it laugh - Set the tone with a style token such as
[amused] - Runs on CPU, a little faster than real time on an M2 MacBook
- 316M parameters, about 1.8 GB of memory
- One built-in voice; no voice cloning out of the box
- Non-commercial licence (CC BY-NC-SA 4.0)
Listen
The same line and seed through the 24-layer Pocket TTS this was fine-tuned from, and through chatty-tts.
| Text | Pocket TTS | chatty-tts |
|---|---|---|
| Honestly? The food was fine, but the service was something else. | ||
| No way, you actually did that? | ||
That's the funniest thing I've heard all week. <laugh> |
||
The same, with --tag-guidance 2 (experimental): a big laugh, but it goes too far to sound natural |
(as above) |
All samples use the default voice (ex03_laughing, 5 s). Pocket TTS ran at its stock settings and, having no tag tokens, got the text without <laugh>. chatty-tts ran at its defaults (CFG 2, temperature 0.3). The chatty-tts takes were picked by ear from five seeds; the 24-layer Pocket TTS takes use the same seeds.
Try it
In the browser
Nothing to install, and a free CPU runtime is enough. Run the cells, then type your own lines.
On your machine
uvx hf download mktj/chatty-tts-316m --local-dir chatty-tts && cd chatty-tts
uv sync
uv run generate.py "That's the funniest thing I've heard all week. <laugh>" --out out.wav
The first run also downloads Kyutai's Mimi audio codec from kyutai/pocket-tts-without-voice-cloning: about 1.2 GB, no login needed.
Writing text
Put <laugh> at the start or end of a sentence to make it laugh. Mid-sentence laughs are weak, and even at the ends it laughs only about 3 to 4 times in 10, so try another --seed if it doesn't.
To set the tone, start the text with a style token, for example [amused] No way, you actually did that?. [amused] has a clear effect; [sad] works too, but less convincingly. For plain speech, leave the style token out: text without tags comes out as ordinary speech, with no laughs. ([neutral] makes the voice slightly rough.)
The tokenizer also has <breath>, <sigh>, <sniff>, <cough>, <throat>, <groan>, <sneeze>, <snore>, <grunt> and more style tokens. They were in the training data but haven't been evaluated.
Options
--seed Nfixes the output, for a reproducible take or a different one.--tag-guidance 2(experimental) makes laughs more frequent, but they can go over the top, the voice can break, and generation drops below real time.--voicetakes a voice file. The default,voices/ex03_laughing.safetensors, is 5 s of Expresso speaker ex03 in a laughing conversation, the voice all the evaluations used. The voice sets the tone: laughs come out reliably only when it already sounds amused.
uv run generate.py --help lists the rest.
Why it exists
The aim is a voice for local, low-latency conversation: a small, fast model that runs in real time on modest hardware a few years old, with no GPU. This release is a first step. It's built on Pocket TTS's 24-layer model (316M parameters), about 3× the size of the 6-layer model Pocket TTS usually runs, and it needs CFG, so it only just keeps up on an M2 MacBook's CPU. Getting the same behaviour into a smaller model is ongoing work.
How it was made
Pocket TTS's text vocabulary got 27 new tokens (ids 4000–4026): 10 nonverbal tags and 17 style tokens. The 24-layer flow LM was then fully fine-tuned for 2,000 steps (effective batch 64, learning rate 5e-6 with 200 warm-up steps), with the original 4,000 token rows frozen and the new rows trained at 40× the learning rate. Text and voice dropout of 0.2 each teach the model to work with classifier-free guidance (CFG). The released weights are the EMA (0.999).
The data is 7,575 clips (12.5 h) of Expresso's 4 speakers: read speech in several styles, plus conversational clips with NonverbalTTS tags (only its Expresso part). <laugh> was kept only where the audio leaves room for a laugh, laughing clips were added a second time without a style token so the tag works without one, and clip-final laughs were trimmed to end on the last sound. Each training voice prompt is the first 5 s of the same speaker's audio.
generate.py reuses the PyPI pocket-tts==4.0.1 modules but runs its own sampling loop, because stock Pocket TTS playback doesn't do CFG.
Limitations
Laughs are hit and miss. In the author's listening tests (10 takes per condition, fixed seeds, the default voice, no style token) the tag gave:
| Laughs out of 10 | Start of sentence | Mid-sentence | End of sentence |
|---|---|---|---|
With <laugh> |
~3 | ~2 | 4 |
With <laugh>, --tag-guidance 2 |
6–7 | unstable | 7 |
| Same text without the tag | 0 | 0 | 0 |
With a plain voice prompt and no tag there was no amusement at all, with or without [neutral]. These are counts by ear from one person, not a benchmark.
Beyond that:
[neutral]adds a slightly rough, sore-throat quality, more so with a tag.- Only the default voice was evaluated in depth. A voice the model didn't see in training (VCTK speaker p360) didn't laugh and drifted between sentences, so it isn't shipped.
- English only.
- It's heavier than the Pocket TTS you'd normally run: the 24-layer model, about 3× the 6-layer one, with CFG doubling its compute per frame. On an M2 MacBook's CPU it runs at 1.09× real time (0.73× with tag guidance) and peaks at about 1.8 GB of memory.
- Sentences are generated independently, so intonation doesn't carry across them.
Voice cloning and responsible use
Like Pocket TTS, the model can speak in the voice of a short audio prompt. The shipped voice comes from Expresso (CC BY-NC 4.0), whose speakers recorded for research use. Using your own .wav, directly or through scripts/make_voice.py, needs Mimi's encoder, which is only in Kyutai's gated kyutai/pocket-tts repo, so you have to accept Kyutai's terms and log in. This release adds no other route to voice cloning.
Kyutai's prohibited-use terms for Pocket TTS apply to this fine-tune too:
- Use must comply with all applicable laws and regulations.
- It must not result in, involve or facilitate any illegal, harmful, deceptive, fraudulent or unauthorised activity.
- In particular, no:
- voice impersonation or cloning without explicit and lawful consent;
- misinformation, disinformation or deception, including fake news, fraudulent calls, or presenting generated content as genuine recordings of real people or events;
- unlawful, harmful, libellous, abusive, harassing, discriminatory, hateful or privacy-invasive content.
The voices are those of real people, the Expresso speakers. Don't present output as their real speech.
Licence and attribution
The weights are CC BY-NC-SA 4.0 (non-commercial, share-alike). The code is MIT, which doesn't cover the weights.
Built on Pocket TTS by Kyutai (CC BY 4.0): Manu Orsini, Simon Rouard, Gabriel De Marmiesse, Václav Volhejn, Neil Zeghidour, Alexandre Défossez. Changes: fine-tuned as described above, with 27 tokens added to the text vocabulary.
Training data:
- Expresso (CC BY-NC 4.0): Nguyen et al., "EXPRESSO: A Benchmark and Analysis of Discrete Expressive Speech Resynthesis", INTERSPEECH 2023.
- NonverbalTTS (annotations CC BY-NC-SA 4.0): Borisov, Spirin, Diatlova, "NonverbalTTS: A Public English Corpus of Text-Aligned Nonverbal Vocalizations with Emotion Annotations for Text-to-Speech", SSW 2025, doi:10.21437/SSW.2025-16.
This project is not endorsed by Kyutai, the Expresso authors or the NonverbalTTS authors.
- Downloads last month
- 40
Model tree for mktj/chatty-tts-316m
Base model
kyutai/pocket-tts