Skip to content
FossShelf
Home / Categories / For AI Engineers

SenseVoice

Multilingual speech recognition with emotion and audio event tagging

Replaces Deepgram, Assemblyai, Hume Ai

9.77K starsMITreviewed 31 Oct 2026last commit 30 Sept 2026
Screenshot of SenseVoice

Who it's for

Teams transcribing Chinese or Cantonese media at scale

SenseVoice-Small outperforms Whisper-Large on AISHELL-1, AISHELL-2, and Wenetspeech, making it the better starting point for Mandarin or Cantonese transcription pipelines. Self-hosting avoids per-minute fees that compound quickly on hours of recorded content.

Your audio is primarily English or a Western European language where Whisper-Large or a managed API already meets your accuracy bar. SenseVoice's Chinese and Cantonese advantage matters most in those specific languages.

AI developers building speech datasets with emotion labels

The combined transcription and emotion tag output annotates a corpus in one pass instead of requiring a second API call. At 15x the throughput of Whisper-Large in benchmarks, it processes large datasets without proportional GPU time costs.

Your dataset requires fine-grained emotion granularity beyond the tag set SenseVoice outputs, or you need speaker-attributed emotion per diarized segment. The emotion model is utterance-level, not sentence-level or speaker-level.

Developers replacing a managed ASR API with self-hosted inference

The FastAPI server wraps SenseVoice as an OpenAI-compatible endpoint, making migration from managed API clients straightforward. MIT license allows commercial use, and inference cost is fixed at server hardware rather than per audio minute.

You need managed scalability with zero infrastructure overhead. SenseVoice self-hosting requires a GPU server for full throughput; the llama.cpp CPU path is slower than GPU-accelerated managed APIs at comparable quality.

Edge and IoT engineers needing CPU-only speech recognition

The llama.cpp/GGUF binary runs SenseVoice with built-in VAD as a single executable on CPU hardware, with no Python or CUDA requirement. Prebuilt binaries are available from the repository's Releases page for deployment without a build environment.

Your edge device lacks the memory or CPU headroom for the GGUF model. The binary targets modern laptop-class CPUs and is not optimized for microcontroller-class hardware.

The problem

Managed speech-to-text APIs charge per audio minute, which compounds quickly at production scale. They also return only transcription text; getting emotion labels or audio event tags requires a separate API call, separate billing, and stitching results from two different services. For teams working with Chinese, Cantonese, or mixed-language audio, accuracy across commercial providers varies significantly, and none expose model weights for finetuning on domain vocabulary such as medical terms, company names, or technical jargon. Self-hosting an open model has historically meant accepting Whisper's latency tradeoff: Whisper-Large is accurate but slow, and Whisper-Small is faster but loses accuracy on Chinese and Cantonese. Building a production pipeline around either requires composing a separate voice activity detection model and a separate emotion classifier and stitching their outputs together before any result is usable.

How it works

Five-language ASR with Chinese and Cantonese accuracy

SenseVoiceSmall transcribes Mandarin, Cantonese, English, Japanese, and Korean in a single checkpoint. On AISHELL-1, AISHELL-2, and Wenetspeech benchmarks, the Small model outperforms Whisper-Large on Chinese recognition. Language is detected automatically unless you specify a language code, so mixed-language files do not require preprocessing.

Speech emotion recognition without finetuning

Outputs an emotion tag per utterance as part of the transcription pass, covering neutral, happy, sad, angry, and related classes. In benchmark comparisons reported in the README, SenseVoice-Small surpassed other open source emotion recognition models on the majority of test sets without any target-domain finetuning. SenseVoice-Large reached the top result on nearly all evaluated datasets.

Audio event detection for common sounds

Tags recognized sound events including background music, applause, laughter, crying, coughing, and sneezing alongside the transcription output. Trained primarily on speech data rather than environmental audio, so event classification accuracy has gaps compared to dedicated audio event detection models like BEATS and PANN on the ESC-50 benchmark.

Non-autoregressive architecture for low-latency inference

SenseVoiceSmall uses an end-to-end non-autoregressive encoder that benchmarks at more than 15 times the throughput of Whisper-Large and more than 5 times that of Whisper-Small at similar parameter counts. Long recordings pass through FSMN-VAD segmentation first; the bounded-window script long_audio_no_vad.py handles hour-scale files on fixed GPU memory.

CPU and edge deployment via llama.cpp and GGUF

A prebuilt binary derived from llama.cpp runs SenseVoice with built-in FSMN-VAD as a single self-contained executable, with no Python or CUDA dependency. Download the GGUF model from Hugging Face and point the binary at any WAV file. Prebuilt binaries are available from the repository's Releases page.

Speaker diarization via FunASR pipeline composition

Composing SenseVoiceSmall with CAM++, FSMN-VAD, and a punctuation model through FunASR produces per-sentence output with anonymous speaker labels and timestamps. The diarization output comes from the composed pipeline, not the SenseVoiceSmall checkpoint itself; it requires FunASR 1.4.15 or newer and the local model.py file from this repository.

Features

  • Five-language ASR with Chinese and Cantonese accuracy
  • Speech emotion recognition without finetuning
  • Audio event detection for common sounds
  • Non-autoregressive architecture for low-latency inference
  • CPU and edge deployment via llama.cpp and GGUF
  • Speaker diarization via FunASR pipeline composition

