MiniMind-O is an open-source project that fully implements a small-scale end-to-end Omni model from 0. A single set of weights simultaneously supports text/audio/image trimodal input and text/streaming speech output. It is the third stop after MiniMind (language) and MiniMind-V (visual multimodal), continuing the design paradigm of this series.
Purpose The project aims to directly connect speech and text at the hidden state level, rather than chaining ASR, LLM, and TTS into a cascaded pipeline, thereby avoiding the latency and loss of tone and emotional information caused by intermediate text transcription. The goal is to preserve the end-to-end Omni pipeline at a scale where the main backbone is only 0.1B, so that everyone can start reading from the first line of code and train from 0 a model that can listen, see, think, and speak.
Main capabilities
- Release two versions: minimind-3o (115M) and minimind-3o-moe (312M-A115M).
- Thinker–Talker dual-path architecture. Talker uses MTP (Multi-Token Prediction) to predict multi-layer Mimi codes, supporting 24 kHz streaming speech generation and barge-in interruption.
- The audio codec uses Mimi (8-layer codebook, 12.5 Hz, 24 kHz). Talker uses a shared main body and lightweight adapters on the codebook interface.
- Speech/visual features are encoded by frozen SenseVoice-Small and SigLIP2 respectively, and then injected into the MiniMind latent space through a two-layer MLP projector.
- Provide multiple built-in voices, unseen voices, and voice cloning capability for any reference audio.
- Provide complete inference and Demo tools, supporting CLI inference, Web UI, streaming playback, barge-in interruption, and telephone mode.
- Key modules are all implemented from 0 natively in PyTorch, without relying on third-party high-level wrappers; compatible with transformers Tokenizer and native weight formats.
- The accompanying technical report covers architecture, training curves, CER/WER evaluation, voice cloning similarity, and cross-model comparison.
Usage The project provides two training datasets, mini and full. Mini is filtered from full by "English + no vision", with The default --data_path of train_sft_omni.py can be used directly, and the full pipeline can be run through in about 2 hours on a single 3090, making it easy to get started; full corresponds to the released weights and covers Chinese speech and image tasks. The training entry point is train_sft_omni.py, and the recommended workflow is in trainer/train.sh, which by default is executed in the trainer/ directory, so you can directly run cd trainer && bash train.sh. In the training modes, all updates MiniMind/Talker/projector, while audio_proj and vision_proj are only used to separately align the corresponding projection layers; SenseVoice-Small, SigLIP2, and Mimi are always frozen. full training gradually adds capabilities according to the data flow: sft_t2a first aligns text-to-speech output; sft_a2a then adds speech input; sft_i2t finally aligns the vision path. For inference, the Transformers version includes minimind-3o and minimind-3o-moe, suitable for direct use in eval_omni.py and WebUI inference; the native PyTorch weights are mainly used for training, reproducing experiments, and continued fine-tuning. The WebUI can be launched via scripts/web_demo_omni.py (Gradio non-real-time demo) or webui/web_demo.py (real-time voice call).
Use cases Suitable for researchers and developers who want to understand, train, and modify a complete Omni model from scratch, for understanding design details such as Thinker–Talker decoupling, the MTP codebook interface, in-context voice cloning, and the middle hidden bridge. It can also serve as a reproducible baseline for a small-model omni pipeline, for experiments such as speech-to-speech, image question answering, and real-time interaction.
Limitations The current model still has a gap compared with large-scale Omni systems: long-speech naturalness, complex visual reasoning, open-ended medium-to-long English responses, and timbre stability are not its strong areas. The vision path is closer to a compact vision-to-speech pipeline, and the MoE version is more like a capacity allocation experiment rather than the optimal solution at the same compute. Voice cloning is currently still in Beta capability, and the same reference timbre does not always remain consistent across different questions, and it is easily thrown off by pronunciation and rhythm issues in long sentences. Interruption detection is still only a simple VAD threshold, and cannot yet be called semantic-level interruption. The Chinese Talker has to handle more complex character-to-sound mapping, prosodic pauses, and multi-speaker stability at the same time, which is clearly harder than English and cannot be completed by relying on the mini training of about 2 hours on a single 3090.
The project follows the Apache-2.0 License open-source license.