fish_speech_llama_vq
Fish Speech V1.5: a Dual-AR transformer and Firefly-GAN codec for multilingual text-to-speech.
Audio and speech · 3,084 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
- 685M
- Operations
- 3,084
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2024
- Paper
- Fish-Speech: Leveraging Large Language Models for Advanced Multilingual Text-to-Speech Synthesis
- Cited by
- 150 (as of 23 November 2026)
- Authors
- Shijia Liao, Yuxuan Wang, Tianyu Li and others
- 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
- m4895
- Graph hash
- c943148f61a2c85789679be10831f0aedb8e57212b4b2b1dbf49c262675f041d
- Skeleton hash
- 2ee1f838c3106a367adfce554ec7e47ee32293d4f78cc270a2c94537efadab87
- Architecture hash
- ceeafcfb3edd0fd79043b3a7780582c7e90b6b276b0d5681c7522b6e7346bf76
- Diagram SHA-256
- cced23ed239768a82444e881258fafdd564de233a831131e10b44e551e05db20
- 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
What it is
Fish-Speech is a text-to-speech system that turns text into speech without a grapheme-to-phoneme step, using a large language model for the linguistic side instead. This model is Fish Speech V1.5, which its Hub card says was trained on more than 1 million hours of audio data in multiple languages. The code's README describes voice cloning from a 10 to 30-second vocal sample.
Speech tokens come from a serial fast-slow Dual Autoregressive (Dual-AR) design made of two transformers. A Slow Transformer reads the text embeddings and predicts semantic tokens. A Fast Transformer then refines that output through codebook embeddings, filling in the acoustic detail. The codes are turned into sound by Firefly-GAN (FF-GAN), which the paper describes as an enhanced version of the EVA-GAN architecture. The paper reports that its Grouped Finite Scalar Vector Quantization (GFSQ) reaches nearly 100% codebook utilization.
The technical report trains on about 720,000 hours of speech, with 300,000 hours each of English and Mandarin Chinese. In its voice cloning evaluation, fish-speech reached a word error rate of 6.89%, lower than the baseline models and than the ground-truth recordings at 9.22%. The paper reports real-time factors of about 1:5 on an NVIDIA RTX 4060 laptop GPU and 1:15 on an RTX 4090.
Key idea. Fish-Speech replaces grapheme-to-phoneme conversion with a large language model and a slow-fast Dual-AR transformer for multilingual speech synthesis.
- Fish-Speech
- Fish Speech
- fish_speech
- Fish Speech V1.5
- text-to-speech
- TTS
- voice cloning
- Dual-AR
- Firefly-GAN
- multilingual speech synthesis
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{liao2024fishspeechleveraginglargelanguage,
title={Fish-Speech: Leveraging Large Language Models for Advanced Multilingual Text-to-Speech Synthesis},
author={Shijia Liao and Yuxuan Wang and Tianyu Li and Yifan Cheng and Ruoyi Zhang and Rongzhi Zhou and Yijin Xing},
year={2024},
eprint={2411.01156},
archivePrefix={arXiv},
primaryClass={cs.SD},
url={https://arxiv.org/abs/2411.01156},
}