What's New
Bug Fix
- Fixed hub parameter propagation — When using
hub="hf", the parameter is now correctly forwarded to VAD/PUNC/SPK sub-models. Previously, users on HuggingFace would get 404 errors for sub-models. (#2859)
Improvements
Benchmark Results (PyTorch, GPU)
| Model |
Type |
Speed |
| SenseVoice-Small |
NAR |
170x realtime |
| Paraformer-Large |
NAR |
120x realtime |
| Whisper-large-v3-turbo |
AR |
46x realtime |
| Fun-ASR-Nano |
LLM |
17x realtime |
| Whisper-large-v3 |
AR |
13.4x realtime |
Install / Upgrade
pip install --upgrade funasr
Quick Start
from funasr import AutoModel
model = AutoModel(model="FunAudioLLM/SenseVoiceSmall", hub="hf", vad_model="funasr/fsmn-vad", device="cuda")
result = model.generate(input="audio.wav")