Caesura
Text-to-speech that sounds like a person talking, not reading.
Caesura places fillers, pauses and hesitations on its own, and lets you turn the liveliness up or down with one dial.
Most TTS systems speak every text like a newsreader. People don't: they say um, pause before a hard word, rush through the easy part. Caesura is a speech language model trained on real, unscripted speech, so these come from the model itself — nothing is inserted by rules or by an LLM rewriting your text.
You choose how lively the speech is:
| Level | Sounds like | Inserted fillers / 100 words | WER |
|---|---|---|---|
0 calm |
a clear, composed speaker | 0.1 | 0.053 |
1 lively |
everyday conversation | 2.4 | 0.043 |
2 very lively |
thinking out loud | 3.3 | 0.066 |
30 held-out texts, one voice, level guidance 3, temperature 0.8; fillers counted in a verbatim Whisper large-v3 transcript beyond those written in the text; WER by Whisper large-v3. For reference, two commercial TTS systems insert 0 fillers on the same texts.
Architecture
Caesura generates Mimi codes (8 codebooks, 12.5 frames per second) one frame at a time, conditioned on a single sequence:
[SEP] voice prompt [SEP] text [SEP + level] speech … [END]
- Temporal transformer. A looped transformer over frames: 2 prelude layers, a 4-layer core run 4 times with shared weights (the prelude output is injected at every loop), then 2 coda layers. Width 2048, 16 heads with 4 key/value heads, rotary positions. It predicts codebook 0 of the next frame.
- Depth transformer. 6 layers of width 1024 predict codebooks 1–7 of the frame from the temporal state and the codebooks before them. Codebooks 1–7 run one frame behind codebook 0 (acoustic delay 1).
- Text with pronunciation. Each GPT-2 BPE token also carries the ARPAbet phonemes of its word (CMUdict, with a neural G2P for unknown words), encoded by a small transformer and added to the token embedding. Rare words and names are read from how they sound, not guessed from BPE pieces.
- Manner level. The level is a learned vector on the separator before the speech. It is dropped 20% of the time
in training, so at inference the model can be pushed toward a level with classifier-free guidance:
logits = cond + (g − 1) · (cond − no level). - Pause limit. Codebook-0 codes that decode to silence are masked after 7 silent frames in a row (0.56 s), which removes the long dead air that sampling otherwise produces, at the same WER.
- Long texts are spoken in pieces of up to 25 words at sentence boundaries. Each piece continues the previous one's audio, so intonation and tempo run on across the boundary instead of restarting.
Training
- Audio-only pretraining on conversational speech: the temporal and depth transformers learn to continue Mimi codes, with no text.
- Text-to-speech fine-tuning on spontaneous speech (podcast and YouTube conversations), never read speech. The targets keep every um, repeat and restart, so the model learns where people actually hesitate.
- Manner levels. Every training clip is labelled by how disfluent it is (fillers and repeats per 100 words in a verbatim transcript): level 0, 1 or 2.
Quick start
pip install caesura-tts
from caesura import Caesura
tts = Caesura.from_checkpoint("caesura.pt", voice="voice.wav") # voice: 3-10 s, 24 kHz mono WAV
audio = tts.say("Honestly, I didn't expect that at all. But you know what, it kind of makes sense.", level=1)
tts.save(audio, "out.wav")
From the command line:
caesura-say "So here's the thing about deadlines." --ckpt caesura.pt --voice voice.wav --level 2 -o out.wav
| Argument | Default | Meaning |
|---|---|---|
level |
1 |
0 calm, 1 lively, 2 very lively, None unconditioned |
strength |
3.0 |
guidance on the level; 1 turns it off, 2–3 steer harder at twice the compute |
temperature |
0.8 |
sampling temperature |
seed |
None |
fix it to get the same take again |
Text is cleaned before synthesis: quotes and apostrophes are dropped, ! is read as ., and a missing final stop is
added so the speech ends instead of trailing off. With the released checkpoint (trained on normalised text), numbers,
ordinals and currency are spelled out.
A GPU is recommended: on one RTX PRO 6000, 16 s of speech take about 5.5 s to generate with level guidance on.
Weights
The checkpoint and the reference voice will be published on Hugging Face. This repository contains the inference code.
Limitations
- English only.
- One voice per checkpoint works best; zero-shot voice cloning is not part of this release.
- Liveliness comes mostly from fillers and pauses; pitch and tempo vary less than in real speech.
- Rare proper names are still the main source of errors.
License
Code: Apache License 2.0. Caesura uses the Mimi codec by Kyutai and the GPT-2 tokenizer at run time; see NOTICE.
Citation
@misc{caesura2026,
title = {Caesura: Text-to-Speech with Controllable Liveliness},
author = {Manifestro},
year = {2026},
url = {https://github.com/Manifestro/caesura}
}
Metadata
Release files for caesura-tts 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| caesura_tts-0.1.0.tar.gz | 26.4 kB | With provenance | Details for caesura_tts-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| caesura_tts-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for caesura_tts-0.1.0-py3-none-any.whl |
Total release size: 53.8 kB
Release files / caesura_tts-0.1.0.tar.gz
| Download URL | caesura_tts-0.1.0.tar.gz |
|---|---|
| Size | 26.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
215b2843679a03b2f308d386aed89ab03adfa3e41d78c760a9afca250a9affeb
|
|
BLAKE2b-256 checksum How to use checksums |
8bee857f002adf465717360459a7034edcfc8641af6b7849bd69c9a6f257eb4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.
Transparency logRelease files / caesura_tts-0.1.0-py3-none-any.whl
| Download URL | caesura_tts-0.1.0-py3-none-any.whl |
|---|---|
| Size | 27.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36cd3d07a3f3f36623e26f668c2b1a4cf48a8462fd846d3dbd5904b12c649fea
|
|
BLAKE2b-256 checksum How to use checksums |
b7880ed9dc6380567f65a9f22a0e5b2f70680990e319397714e14903314d5629
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.
Transparency logSecurity for caesura-tts 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for caesura_tts-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.