Developers building speech recognition systems face a persistent trade-off: commercial APIs offer broad language support but lock you into pricing and data policies, while open-source alternatives often sacrifice accuracy for specific languages or require heavy infrastructure. Chinese dialects, regional accents, and Southeast Asian languages remain particularly underserved. FunAudioLLM/Fun-ASR addresses this gap directly—an open-source, LLM-based ASR model family from Tongyi Lab that supports 31 languages, 7 Chinese dialects, 26 regional accents, and deployment options ranging from GPU clusters to CPU-only edge devices via llama.cpp.
What is FunAudioLLM/Fun-ASR?
FunAudioLLM/Fun-ASR is a family of end-to-end speech recognition models released by Tongyi Lab, built on large language model architectures for automatic speech recognition (ASR). The project lives at https://github.com/FunAudioLLM/Fun-ASR and has accumulated 1,404 stars and 137 forks as of its last commit on July 14, 2026. The repository's primary language is C, reflecting its investment in low-level runtime performance, particularly for the llama.cpp edge deployment path.
The model family centers on two distinct checkpoints:
- Fun-ASR-Nano-2512 (800M parameters): Trained on tens of millions of hours of speech, supporting Chinese, English, Japanese, 7 Chinese dialects (Wu, Cantonese, Min, Hakka, Gan, Xiang, Jin), and 26 regional accents. Also handles lyric recognition and rap speech recognition under music background interference.
- Fun-ASR-MLT-Nano-2512 (800M parameters): Trained on hundreds of thousands of hours, supporting 31 languages with emphasis on East and Southeast Asian languages including Vietnamese, Indonesian, Thai, Malay, Filipino, Korean, Arabic, Hindi, and 20 European languages.
Both checkpoints integrate with the FunASR inference and serving toolkit, and natively support vLLM for high-throughput batch processing and llama.cpp/GGUF for edge deployment. The project is licensed under Apache License 2.0 for source code; model weights carry Apache-2.0 per their current Hugging Face cards (verify specific artifacts before commercial use).
FunAudioLLM/Fun-ASR sits within a broader speech AI ecosystem that includes FunASR (the foundational toolkit), SenseVoice (emotion and audio event understanding), CosyVoice (speech generation), and FunClip (video clipping). This integration matters for developers who need ASR as one component in larger audio pipelines.
Key Features
Far-field and high-noise optimization. The models are specifically tuned for challenging acoustic environments—conference rooms, vehicles, industrial sites—with claimed recognition accuracy of 93% in these scenarios. This is not generic noise robustness but targeted optimization for real-world deployment conditions.
Granular Chinese language support. Beyond standard Mandarin, Fun-ASR-Nano covers 7 major dialect groups and 26 regional accents including Henan, Shaanxi, Hubei, Sichuan, Chongqing, Yunnan, Guizhou, Guangdong, and Guangxi. This level of dialect granularity is uncommon in open-source ASR and addresses a genuine gap for China-focused applications.
Multilingual breadth with regional specificity. Fun-ASR-MLT-Nano's 31-language coverage includes not just major world languages but strategically important regional languages—Vietnamese, Indonesian, Thai, Malay, Filipino—plus Arabic and Hindi. European coverage extends to Bulgarian, Croatian, Czech, Danish, Dutch, Estonian, Finnish, Greek, Hungarian, Irish, Latvian, Lithuanian, Maltese, Polish, Portuguese, Romanian, Slovak, Slovenian, and Swedish.
Multiple deployment runtimes. Three distinct inference paths serve different operational constraints:
- FunASR (PyTorch): Full pipeline with VAD, speaker diarization, punctuation restoration
- vLLM: 3-5x faster batch throughput, WebSocket real-time streaming, production service deployment
- llama.cpp/GGUF: Single self-contained binary, CPU-only, no Python↗ Bright Coding Blog runtime, quantized to ~484 MB
Music-background lyric recognition. Specialized handling for speech under music interference, including accurate lyric transcription and rap recognition—capabilities typically absent from general-purpose ASR systems.
Use Cases
Regional Chinese voice applications. For products serving non-Mandarin Chinese speakers—Cantonese customer service in Guangdong, Sichuanese voice interfaces, Wu dialect accessibility tools—Fun-ASR-Nano provides out-of-the-box coverage without custom training. The 26 regional accent distinctions also improve recognition for Mandarin speakers with strong regional influences.
Southeast Asian multilingual platforms. Fun-ASR-MLT-Nano's concentration of Vietnamese, Indonesian, Thai, Malay, and Filipino makes it suitable for regional super-apps or logistics platforms operating across ASEAN markets. Single-model deployment reduces infrastructure complexity versus maintaining separate ASR systems per language.
Edge and offline transcription. The llama.cpp/GGUF path enables on-device transcription for privacy-sensitive scenarios—medical dictation, legal proceedings, classified environments—where cloud transmission is prohibited. The ~484 MB quantized model runs as a single binary with built-in VAD, requiring no Python environment.
Real-time meeting transcription with speaker labels. Composing Fun-ASR-Nano with FSMN-VAD, CAM++ speaker embedding, and CT-Punc punctuation in the FunASR pipeline yields per-sentence speaker diarization. Suitable for enterprise meeting assistants where speaker attribution matters as much as transcription accuracy.
Music and media content pipelines. Lyric recognition under music background supports music streaming platforms, karaoke applications, and content moderation for user-generated video with overlaid music.
Installation & Setup
Basic environment setup from the repository:
git clone https://github.com/FunAudioLLM/Fun-ASR.git
cd Fun-ASR
pip install -r requirements.txt
For vLLM high-throughput inference, install specific versions:
pip install funasr>=1.3.3 vllm>=0.12.0
For the llama.cpp edge runtime, download prebuilt binaries from Releases or build from source. The model downloader script fetches both the ASR encoder/LLM and FSMN-VAD:
bash runtime/llama.cpp/download-funasr-model.sh nano ./gguf
The nano argument specifies the Fun-ASR-Nano checkpoint; the ./gguf directory receives the quantized model files. The script automatically fetches fsmn-vad.gguf from the separate FunAudioLLM/fsmn-vad-GGUF repository. For manual VAD download:
hf download FunAudioLLM/fsmn-vad-GGUF --include "*.gguf" --local-dir ./gguf
Key setup considerations:
- The
trust_remote_code=Trueandremote_code="./model.py"parameters are required for loading the custom model implementation from Hugging Face/ModelScope - Speaker diarization requires installing FunASR from source:
pip install git+https://github.com/modelscope/FunASR.git - GPU specification uses standard PyTorch device strings (
cuda:0,cpu)
Real Code Examples
Basic Inference with FunASR
from funasr import AutoModel
def main():
model_dir = "FunAudioLLM/Fun-ASR-Nano-2512"
model = AutoModel(
model=model_dir,
trust_remote_code=True,
remote_code="./model.py",
device="cuda:0",
# hub:download models from ms (for ModelScope) or hf (for Hugging Face).
hub="hf"
)
wav_path = f"{model.model_path}/example/zh.mp3"
res = model.generate(
input=[wav_path],
cache={},
batch_size=1,
hotwords=["开放时间"],
# 中文、英文、日文 for Fun-ASR-Nano-2512
language="中文",
itn=True, # or False
)
text = res[0]["text"]
print(text)
if __name__ == "__main__":
main()
This example demonstrates core inference with the FunASR AutoModel interface. The trust_remote_code=True and remote_code parameters load the custom model architecture from the repository. The hotwords parameter injects domain-specific vocabulary for improved recognition of critical terms. itn=True enables inverse text normalization (converting spoken forms like "二零二四年" to "2024年").
CPU-Edge Inference with llama.cpp
llama-funasr-cli --enc ./gguf/funasr-encoder-f16.gguf \
-m ./gguf/qwen3-0.6b-q8_0.gguf \
-a audio.wav \
--vad ./gguf/fsmn-vad.gguf
This single binary execution requires no Python runtime. The encoder (--enc) processes acoustic features, the LLM checkpoint (-m) performs text generation, and the VAD (--vad) handles voice activity detection internally. The Q8_0 quantization provides a balance between size and accuracy; other quantization levels are available in the Nano GGUF repository.
vLLM Batch Inference for Throughput
from funasr.auto.auto_model_vllm import AutoModelVLLM
model = AutoModelVLLM(
model="FunAudioLLM/Fun-ASR-Nano-2512",
tensor_parallel_size=2, # Multi-GPU
gpu_memory_utilization=0.8,
)
results = model.generate(
["audio1.wav", "audio2.wav", "audio3.wav"],
language="中文",
hotwords=["张三", "北京"],
)
for r in results:
print(f"[{r['key']}] {r['text']}")
The AutoModelVLLM class leverages vLLM's PagedAttention for continuous batching. The benchmark shows 16x speedup over PyTorch native (340x RTFx vs. 21x RTFx) with CER degradation under 0.2% (8.20% vs. 8.06%). Note that AutoModelVLLM processes each input in a single pass—long audio may require pre-segmentation with VAD.
Speaker Diarization Pipeline
from funasr import AutoModel
def main():
model_dir = "FunAudioLLM/Fun-ASR-Nano-2512"
model = AutoModel(
model=model_dir,
trust_remote_code=True,
remote_code="./model.py",
vad_model="fsmn-vad",
vad_kwargs={"max_single_segment_time": 30000},
spk_model="cam++",
punc_model="ct-punc",
device="cuda:0",
hub="hf",
)
wav_path = f"{model.model_path}/example/zh.mp3"
res = model.generate(input=[wav_path], cache={}, batch_size=1, language="中文")
# Per-sentence results with speaker labels
for sent in res[0]["sentence_info"]:
print(f"Speaker {sent['spk']}: [{sent['start']}ms - {sent['end']}ms] {sent['sentence']}")
if __name__ == "__main__":
main()
This composed pipeline combines four models: Fun-ASR-Nano for transcription, FSMN-VAD for segmentation, CAM++ for speaker embedding, and CT-Punc for punctuation. The start and end values are VAD segment boundaries, not character-level timestamps—issue #106 documents that the Nano checkpoint lacks trained CTC weights for reliable native timestamps.
Advanced Usage & Best Practices
Batching strategy for PyTorch path. When using the standard funasr path (not vLLM), pass batch_size_s=120 to batch VAD segments through the LLM decoder together. On Fun-ASR-Nano-2512 with 184 Chinese files (11,539s total) on a single H100, this achieves 1.6x speedup (RTFx 19.8 → 31.8) without accuracy loss. This parameter represents approximately 120 seconds of audio per LLM call, not a fixed batch count.
Hotwords for domain adaptation. The hotwords parameter provides lightweight domain adaptation without fine-tuning. For medical transcription, legal proceedings, or product-specific terminology, inject critical terms at inference time. This is particularly effective for named entities and rare technical vocabulary.
Language selection precision. The language parameter accepts exact strings documented for each checkpoint. For Fun-ASR-Nano-2512: 中文, 英文, 日文. For Fun-ASR-MLT-Nano-2512: the full list of 31 language names in Chinese (e.g., 越南语, 印尼语, 泰语). Mismatch between checkpoint and language parameter produces undefined behavior.
VAD segment duration tuning. The max_single_segment_time=30000 parameter (30 seconds) in vad_kwargs prevents excessively long segments that challenge the LLM decoder. Reduce this for audio with rapid speaker changes; increase for monologue content where context coherence matters.
Timestamp reliability awareness. For applications requiring accurate character-level timestamps, the README explicitly recommends using Paraformer (AutoModel(model="paraformer-zh", vad_model="fsmn-vad", ...)) rather than Fun-ASR-Nano. Plan pipeline architecture accordingly if timestamps are critical.
Comparison with Alternatives
| Aspect | FunAudioLLM/Fun-ASR | Whisper (OpenAI) | GLM-ASR |
|---|---|---|---|
| Chinese dialects | 7 dialects + 26 accents | Limited | Limited |
| Southeast Asian languages | 31 languages (MLT-Nano) | Partial via Whisper-large-v3 | Not documented |
| Edge deployment | Native llama.cpp/GGUF | Community ports (whisper.cpp) | Not documented |
| Batch throughput | Native vLLM (340x RTFx) | Faster-Whisper, etc. | Not documented |
| Model size (open) | 800M parameters | 1.6B (large-v3) | 1.5B |
| Speaker diarization | Composed pipeline (VAD+CAM++) | Not native | Not documented |
| Music/lyric recognition | Native support | Not specialized | Not documented |
| License | Apache-2.0 (code + weights) | MIT (code), various (weights) | Apache-2.0 |
Trade-offs to consider: Whisper benefits from broader ecosystem adoption and extensive community tooling. GLM-ASR-nano shows competitive benchmark numbers on some test sets but lacks the deployment flexibility and dialect coverage of Fun-ASR. Fun-ASR's 800M parameter count is smaller than Whisper-large-v3's 1.6B, which may matter for latency-constrained applications but could limit performance on some English benchmarks where larger models excel.
FAQ
Does Fun-ASR-Nano provide reliable timestamps? No. The released checkpoint lacks trained CTC decoder weights. Use Paraformer for timestamp-critical applications.
Can I run this without a GPU? Yes. The llama.cpp/GGUF path runs on CPU-only systems as a single binary, quantized to ~484 MB.
Is speaker diarization built into the model? No. Compose with FSMN-VAD and CAM++ in the FunASR pipeline for per-sentence speaker labels.
What languages does each checkpoint support? Fun-ASR-Nano: Chinese, English, Japanese, Chinese dialects/accents. Fun-ASR-MLT-Nano: 31 languages including East/Southeast Asian and European languages.
Do I need to install FunASR from source? Yes, for speaker diarization features. Standard inference works with pip install funasr.
What's the vLLM speedup versus PyTorch? Benchmark shows 16x faster throughput (340x RTFx vs. 21x RTFx) with <0.2% CER degradation.
Can I fine-tune these models? Yes. Documentation is at docs/finetune.md.
Conclusion
FunAudioLLM/Fun-ASR is purpose-built for developers who need multilingual ASR with specific strength in Chinese dialects, Southeast Asian languages, and flexible deployment options. The 800M parameter checkpoints punch above their weight on regional language benchmarks, and the triple runtime support—FunASR for full pipelines, vLLM for throughput, llama.cpp for edge—provides genuine operational flexibility.
The project is best suited for: teams building China/ASEAN-focused voice products, privacy-conscious applications requiring offline transcription, and platforms needing unified ASR across diverse language portfolios without maintaining multiple vendor relationships.
The honest limitations matter too: timestamp reliability requires falling back to Paraformer, speaker diarization needs pipeline composition, and the project is newer than Whisper with a smaller community ecosystem. For developers where the language coverage and deployment paths align with their stack, these are acceptable trade-offs.
Explore the repository, run the Colab quickstart, or deploy the llama.cpp binary to evaluate fit for your use case: https://github.com/FunAudioLLM/Fun-ASR