Downloads · 30 days
1.7K
14% of all-time downloads
funasr/paraformer-zh
paraformer-zh is a automatic speech recognition model from funasr. Use it when you need speech turned into text. It is set up for funasr. The card lists the license as apache-2.0.
Downloads · 30 days
1.7K
14% of all-time downloads
All-time downloads
12.2K
Public
Repo size
881 MB
Likes
70
Public
Click a slice to open those files.
.pt881 MB · 99%
From the Hugging Face model README
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 · 🌟 SenseVoice · 🌟 Fun-ASR · 🌟 FunClip
</div>Non-autoregressive end-to-end speech recognition — 120x realtime on GPU, production-ready for Mandarin Chinese.
Paraformer is a non-autoregressive (NAR) ASR model that generates the entire output in parallel, achieving significant speedups over autoregressive models like Whisper while maintaining competitive accuracy.
from funasr import AutoModel
# Basic recognition
model = AutoModel(model="funasr/paraformer-zh", hub="hf", device="cuda")
result = model.generate(input="audio.wav")
print(result[0]["text"])
from funasr import AutoModel
model = AutoModel(
model="funasr/paraformer-zh",
hub="hf",
vad_model="funasr/fsmn-vad",
punc_model="funasr/ct-punc",
spk_model="funasr/campplus",
device="cuda",
)
result = model.generate(input="meeting.wav")
# Output includes timestamps, punctuation, and speaker labels
for sentence in result[0]["sentence_info"]:
print(f"[Speaker {sentence['spk']}] {sentence['text']}")
| Property | Value |
|---|---|
| Architecture | Paraformer (Non-autoregressive) |
| Parameters | 220M |
| Languages | Chinese, English |
| Sample Rate | 16kHz |
| Training Data | 60,000+ hours |
| Model | Description | Link |
|---|---|---|
| funasr/fsmn-vad | Voice Activity Detection | HF |
| funasr/ct-punc | Punctuation Restoration | HF |
| funasr/campplus | Speaker Verification | HF |
| funasr/paraformer-zh-streaming | Streaming version | HF |
@inproceedings{gao2022paraformer,
title={Paraformer: Fast and Accurate Parallel Transformer for Non-autoregressive End-to-End Speech Recognition},
author={Gao, Zhifu and Zhang, Shiliang and McLoughlin, Ian and Yan, Zhijie},
booktitle={INTERSPEECH},
year={2022}
}