How to install

Install the FunASR library via pip to run SenseVoiceSmall in Python.

pip install "funasr==1.4.14"

For CPU or edge deployment without Python, download the prebuilt llama.cpp binary and GGUF model:

bash runtime/llama.cpp/download-funasr-model.sh sensevoice ./gguf
llama-funasr-sensevoice -m ./gguf/sensevoice-small-f16.gguf --vad ./gguf/fsmn-vad.gguf -a audio.wav

Recommended for this setup

Strengths

  • MIT license with full weight access for finetuning: The MIT license applies to the model weights, not just the code. You can run SenseVoice commercially on your own infrastructure without licensing fees and finetune the checkpoint on proprietary data. Finetuning scripts are included in the repository for adapting to domain-specific vocabulary or improving accuracy on long-tail samples.
  • Chinese and Cantonese accuracy advantage over Whisper: On the AISHELL-1, AISHELL-2, and Wenetspeech benchmarks, SenseVoice-Small outperforms Whisper-Large on Chinese recognition. This is the primary accuracy case for choosing SenseVoice over Whisper: the Chinese and Cantonese gap is measurable at the Small model tier, while English accuracy is competitive.
  • Single model pass for transcription, emotion, and audio events: One model.generate() call returns the transcript, language tag, emotion tag, and audio event tags together. Managed ASR APIs charge separately for emotion analysis or do not offer it at all. The unified output reduces pipeline complexity and eliminates the latency of chained API calls.
  • FastAPI server with OpenAI-compatible endpoint: The FastAPI service wraps SenseVoice on port 50000 with multi-concurrent request support and client examples in Python, C++, HTML, Java, and C#. This makes it a drop-in self-hosted replacement for managed ASR API endpoints without rewriting client code.

Trade-offs

  • Audio event detection lags specialized AED models: The README explicitly states that due to limitations in training data and methodology, SenseVoice's event classification performance has gaps compared to BEATS and PANN on the ESC-50 benchmark. If your primary use case is environmental audio tagging rather than speech, a dedicated audio event detection model will outperform SenseVoice on that task.
  • GPU memory scales with audio length without VAD: Passing long recordings directly to model.generate() causes encoder memory to grow with file duration, leading to out-of-memory errors on typical GPU sizes. The recommended workaround is FSMN-VAD segmentation before encoding, or the bounded-window long_audio_no_vad.py script for hour-scale files. This adds pipeline complexity that managed APIs handle transparently.
  • Docker prebuilt image is currently private: The GitHub Container Registry package at ghcr.io/qwenaudio/sensevoice is currently private; anonymous pulls return HTTP 401. Self-hosters must build the Docker image locally from the repository source. The llama.cpp binary path avoids this constraint for CPU deployments.
  • Diarization composition is not validated for accuracy: The speaker diarization pipeline composed with CAM++ is documented as tested on a fixed public sample, not validated for diarization accuracy on real recordings. The README explicitly notes this. Teams that need reliable speaker attribution should treat this path as experimental and evaluate it against their own data.

Tech stack

Languages
C, C++, Python, Shell, HTML, CMake, Dockerfile
Frameworks
FastAPI, PyTorch
Databases
—
Tooling
—

FAQ

Does SenseVoice support languages beyond the five in SenseVoiceSmall?

The released SenseVoiceSmall checkpoint supports Mandarin, Cantonese, English, Japanese, and Korean. The broader SenseVoice research paper reports training on more than 50 languages and 400,000 hours of data, but those weights are not in the public release. The checkpoint outputs a nospeech tag for audio that contains no recognizable speech in the supported languages.

Can I finetune SenseVoice on my own vocabulary or domain data?

Yes. The MIT license covers the model weights, and finetuning scripts are included in the repository. Custom finetuning requires cloning the FunASR repository and installing it in development mode. The README points to FunASR's finetuning documentation for the full procedure, which covers data preparation, training configuration, and long-tail sample strategies.

How does SenseVoice compare to Whisper on English transcription accuracy?

The benchmarks in the README focus on Chinese and Cantonese datasets where SenseVoice has a measurable advantage over Whisper-Large. On English datasets such as LibriSpeech and Common Voice, SenseVoice is competitive with Whisper at similar parameter counts. For English-primary workloads, the main differentiator is speed and the built-in emotion and audio event tags rather than an accuracy gap.

Is there a prebuilt Docker image available without building from source?

The ghcr.io/qwenaudio/sensevoice container package is currently private and returns HTTP 401 on anonymous pulls. You must build the image locally using the Dockerfile in the repository root with docker build -t sensevoice. The llama.cpp binary from the Releases page is the easiest zero-build deployment path for CPU use.

What is the difference between SenseVoiceSmall and SenseVoice-Large?

SenseVoiceSmall is the publicly released checkpoint, optimized for low-latency inference across the five supported languages. SenseVoice-Large appears in the emotion recognition benchmarks in the README, where it outperforms SenseVoice-Small and achieves the best result on nearly all evaluated datasets. The Large checkpoint weights are not available in the public model zoo at this writing.

Similar tools

More in AI Engineers