--- license: apache-2.0 language: - zh - en metrics: - cer pipeline_tag: automatic-speech-recognition tags: - Paraformer - FunASR - ASR - streaming - real-time library_name: funasr ---
### ⭐ Powered by [FunASR](https://github.com/modelscope/FunASR) — please give us a GitHub Star! This model is part of the **FunASR** ecosystem — one industrial-grade open-source toolkit for **ASR · VAD · punctuation · speaker diarization · emotion / event · LLM-ASR**. A Star really helps the project (and keeps you updated): [**🌟 FunASR**](https://github.com/modelscope/FunASR) · [**🌟 SenseVoice**](https://github.com/FunAudioLLM/SenseVoice) · [**🌟 Fun-ASR**](https://github.com/FunAudioLLM/Fun-ASR) · [**🌟 FunClip**](https://github.com/modelscope/FunClip)
# Paraformer-zh-streaming **Streaming speech recognition** — real-time transcription with low latency for Chinese. Streaming variant of Paraformer that processes audio in chunks, delivering results in real-time as audio arrives. ## Quick Start ```python from funasr import AutoModel model = AutoModel( model="funasr/paraformer-zh-streaming", hub="hf", device="cuda", ) # Streaming inference with chunk processing import sounddevice as sd import numpy as np chunk_size = [0, 10, 5] # [lookback, chunk, lookahead] in 60ms frames result = model.generate( input="audio.wav", chunk_size=chunk_size, encoder_chunk_look_back=4, decoder_chunk_look_back=1, ) print(result[0]["text"]) ``` ## Features - Real-time streaming recognition - Low latency chunk-by-chunk processing - Chinese + English support - Compatible with WebSocket deployment ## Model Details | Property | Value | |----------|-------| | Architecture | Paraformer-Streaming | | Parameters | 220M | | Languages | Chinese, English | | Mode | Streaming (online) | | Sample Rate | 16kHz | ## Links - **GitHub**: [FunASR](https://github.com/modelscope/FunASR) - **Docs**: [modelscope.github.io/FunASR](https://modelscope.github.io/FunASR/) - **Offline version**: [funasr/paraformer-zh](https://huggingface.co/funasr/paraformer-zh)