OuteTTS
A Llama 3.2 1B language model retrained to speak, emitting DAC audio codec tokens from raw text.
Audio and speech · 900 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Audio and speech
- Parameters
- 1.2B
- Operations
- 900
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2024
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m2064
- Graph hash
- c4bbb47270c7b6a60d1d632c1682507655caf368dae793178e685616bd3ad8cc
- Skeleton hash
- 449ec8c4daf676f32a01d48bc5b1d265029085a1d4494fc9d6dc0eae275b702e
- Architecture hash
- 362683015cadf9a06c0e13ac85e9f496634da226119c122b4ef6f95d0eb705f7
- Diagram SHA-256
- 1de55e77c0b8dec0d8dfed206d87ca05ff14469ec206c6788a8f94d593f0934e
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
How this diagram was made
transformers.LlamaForCausalLM()
What it is
OuteTTS is a text-to-speech model built with Llama3.2-1B as the base model, with continued pre-training and fine-tuning on top. The captured member is version 1.0, which the card presents as a significant step up in speech synthesis and voice cloning in a compact size.
Speech reaches the language model as tokens. Audio goes through a DAC encoder from ibm-research/DAC.speech.v1.0, which uses two codebooks for high quality audio reconstruction. New special tokens stand for those two codebooks, c1 and c2. That fidelity has a price, since the token generation rate rises from 75 to 150 tokens per second. The model performs word alignment internally, so raw text goes in without pre-processing. The prompt also carries metadata such as time, energy, spectral centroid and pitch at both global and word levels.
The model is designed to be used with a speaker reference, and without one it generates random vocal characteristics. One-shot voice cloning typically needs only around 10 seconds of reference audio. A sampling quirk matters in practice, because the repetition penalty must apply to a 64-token recent window rather than the whole context, or the output breaks. Training used around 60k hours of audio. The maximum context window is 8,192 tokens, which comes to around 42 seconds of audio in a single run. The high training data languages run from English and Arabic to Russian and Spanish, with a second tier, Portuguese to Ukrainian, that received moderate training.
Key idea. OuteTTS turns the Llama3.2-1B language model into a text-to-speech system through continued pre-training and fine-tuning, with speech represented as DAC codebook tokens.
- OuteTTS
- Llama-OuteTTS-1.0-1B
- OuteTTS 1.0
- OuteAI
- text-to-speech
- tts
- speech synthesis
- voice cloning
- llama 3.2 1b
- dac codec
- multilingual tts
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.