# StreamSpeech [![arXiv](https://img.shields.io/badge/arXiv-2406.03049-b31b1b.svg?logo=arXiv)](https://arxiv.org/abs/2406.03049) [![project](https://img.shields.io/badge/%F0%9F%8E%A7%20Demo-Listen%20to%20StreamSpeech-orange.svg)](https://ictnlp.github.io/StreamSpeech-site/) [![model](https://img.shields.io/badge/%F0%9F%A4%97%20-StreamSpeech_Models-blue.svg)](https://huggingface.co/ICTNLP/StreamSpeech_Models/tree/main) [![Hits](https://hitscounter.dev/api/hit?url=https%3A%2F%2Fgithub.com%2Fictnlp%2FStreamSpeech&label=Vistors&icon=graph-up&color=%23dc3545)](https://hits.seeyoufarm.com) [![twitter](https://img.shields.io/badge/Twitter-@Gorden%20Sun-black?logo=X&logoColor=black)](https://x.com/Gorden_Sun/status/1798742796524007845) [![twitter](https://img.shields.io/badge/Twitter-@imxiaohu-black?logo=X&logoColor=black)](https://x.com/imxiaohu/status/1798999363987124355) > **Authors**: **[Shaolei Zhang](https://zhangshaolei1998.github.io/), [Qingkai Fang](https://fangqingkai.github.io/), [Shoutao Guo](https://scholar.google.com.hk/citations?user=XwHtPyAAAAAJ&hl), [Zhengrui Ma](https://scholar.google.com.hk/citations?user=dUgq6tEAAAAJ), [Min Zhang](https://scholar.google.com.hk/citations?user=CncXH-YAAAAJ), [Yang Feng*](https://people.ucas.edu.cn/~yangfeng?language=en)** Code for ACL 2024 paper "[StreamSpeech: Simultaneous Speech-to-Speech Translation with Multi-task Learning](https://arxiv.org/pdf/2406.03049)".

StreamSpeech

🎧 Listen to StreamSpeech's translated speech 🎧

πŸ’‘**Highlight**: 1. StreamSpeech achieves **SOTA performance** on both offline and simultaneous speech-to-speech translation. 2. StreamSpeech performs **streaming ASR**, **simultaneous speech-to-text translation** and **simultaneous speech-to-speech translation** via an "All in One" seamless model. 3. StreamSpeech can present intermediate results (i.e., ASR or translation results) during simultaneous translation, offering a more comprehensive low-latency communication experience. ## πŸ”₯News - [2025.06.17] We are excited to extend the "All-in-One" feature of StreamSpeech to more general multimodal interactions via developing **Stream-Omni**. πŸ‘‰Refer to [paper](https://arxiv.org/abs/2506.13642), [code & demo](https://github.com/ictnlp/Stream-Omni), [model](https://huggingface.co/ICTNLP/stream-omni-8b) for more details. - Stream-Omni is an GPT-4o-like language-vision-speech chatbot that simultaneously supports interactions across any combination of text, vision, and speech modalities. - Stream-Omni can simultaneously produce intermediate textual results (e.g., ASR transcriptions and model responses) during speech interactions, like the advanced voice service of GPT-4o. - [2024.06.17] Add [Web GUI demo](./demo), now you can experience StreamSpeech in your local browser. - [2024.06.05] [Paper](https://arxiv.org/pdf/2406.03049), [code](https://github.com/ictnlp/StreamSpeech), [models](https://huggingface.co/ICTNLP/StreamSpeech_Models/tree/main) and [demo](https://ictnlp.github.io/StreamSpeech-site/) of StreamSpeech are available! ## ⭐Features ### Support 8 Tasks - **Offline**: Speech Recognition (ASR)βœ…, Speech-to-Text Translation (S2TT)βœ…, Speech-to-Speech Translation (S2ST)βœ…, Speech Synthesis (TTS)βœ… - **Simultaneous**: Streaming ASRβœ…, Simultaneous S2TTβœ…, Simultaneous S2STβœ…, Real-time TTSβœ… under any latency (with one model) ### GUI Demo https://github.com/ictnlp/StreamSpeech/assets/34680227/4d9bdabf-af66-4320-ae7d-0f23e721cd71

Simultaneously provide ASR, translation, and synthesis results via a seamless model

### Case > **Speech Input**: [example/wavs/common_voice_fr_17301936.mp3](./example/wavs/common_voice_fr_17301936.mp3) > > **Transcription** (ground truth): jai donc lexpΓ©rience des annΓ©es passΓ©es jen dirai un mot tout Γ  lheure > > **Translation** (ground truth): i therefore have the experience of the passed years i'll say a few words about that later | StreamSpeech | Simultaneous | Offline | | ----------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | | **Speech Recognition** | jai donc expΓ©rience des annΓ©es passΓ© jen dirairai un mot tout Γ  lheure | jai donc lexpΓ©rience des annΓ©es passΓ© jen dirairai un mot tout Γ  lheure | | **Speech-to-Text Translation** | i therefore have an experience of last years i will tell a word later | so i have the experience in the past years i'll say a word later | | **Speech-to-Speech Translation** |