All models

Mini-Omni

A small language model that hears speech and answers in streaming speech while it generates the text.

Audio and speech · 1,508 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (146 KB)

Open in a new tab

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

Parameters
532M
Operations
1,508
Framework
PyTorch
Recurrent
No
Published
technical report (arXiv 2024)
Cited by
4 (as of 24 October 2026)
Authors
Zhifei Xie, Changqiao Wu
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m18460
Graph hash
8cd86403160ca37b9f99aab1707d7ba829b7772d4edd2632290de5be1c71ee70
Skeleton hash
f19906ac3cb5814a1cce9e53b5469edab1cc2dd1fc799f41ce0b9075246b0ca1
Architecture hash
1d277e5b2db7d9291ee62baa4ff78ef5ce08321b10d36db7bbb60eef7a02208a
Diagram SHA-256
afac82ae79222a75aa7b7381a3e99dda50196169aa09ab7ba75bbc454f2e62c8
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

Mini-Omni is an audio-based, end-to-end conversational model for real-time speech interaction: it hears speech and talks back while it is still producing its answer. The paper notes that academic models of the time typically depended on extra TTS systems for speech synthesis, which added latency.

The model is built on Qwen2-0.5B, a transformer with 24 blocks, with a Whisper-small speech encoder joined through a two-layer MLP adapter and a TTS adapter of 6 extra transformer blocks. Audio is represented with the SNAC codec, which has seven token layers. Eight language model heads generate eight tokens in one step, the text token first and then SNAC tokens from the first to the seventh layer, with a one-step delay between adjacent layers.

The authors call their training method "Any Model Can Talk" and release the VoiceAssistant-400K dataset for fine-tuning speech output. They describe Mini-Omni as, to their knowledge, the first fully end-to-end, open-source model for real-time speech interaction.

Key idea. Mini-Omni showed that a language model can produce text and streaming audio tokens in parallel, giving real-time speech output without a separate TTS system.

  • mini-omni
  • mini omni
  • speech-to-speech
  • voice assistant
  • spoken dialogue model
  • streaming speech
  • any model can talk
  • talk while thinking
  • snac
  • qwen2-0.5b

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{xie2024miniomnilanguagemodelshear,
      title={Mini-Omni: Language Models Can Hear, Talk While Thinking in Streaming}, 
      author={Zhifei Xie and Changqiao Wu},
      year={2024},
      eprint={2408.16725},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2408.16725}, 
}