Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

17.5 KB
Raw Blame
<!DOCTYPE html>
<html lang="zh"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>FunASR 技术博客 — 语音识别部署/对比/教程</title><meta name="description" content="FunASR 官方博客:SenseVoice/Paraformer/Fun-ASR-Nano 部署教程、Whisper 对比 benchmark、最佳实践。"><meta name="keywords" content="FunASR 博客,语音识别教程,SenseVoice,Fun-ASR-Nano,Whisper 对比">
<link rel="icon" href="/logo.png"><meta property="og:title" content="FunASR 技术博客 — 语音识别部署/对比/教程"><meta property="og:description" content="FunASR 官方博客:SenseVoice/Paraformer/Fun-ASR-Nano 部署教程、Whisper 对比 benchmark、最佳实践。">
<meta property="og:type" content="article"><meta property="og:url" content="https://www.funasr.com/blog/"><meta property="og:image" content="https://www.funasr.com/logo.png">
<link rel="canonical" href="https://www.funasr.com/blog/"><link rel="alternate" hreflang="en" href="https://www.funasr.com/en/blog/"><link rel="alternate" hreflang="zh" href="https://www.funasr.com/blog/"><link rel="alternate" hreflang="x-default" href="https://www.funasr.com/en/blog/">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"Blog","name":"FunASR Blog","url":"https://www.funasr.com/blog/","description":"FunASR speech recognition tutorials, benchmarks and deployment guides."}
</script>
<style>:root{--primary:#2563eb;--primary-dark:#1d4ed8;--bg:#fff;--surface:#f8fafc;--border:#e2e8f0;--text:#0f172a;--text-soft:#475569;--text-muted:#94a3b8;--radius:12px}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Inter',-apple-system,sans-serif;color:var(--text);line-height:1.7}
a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}
.container{max-width:800px;margin:0 auto;padding:0 24px}
.nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(255,255,255,0.9);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);padding:14px 0}
.nav .container{max-width:1120px;display:flex;align-items:center;gap:24px}
.nav-logo{font-size:1.2rem;font-weight:800;color:var(--text)}.nav-logo span{color:var(--primary)}
.nav-links{display:flex;gap:20px;margin-left:auto;flex-wrap:wrap}
.nav-links a{font-size:0.85rem;font-weight:500;color:var(--text-soft)}
.nav-btn{padding:7px 16px;background:var(--primary);color:#fff;border-radius:7px;font-size:0.83rem;font-weight:600}
article{padding:34px 0 80px}
h1{font-size:2rem;font-weight:800;line-height:1.3;margin-bottom:14px}
h2{font-size:1.3rem;font-weight:700;margin:36px 0 14px;padding-top:16px;border-top:1px solid var(--border)}
h3{font-size:1.05rem;font-weight:700;margin:22px 0 10px}
p{margin-bottom:14px;color:var(--text-soft)}
ul,ol{margin:0 0 14px 22px;color:var(--text-soft)}li{margin-bottom:6px}
table{width:100%;border-collapse:collapse;margin:16px 0;font-size:0.86rem}
th,td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--border)}
th{font-weight:600;background:var(--surface);font-size:0.78rem;color:var(--text-muted)}
pre{background:#1e293b;color:#e2e8f0;padding:18px;border-radius:10px;overflow-x:auto;font-size:0.82rem;line-height:1.7;margin:14px 0}
code{font-family:ui-monospace,Menlo,monospace}
p code,li code{background:var(--surface);padding:2px 6px;border-radius:5px;font-size:0.85em;color:var(--primary-dark)}
.post-meta{color:var(--text-muted);font-size:0.85rem;margin-bottom:24px}
.cta{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;margin:28px 0;text-align:center}
.cta a.btn{display:inline-block;padding:10px 24px;background:var(--primary);color:#fff;border-radius:8px;font-weight:600}
.post-list{list-style:none;margin:0;padding:0}
.post-list li{margin:0 0 8px}
.post-card{display:block;border:1px solid var(--border);border-radius:var(--radius);padding:20px 22px;margin-bottom:14px}
.post-card:hover{border-color:var(--primary);text-decoration:none}
.post-card h2{border:none;padding:0;margin:0 0 6px;font-size:1.15rem;color:var(--text)}
.post-card p{margin:0;color:var(--text-soft);font-size:0.9rem}
.post-card .date{color:var(--text-muted);font-size:0.8rem}
.launch-feature{max-width:800px;margin:104px auto 0;padding:0 24px}.launch-feature a{display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px;border:1px solid #bbf7d0;border-left:4px solid #047857;border-radius:8px;background:#f0fdf4;padding:20px 22px;color:var(--text)}.launch-feature a:hover{border-color:#047857;text-decoration:none}.launch-feature .date{font-size:.8rem;color:#047857;font-weight:600}.launch-feature h2{border:0;padding:0;margin:3px 0 5px;font-size:1.2rem}.launch-feature p{margin:0;font-size:.9rem}.launch-feature .action{font-weight:700;color:#1d4ed8;white-space:nowrap}
.previous-release{padding-top:16px}.previous-release .container{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.previous-release .post-card{margin-bottom:0}.ecosystem-feature{padding-top:16px}.ecosystem-feature .post-card{margin-bottom:0}
footer{background:#0f172a;color:#94a3b8;padding:28px 0;text-align:center;font-size:0.8rem}
footer a{color:#94a3b8}
@media(max-width:900px){.nav-links{display:none}.nav .container{gap:16px}.nav-logo{margin-right:auto}.launch-feature a{grid-template-columns:1fr}.launch-feature .action{white-space:normal}.previous-release .container{grid-template-columns:1fr}}
</style></head><body>
<nav class="nav"><div class="container"><a href="/" class="nav-logo">Fun<span>ASR</span></a><div class="nav-links"><a href="/#capabilities">核心能力</a><a href="/#usage">如何使用</a><a href="/#benchmark">性能</a><a href="/#demo">演示</a><a href="https://modelscope.github.io/FunASR/zh/" target="_blank">文档</a><a href="/quickstart.html">快速上手</a><a href="/models.html">模型</a><a href="/ecosystem.html">生态</a><a href="/blog/">技术博客</a><a href="/vs-whisper.html">对比 Whisper</a><a href="/donors.html">功德榜</a></div><a href="https://www.funasr.com/en/blog/" style="font-size:0.83rem;font-weight:500;color:var(--text-soft)">EN</a><a href="/go/github" target="_blank" class="nav-btn">GitHub ★</a></div></nav>
<section class="launch-feature"><a href="/blog/funclip-v2-2-0-moss-speaker-clipping.html"><div><span class="date">2026-08-31 · FunClip v2.2.0</span><h2>MOSS 多说话人转写进入 FunClip:从一句话到带说话人的片段</h2><p>通过经真实双说话人音频验证的 vLLM 路径,把第三方 MOSS 模型的段级时间戳和说话人标签直接用于 SRT 与说话人片段导出。</p></div><span class="action">查看部署与剪辑边界 →</span></a></section>
<section class="previous-release"><div class="container"><a class="post-card" href="/blog/funasr-v1-4-16-submodel-device-release.html"><span class="date">2026-09-18 · 正式 Release</span><h2>FunASR v1.4.16:混合设备子模型与原生 Transformers 指南</h2><p>保持 VAD、标点和说话人子模型的显式设备配置,公开可校验的 PyPI 制品、九个运行时与清单。</p></a></div></section>
<section class="previous-release"><div class="container"><a class="post-card" href="/blog/meeting-transcript-acceptance.html"><span class="date">2026-09-09 · 应用工程</span><h2>HTTP 200 不等于转写成功:会议录音的验收清单</h2><p>区分文本、匿名说话人、时间戳和尾部覆盖;用经过测试的 Python 检查器开始验收,不把结构合法当作质量合格。</p></a><a class="post-card" href="/blog/funasr-v1-4-14-portable-source-release.html"><span class="date">2026-09-04 · 正式 Release</span><h2>FunASR v1.4.14:可移植源码包、MOSS 入口与十平台运行时</h2><p>修复 Git archive 与源码安装的可移植性,补齐 MOSS 服务入口,并提供 PyPI 包、十平台运行时与 SHA-256 清单。</p></a><a class="post-card" href="/blog/funasr-v1-4-5-pypi-llama-cpp-release.html"><span class="date">2026-08-28 · 正式 Release</span><h2>FunASR v1.4.5:更轻的 Python 推理与九平台 llama.cpp 运行时</h2><p>默认安装不再硬依赖 torchaudio,可选 kaldi-native-fbank,并提供 PyPI 包、九平台运行时与 SHA-256 清单。</p></a><a class="post-card" href="/blog/funasr-v1-4-3-pypi-release.html"><span class="date">2026-08-21 · 正式 Release</span><h2>FunASR v1.4.3:可选 Silero VAD 与大规模固定 K 说话人聚类</h2><p>新增毫秒级 Silero VAD 适配器,降低已知说话人数的大规模聚类内存压力,并提供 12 个带 SHA-256 的发布资产。</p></a><a class="post-card" href="/blog/funasr-v1-4-0-pypi-release.html"><span class="date">2026-07-31 · 正式 Release</span><h2>FunASR v1.4.0:更完整的 PyPI 安装包与更安全的 AutoModel 参数</h2><p>修复 SenseVoice 与 RWKV-BAT 包数据,提前拒绝 vda_model 误拼写,并提供 12 个带 SHA-256 的发布资产。</p></a></div></section>
<section class="ecosystem-feature"><div class="container"><a class="post-card" href="/blog/fun-asr-nano-transformers.html"><span class="date">2026-09-09 · 生态技术与应用</span><h2>Fun-ASR-Nano + Transformers:先选对权重,再接入应用</h2><p>原生 Transformers 支持已合并:分清 -hf、原始权重、vLLM 和 GGUF,理解音频预处理、生成结果与应用验收,附固定版本接入指南。</p></a></div></section>
<section class="ecosystem-feature"><div class="container"><a class="post-card" href="/blog/subtitle-edit-fun-asr-sensevoice-local-subtitles.html"><span class="date">2026-08-03 · 生态集成</span><h2>Subtitle Edit 5.2:Fun-ASR Nano / SenseVoice 本地视频字幕</h2><p>在 Windows、macOS 与 Linux 的成熟字幕工作区中直接选择本地 ASR 引擎,支持 Q4、Q8、F16。</p></a></div></section>
<article><div class="container"><h1>FunASR 技术博客</h1><p class="post-meta">语音识别部署、教程与最佳实践</p><a class="post-card" href="/blog/speech-to-text-timestamps-python.html"><span class="date">2026-06-23</span><h2>语音识别带时间戳(字级 timestamps)Python 实战:每个字精确到毫秒</h2><p>FunASR Paraformer 原生字级时间戳:每个字带 [起始毫秒,结束毫秒],一次调用即有。可做逐字高亮、点击跳转、字幕对齐。附真实实测+配对代码。</p></a><a class="post-card" href="/blog/punctuation-restoration-python.html"><span class="date">2026-06-23</span><h2>标点恢复 Python 实战:给无标点文本/ASR 结果自动加标点</h2><p>FunASR ct-punc 开源标点恢复,中英双语,3 行 Python 补全 ,。?(英文还做句首大写),也能一行挂到 ASR 上。附真实实测。</p></a><a class="post-card" href="/blog/chinese-speech-recognition.html"><span class="date">2026-06-22</span><h2>中文语音识别(普通话)Python 实战:用 FunASR 又快又准</h2><p>FunASR 专为中文打造:默认旗舰 Fun-ASR-Nano(CER 8.06%),CPU 用 SenseVoice(7.81%)/ Paraformer(10.18%,时间戳/热词),都远好于 Whisper(~20%)。3 行 Python。</p></a><a class="post-card" href="/blog/self-hosted-google-aws-azure-speech-to-text.html"><span class="date">2026-06-22</span><h2>自托管语音转文字:Google / AWS / Azure 云语音 API 的免费开源替代</h2><p>开源免费(MIT)、本地推理、不按分钟计费、数据不出内网、中文强,OpenAI 兼容改 base_url 即可迁移。附实测代码 + FunASR vs 云 API 对比 + 成本分析。</p></a><a class="post-card" href="/blog/voice-activity-detection-python.html"><span class="date">2026-06-22</span><h2>Python 语音活动检测(VAD):检测语音、去静音、按停顿切分音频</h2><p>FunASR fsmn-vad 3 行代码返回每段语音的起止毫秒。实测 13s 录音 0.12s 切成 2 段、去除 18% 静音;可去静音、切分长录音、给 Whisper 等做预处理防幻觉。</p></a><a class="post-card" href="/blog/japanese-speech-recognition.html"><span class="date">2026-06-22</span><h2>日语语音识别:SenseVoice 一个模型搞定日语转写+标点+情感</h2><p>同一段日语音频实测:SenseVoice 写对同音字 転売、自动加标点,Whisper-small 误为 天売、无标点。原生 ja 支持 + 自动语种识别 + 情感事件,3 行 Python。</p></a><a class="post-card" href="/blog/self-hosted-deepgram-assemblyai-alternative.html"><span class="date">2026-06-23</span><h2>从 Deepgram / AssemblyAI 迁移到自托管 FunASR:接入与验收清单</h2><p>评估自托管转写迁移:映射请求和结果契约,检查鉴权、返回格式、模型质量与运维成本。提供 FunASR 本地 JSON 示例,不承诺厂商 API 或 SDK 直接替换。</p></a><a class="post-card" href="/blog/which-funasr-model.html"><span class="date">2026-06-23</span><h2>选哪个 FunASR 模型?Nano vs MLT-Nano vs SenseVoice vs Paraformer</h2><p>模型选型表 + 场景代码:中英日及中文方言/口音选旗舰 Nano,31 语种选独立 MLT-Nano,CPU 再选 SenseVoice 或 Paraformer。</p></a><a class="post-card" href="/blog/lightweight-speech-recognition-cpu.html"><span class="date">2026-06-22</span><h2>轻量语音识别:CPU 上约 250MB 跑中文 ASR</h2><p>单二进制 + 254MB q8 模型,无需 GPU/Python,CPU 0.16s,中文 CER 7.99%——比 whisper.cpp small 还小且准 3 倍。</p></a><a class="post-card" href="/blog/cantonese-speech-recognition.html"><span class="date">2026-06-21</span><h2>粤语语音识别:SenseVoice 原生支持粤语口语(Whisper 会转成普通话)</h2><p>同一段粤语音频实测:SenseVoice 保留 呢/唔/嘅,Whisper 转成普通话书面语。原生 yue 支持 + 自动语种识别,3 行 Python。</p></a><a class="post-card" href="/blog/funasr-vs-faster-whisper-chinese.html"><span class="date">2026-06-21</span><h2>FunASR vs faster-whisper:中文与粤语实测对比</h2><p>粤语被 faster-whisper 误判为普通话、日语同音字错;SenseVoice 原生支持粤语+语种识别,中文 CER 低约 2.7 倍。实测。</p></a><a class="post-card" href="/blog/funasr-llama-cpp-whisper-cpp-alternative.html"><span class="date">2026-06-20</span><h2>FunASR 跑进 llama.cpp:中文 ASR 的 whisper.cpp 替代品(CPU/零 Python)</h2><p>单个自包含二进制、内置 VAD、吃任意音频,下载即用转写中文;中文 CPU 上比 whisper.cpp 准约 2.7 倍。3 步实测。</p></a><a class="post-card" href="/blog/speech-to-text-python-transcribe-audio.html"><span class="date">2026-06-18</span><h2>Python 语音转文字:用 FunASR 本地免费转写音频</h2><p>几行 Python 把音频转成文本,带时间戳/说话人/批量;本地、免费、无 API key、中文强。</p></a><a class="post-card" href="/blog/generate-subtitles-srt-vtt-from-audio-video.html"><span class="date">2026-06-18</span><h2>用 FunASR 自动生成字幕:音频/视频一键出 SRT 和 VTT</h2><p>一行命令出 SRT,Python 同时导出 VTT,带说话人和真实时间戳;本地、免费、中文强。</p></a><a class="post-card" href="/blog/self-hosted-openai-whisper-api-alternative.html"><span class="date">2026-06-18</span><h2>自托管 OpenAI Whisper API 替代:FunASR 接入与安全边界</h2><p>用 FunASR 部署本地文件转写:显式 loopback 监听、基本 JSON 调用、SDK 接入、格式限制与网关安全。区分部分接口兼容与完整云服务替换。</p></a><a class="post-card" href="/blog/funasr-cli-transcribe-command-line.html"><span class="date">2026-06-18</span><h2>用 FunASR 命令行转写音频:文本/JSON/SRT 字幕</h2><p>一行命令出文字/字幕/JSON,--spk 带说话人;还能 funasr-server 起 OpenAI 兼容 API。</p></a><a class="post-card" href="/blog/funasr-transcribe-long-audio.html"><span class="date">2026-06-17 · 更新于 2026-09-09</span><h2>长录音转写:VAD 分段、批处理与结果验收</h2><p>核对完整音频加载、VAD 参数和 CPU 批处理行为,再检查长静音、切分边界与末尾覆盖。</p></a><a class="post-card" href="/blog/funasr-realtime-streaming-asr.html"><span class="date">2026-06-17</span><h2>用 FunASR 实现实时流式语音识别(边说边出字)</h2><p>600ms 级低延迟流式 ASR:分块+cache 边说边出字,含 2-pass(流式+离线)最佳实践。</p></a><a class="post-card" href="/blog/sensevoice-emotion-language-detection.html"><span class="date">2026-06-17</span><h2>超越转写:用 SenseVoice 识别语言、情感与声学事件</h2><p>一次非自回归前向同时输出转写+语种+情感+音频事件,Whisper 做不到的四合一。</p></a><a class="post-card" href="/blog/funasr-speaker-diarization.html"><span class="date">2026-06-17</span><h2>用 FunASR 做说话人分离:谁在何时说了什么</h2><p>一次 generate 调用同时输出转写+说话人标签+时间戳,替代 pyannote+Whisper,无需 HF 授权。</p></a><a class="post-card" href="/blog/funasr-vs-whisper-benchmark.html"><span class="date">2026-06-16</span><h2>FunASR vs Whisper 实测对比:谁更快更准</h2><p>184 中文文件 H100 实测:SenseVoice 169.6x、CER 7.81%,完整速度+准确率数据。</p></a><a class="post-card" href="/blog/fun-asr-nano-guide.html"><span class="date">2026-06-16</span><h2>Fun-ASR-Nano 使用指南:800M 端到端语音识别大模型</h2><p>主力旗舰,中英日 + 7 大中文方言/26 种口音,热词/流式/说话人分离;31 语种请用 MLT-Nano。</p></a><a class="post-card" href="/blog/sensevoice-deployment-guide.html"><span class="date">2026-06-16</span><h2>SenseVoice 部署指南:五语种识别、情感与音频事件</h2><p>3 行代码跑通多语言识别,含语种/情感/事件检测、VAD、GPU/CPU。</p></a><p>更多:<a href="/quickstart.html">快速上手</a> · <a href="/models.html">模型</a></p></div></article>
<footer><div class="container">© 2024-2026 Tongyi Lab, Alibaba Group · <a href="https://github.com/modelscope/FunASR/blob/main/LICENSE">MIT License</a></div></footer></body></html>