{"id":87126,"date":"2026-07-29T20:40:35","date_gmt":"2026-07-29T12:40:35","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/87126.html"},"modified":"2026-07-29T20:40:35","modified_gmt":"2026-07-29T12:40:35","slug":"sensevoice-small-onnx%e5%bc%80%e6%ba%90%e8%af%ad%e9%9f%b3%e8%af%86%e5%88%ab%e6%a8%a1%e5%9e%8b%e9%83%a8%e7%bd%b2%ef%bc%9a%e6%97%a0root%e6%9d%83%e9%99%90%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%8f%97%e9%99%90","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/87126.html","title":{"rendered":"SenseVoice-small-onnx\u5f00\u6e90\u8bed\u97f3\u8bc6\u522b\u6a21\u578b\u90e8\u7f72\uff1a\u65e0root\u6743\u9650\u670d\u52a1\u5668\u53d7\u9650\u73af\u5883\u9002\u914d"},"content":{"rendered":"<h2>SenseVoice-small-onnx\u5f00\u6e90\u8bed\u97f3\u8bc6\u522b\u6a21\u578b\u90e8\u7f72&#xff1a;\u65e0root\u6743\u9650\u670d\u52a1\u5668\u53d7\u9650\u73af\u5883\u9002\u914d<\/h2>\n<h3>1. \u9879\u76ee\u6982\u8ff0\u4e0e\u6838\u5fc3\u4ef7\u503c<\/h3>\n<p>SenseVoice-small-onnx\u662f\u4e00\u4e2a\u57fa\u4e8eONNX\u91cf\u5316\u7684\u591a\u8bed\u8a00\u8bed\u97f3\u8bc6\u522b\u6a21\u578b&#xff0c;\u4e13\u95e8\u9488\u5bf9\u8d44\u6e90\u53d7\u9650\u73af\u5883\u4f18\u5316\u3002\u8fd9\u4e2a\u6a21\u578b\u6700\u5927\u7684\u7279\u70b9\u662f\u5728\u4fdd\u6301\u9ad8\u7cbe\u5ea6\u7684\u540c\u65f6&#xff0c;\u5927\u5e45\u964d\u4f4e\u4e86\u8ba1\u7b97\u8d44\u6e90\u9700\u6c42&#xff0c;\u7279\u522b\u9002\u5408\u5728\u6ca1\u6709root\u6743\u9650\u7684\u670d\u52a1\u5668\u73af\u5883\u4e2d\u90e8\u7f72\u3002<\/p>\n<p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d&#xff0c;\u5f88\u591a\u5f00\u53d1\u8005\u548c\u4f01\u4e1a\u90fd\u4f1a\u9047\u5230\u8fd9\u6837\u7684\u56f0\u5883&#xff1a;\u9700\u8981\u90e8\u7f72AI\u670d\u52a1&#xff0c;\u4f46\u670d\u52a1\u5668\u6743\u9650\u53d7\u9650&#xff0c;\u65e0\u6cd5\u5b89\u88c5\u7cfb\u7edf\u7ea7\u4f9d\u8d56&#xff0c;\u6216\u8005\u786c\u4ef6\u8d44\u6e90\u6709\u9650\u3002SenseVoice-small-onnx\u6b63\u662f\u4e3a\u89e3\u51b3\u8fd9\u4e9b\u95ee\u9898\u800c\u8bbe\u8ba1\u7684&#xff0c;\u5b83\u63d0\u4f9b\u4e86&#xff1a;<\/p>\n<ul>\n<li>\u8f7b\u91cf\u7ea7\u90e8\u7f72&#xff1a;\u91cf\u5316\u540e\u7684\u6a21\u578b\u4ec5230MB&#xff0c;\u5185\u5b58\u5360\u7528\u5c0f<\/li>\n<li>\u591a\u8bed\u8a00\u652f\u6301&#xff1a;\u81ea\u52a8\u8bc6\u522b\u4e2d\u6587\u3001\u7ca4\u8bed\u3001\u82f1\u8bed\u3001\u65e5\u8bed\u3001\u97e9\u8bed\u7b4950\u591a\u79cd\u8bed\u8a00<\/li>\n<li>\u9ad8\u6548\u63a8\u7406&#xff1a;10\u79d2\u97f3\u9891\u4ec5\u970070\u6beb\u79d2\u5904\u7406\u65f6\u95f4<\/li>\n<li>\u65e0\u9700root\u6743\u9650&#xff1a;\u6240\u6709\u4f9d\u8d56\u90fd\u53ef\u4ee5\u901a\u8fc7pip\u5b89\u88c5&#xff0c;\u4e0d\u9700\u8981\u7cfb\u7edf\u7ea7\u6743\u9650<\/li>\n<\/ul>\n<h3>2. \u73af\u5883\u51c6\u5907\u4e0e\u4f9d\u8d56\u5b89\u88c5<\/h3>\n<p>\u5728\u53d7\u9650\u73af\u5883\u4e2d\u90e8\u7f72&#xff0c;\u6700\u5173\u952e\u7684\u662f\u786e\u4fdd\u6240\u6709\u4f9d\u8d56\u90fd\u80fd\u5728\u7528\u6237\u6743\u9650\u4e0b\u5b89\u88c5\u548c\u8fd0\u884c\u3002\u4ee5\u4e0b\u662f\u5b8c\u6574\u7684\u4f9d\u8d56\u5b89\u88c5\u6b65\u9aa4&#xff1a;<\/p>\n<p># \u521b\u5efa\u865a\u62df\u73af\u5883&#xff08;\u63a8\u8350&#xff09;<br \/>\npython -m venv sensevoice_env<br \/>\nsource sensevoice_env\/bin\/activate<\/p>\n<p># \u5b89\u88c5\u6838\u5fc3\u4f9d\u8d56<br \/>\npip install funasr-onnx gradio fastapi uvicorn soundfile jieba<\/p>\n<p># \u9a8c\u8bc1\u5b89\u88c5<br \/>\npython -c &#034;import funasr_onnx; print(&#039;funasr-onnx \u5b89\u88c5\u6210\u529f&#039;)&#034;<\/p>\n<p>\u6ce8\u610f\u4e8b\u9879&#xff1a;<\/p>\n<ul>\n<li>\u5982\u679c\u670d\u52a1\u5668\u65e0\u6cd5\u8bbf\u95ee\u5916\u7f51&#xff0c;\u9700\u8981\u5148\u4e0b\u8f7dwhl\u6587\u4ef6\u79bb\u7ebf\u5b89\u88c5<\/li>\n<li>\u6240\u6709\u4f9d\u8d56\u90fd\u53ea\u9700\u8981\u7528\u6237\u6743\u9650&#xff0c;\u4e0d\u9700\u8981sudo\u6216root<\/li>\n<li>\u865a\u62df\u73af\u5883\u53ef\u4ee5\u907f\u514d\u4e0e\u7cfb\u7edfPython\u73af\u5883\u51b2\u7a81<\/li>\n<\/ul>\n<h3>3. \u6a21\u578b\u4e0b\u8f7d\u4e0e\u8def\u5f84\u914d\u7f6e<\/h3>\n<p>\u5728\u65e0root\u6743\u9650\u73af\u5883\u4e2d&#xff0c;\u6a21\u578b\u6587\u4ef6\u9700\u8981\u5b58\u653e\u5728\u7528\u6237\u6709\u5199\u5165\u6743\u9650\u7684\u76ee\u5f55&#xff1a;<\/p>\n<p>import os<br \/>\nfrom pathlib import Path<\/p>\n<p># \u5728\u7528\u6237\u76ee\u5f55\u4e0b\u521b\u5efa\u6a21\u578b\u5b58\u50a8\u8def\u5f84<br \/>\nhome_dir &#061; Path.home()<br \/>\nmodel_dir &#061; home_dir \/ &#034;ai-models&#034; \/ &#034;sensevoice-small-onnx-quant&#034;<br \/>\nmodel_dir.mkdir(parents&#061;True, exist_ok&#061;True)<\/p>\n<p># \u8bbe\u7f6e\u6a21\u578b\u8def\u5f84\u73af\u5883\u53d8\u91cf<br \/>\nos.environ[&#034;MODEL_PATH&#034;] &#061; str(model_dir)<\/p>\n<p>\u5982\u679c\u670d\u52a1\u5668\u65e0\u6cd5\u76f4\u63a5\u4e0b\u8f7d\u6a21\u578b&#xff0c;\u53ef\u4ee5\u624b\u52a8\u4e0b\u8f7d\u540e\u4e0a\u4f20\u5230\u8be5\u76ee\u5f55&#xff1a;<\/p>\n<p># \u624b\u52a8\u4e0b\u8f7d\u6a21\u578b\u6587\u4ef6&#xff08;\u5982\u679c\u6709\u5916\u7f51\u6743\u9650&#xff09;<br \/>\nwget -P ~\/ai-models\/sensevoice-small-onnx-quant\/ https:\/\/huggingface.co\/danieldong\/sensevoice-small-onnx-quant\/resolve\/main\/model_quant.onnx<\/p>\n<h3>4. \u670d\u52a1\u90e8\u7f72\u4e0e\u542f\u52a8<\/h3>\n<p>\u5728\u53d7\u9650\u73af\u5883\u4e2d&#xff0c;\u6211\u4eec\u9700\u8981\u4fee\u6539\u9ed8\u8ba4\u7684\u542f\u52a8\u811a\u672c&#xff0c;\u907f\u514d\u4f7f\u7528\u9700\u8981\u7279\u6743\u7aef\u53e3&#xff1a;<\/p>\n<p># app_adapted.py &#8211; \u9002\u914d\u65e0root\u73af\u5883\u7684\u542f\u52a8\u811a\u672c<br \/>\nimport argparse<br \/>\nfrom funasr_onnx import SenseVoiceSmall<br \/>\nimport gradio as gr<br \/>\nimport os<\/p>\n<p>def create_app():<br \/>\n    # \u4f7f\u7528\u7528\u6237\u76ee\u5f55\u4e0b\u7684\u6a21\u578b\u8def\u5f84<br \/>\n    model_path &#061; os.path.join(os.environ.get(&#034;MODEL_PATH&#034;, &#034;.\/models&#034;))<\/p>\n<p>    model &#061; SenseVoiceSmall(<br \/>\n        model_path,<br \/>\n        batch_size&#061;5,  # \u5728\u53d7\u9650\u73af\u5883\u4e2d\u51cf\u5c0fbatch size<br \/>\n        quantize&#061;True<br \/>\n    )<\/p>\n<p>    # \u521b\u5efaGradio\u754c\u9762<br \/>\n    interface &#061; gr.Interface(<br \/>\n        fn&#061;model.transcribe,<br \/>\n        inputs&#061;gr.Audio(type&#061;&#034;filepath&#034;),<br \/>\n        outputs&#061;&#034;text&#034;,<br \/>\n        title&#061;&#034;SenseVoice \u8bed\u97f3\u8bc6\u522b&#034;<br \/>\n    )<\/p>\n<p>    return interface<\/p>\n<p>if __name__ &#061;&#061; &#034;__main__&#034;:<br \/>\n    parser &#061; argparse.ArgumentParser()<br \/>\n    parser.add_argument(&#034;&#8211;host&#034;, default&#061;&#034;0.0.0.0&#034;)<br \/>\n    parser.add_argument(&#034;&#8211;port&#034;, default&#061;8000, type&#061;int)  # \u4f7f\u7528\u975e\u7279\u6743\u7aef\u53e3<br \/>\n    args &#061; parser.parse_args()<\/p>\n<p>    app &#061; create_app()<br \/>\n    app.launch(server_name&#061;args.host, server_port&#061;args.port)<\/p>\n<p>\u542f\u52a8\u670d\u52a1&#xff1a;<\/p>\n<p># \u4f7f\u7528\u9002\u914d\u540e\u7684\u811a\u672c\u542f\u52a8<br \/>\npython app_adapted.py &#8211;host 0.0.0.0 &#8211;port 8000<\/p>\n<h3>5. API\u63a5\u53e3\u8c03\u7528\u793a\u4f8b<\/h3>\n<p>\u670d\u52a1\u542f\u52a8\u540e&#xff0c;\u53ef\u4ee5\u901a\u8fc7HTTP API\u8fdb\u884c\u8bed\u97f3\u8bc6\u522b&#xff1a;<\/p>\n<p># api_client.py &#8211; \u5ba2\u6237\u7aef\u8c03\u7528\u793a\u4f8b<br \/>\nimport requests<\/p>\n<p>def transcribe_audio(audio_file_path, language&#061;&#034;auto&#034;, use_itn&#061;True):<br \/>\n    &#034;&#034;&#034;<br \/>\n    \u8c03\u7528\u8bed\u97f3\u8bc6\u522bAPI<\/p>\n<p>    Args:<br \/>\n        audio_file_path: \u97f3\u9891\u6587\u4ef6\u8def\u5f84<br \/>\n        language: \u8bed\u8a00\u4ee3\u7801&#xff0c;\u9ed8\u8ba4auto\u81ea\u52a8\u68c0\u6d4b<br \/>\n        use_itn: \u662f\u5426\u4f7f\u7528\u9006\u6587\u672c\u6b63\u5219\u5316<\/p>\n<p>    Returns:<br \/>\n        \u8bc6\u522b\u7ed3\u679c\u6587\u672c<br \/>\n    &#034;&#034;&#034;<br \/>\n    url &#061; &#034;http:\/\/localhost:8000\/api\/transcribe&#034;<\/p>\n<p>    with open(audio_file_path, &#039;rb&#039;) as f:<br \/>\n        files &#061; {&#039;file&#039;: f}<br \/>\n        data &#061; {<br \/>\n            &#039;language&#039;: language,<br \/>\n            &#039;use_itn&#039;: str(use_itn).lower()<br \/>\n        }<\/p>\n<p>        response &#061; requests.post(url, files&#061;files, data&#061;data)<\/p>\n<p>        if response.status_code &#061;&#061; 200:<br \/>\n            return response.json()[&#039;text&#039;]<br \/>\n        else:<br \/>\n            raise Exception(f&#034;\u8bc6\u522b\u5931\u8d25: {response.text}&#034;)<\/p>\n<p># \u4f7f\u7528\u793a\u4f8b<br \/>\nresult &#061; transcribe_audio(&#034;test_audio.wav&#034;, language&#061;&#034;zh&#034;)<br \/>\nprint(f&#034;\u8bc6\u522b\u7ed3\u679c: {result}&#034;)<\/p>\n<h3>6. \u5e38\u89c1\u95ee\u9898\u4e0e\u89e3\u51b3\u65b9\u6848<\/h3>\n<h4>6.1 \u7aef\u53e3\u88ab\u5360\u7528\u95ee\u9898<\/h4>\n<p>\u5728\u65e0\u7279\u6743\u73af\u5883\u4e2d&#xff0c;7860\u7aef\u53e3\u53ef\u80fd\u88ab\u5360\u7528&#xff0c;\u89e3\u51b3\u65b9\u6848&#xff1a;<\/p>\n<p># \u67e5\u770b\u53ef\u7528\u7aef\u53e3<br \/>\nnetstat -tlnp 2&gt;\/dev\/null | grep -v &#034;0.0.0.0&#034; | awk &#039;{print $4}&#039; | awk -F: &#039;{print $NF}&#039;<\/p>\n<p># \u9009\u62e9\u5927\u4e8e1024\u7684\u672a\u4f7f\u7528\u7aef\u53e3<br \/>\npython app_adapted.py &#8211;port 8001<\/p>\n<h4>6.2 \u5185\u5b58\u4e0d\u8db3\u5904\u7406<\/h4>\n<p>\u5982\u679c\u670d\u52a1\u5668\u5185\u5b58\u6709\u9650&#xff0c;\u53ef\u4ee5\u8c03\u6574\u914d\u7f6e&#xff1a;<\/p>\n<p># \u5185\u5b58\u4f18\u5316\u914d\u7f6e<br \/>\nmodel &#061; SenseVoiceSmall(<br \/>\n    model_path,<br \/>\n    batch_size&#061;2,  # \u51cf\u5c0f\u6279\u5904\u7406\u5927\u5c0f<br \/>\n    quantize&#061;True,<br \/>\n    device&#061;&#034;cpu&#034;   # \u5f3a\u5236\u4f7f\u7528CPU&#xff0c;\u51cf\u5c11GPU\u5185\u5b58\u5360\u7528<br \/>\n)<\/p>\n<h4>6.3 \u6a21\u578b\u52a0\u8f7d\u5931\u8d25<\/h4>\n<p>\u5982\u679c\u6a21\u578b\u4e0b\u8f7d\u5931\u8d25&#xff0c;\u53ef\u4ee5\u624b\u52a8\u5904\u7406&#xff1a;<\/p>\n<p># 1. \u5728\u5176\u4ed6\u673a\u5668\u4e0b\u8f7d\u6a21\u578b<br \/>\n# 2. \u538b\u7f29\u540e\u4e0a\u4f20\u5230\u670d\u52a1\u5668<br \/>\n# 3. \u89e3\u538b\u5230\u7528\u6237\u76ee\u5f55<br \/>\ntar -xzf sensevoice-model.tar.gz -C ~\/ai-models\/<\/p>\n<h3>7. \u6027\u80fd\u4f18\u5316\u5efa\u8bae<\/h3>\n<p>\u5728\u53d7\u9650\u73af\u5883\u4e2d&#xff0c;\u6027\u80fd\u4f18\u5316\u5c24\u4e3a\u91cd\u8981&#xff1a;<\/p>\n<p># performance_optimized.py &#8211; \u6027\u80fd\u4f18\u5316\u7248\u672c<br \/>\nimport time<br \/>\nfrom functools import lru_cache<br \/>\nfrom funasr_onnx import SenseVoiceSmall<\/p>\n<p>class OptimizedSenseVoice:<br \/>\n    def __init__(self, model_path):<br \/>\n        self.model &#061; SenseVoiceSmall(<br \/>\n            model_path,<br \/>\n            batch_size&#061;3,<br \/>\n            quantize&#061;True<br \/>\n        )<br \/>\n        self.last_audio_hash &#061; None<br \/>\n        self.last_result &#061; None<\/p>\n<p>    &#064;lru_cache(maxsize&#061;10)<br \/>\n    def transcribe_cached(self, audio_path, language&#061;&#034;auto&#034;):<br \/>\n        &#034;&#034;&#034;\u5e26\u7f13\u5b58\u7684\u8f6c\u5f55\u529f\u80fd&#xff0c;\u907f\u514d\u91cd\u590d\u5904\u7406\u76f8\u540c\u97f3\u9891&#034;&#034;&#034;<br \/>\n        return self.model([audio_path], language&#061;language, use_itn&#061;True)[0]<\/p>\n<p>    def batch_transcribe(self, audio_paths, language&#061;&#034;auto&#034;):<br \/>\n        &#034;&#034;&#034;\u6279\u91cf\u5904\u7406&#xff0c;\u63d0\u9ad8\u6548\u7387&#034;&#034;&#034;<br \/>\n        results &#061; []<br \/>\n        for path in audio_paths:<br \/>\n            result &#061; self.transcribe_cached(path, language)<br \/>\n            results.append(result)<br \/>\n        return results<\/p>\n<p># \u4f7f\u7528\u4f18\u5316\u7248\u672c<br \/>\noptimized_model &#061; OptimizedSenseVoice(&#034;~\/ai-models\/sensevoice-small-onnx-quant&#034;)<\/p>\n<h3>8. \u603b\u7ed3\u4e0e\u540e\u7eed\u6b65\u9aa4<\/h3>\n<p>\u901a\u8fc7\u672c\u6587\u7684\u9002\u914d\u65b9\u6848&#xff0c;\u5373\u4f7f\u5728\u65e0root\u6743\u9650\u7684\u53d7\u9650\u670d\u52a1\u5668\u73af\u5883\u4e2d&#xff0c;\u4e5f\u80fd\u6210\u529f\u90e8\u7f72\u548c\u8fd0\u884cSenseVoice-small-onnx\u8bed\u97f3\u8bc6\u522b\u670d\u52a1\u3002\u5173\u952e\u8981\u70b9\u5305\u62ec&#xff1a;<\/p>\n<li>\u73af\u5883\u9694\u79bb&#xff1a;\u4f7f\u7528\u865a\u62df\u73af\u5883\u907f\u514d\u6743\u9650\u95ee\u9898<\/li>\n<li>\u8def\u5f84\u9002\u914d&#xff1a;\u5c06\u6a21\u578b\u6587\u4ef6\u5b58\u653e\u5728\u7528\u6237\u6709\u6743\u9650\u7684\u76ee\u5f55<\/li>\n<li>\u7aef\u53e3\u8c03\u6574&#xff1a;\u4f7f\u7528\u975e\u7279\u6743\u7aef\u53e3\u907f\u514d\u51b2\u7a81<\/li>\n<li>\u8d44\u6e90\u4f18\u5316&#xff1a;\u8c03\u6574batch size\u7b49\u53c2\u6570\u9002\u5e94\u6709\u9650\u8d44\u6e90<\/li>\n<li>\u9519\u8bef\u5904\u7406&#xff1a;\u63d0\u4f9b\u5e38\u89c1\u95ee\u9898\u7684\u89e3\u51b3\u65b9\u6848<\/li>\n<p>\u4e0b\u4e00\u6b65\u5efa\u8bae&#xff1a;<\/p>\n<ul>\n<li>\u76d1\u63a7\u670d\u52a1\u6027\u80fd&#xff0c;\u6839\u636e\u5b9e\u9645\u4f7f\u7528\u8c03\u6574\u53c2\u6570<\/li>\n<li>\u8003\u8651\u6dfb\u52a0\u8eab\u4efd\u9a8c\u8bc1\u548c\u9650\u6d41\u673a\u5236<\/li>\n<li>\u63a2\u7d22\u5206\u5e03\u5f0f\u90e8\u7f72\u65b9\u6848\u5e94\u5bf9\u9ad8\u5e76\u53d1\u573a\u666f<\/li>\n<li>\u5b9a\u671f\u66f4\u65b0\u6a21\u578b\u548c\u4f9d\u8d56\u7248\u672c<\/li>\n<\/ul>\n<p>\u73b0\u5728\u4f60\u53ef\u4ee5\u5f00\u59cb\u5728\u5b9e\u9645\u7684\u53d7\u9650\u73af\u5883\u4e2d\u90e8\u7f72SenseVoice\u8bed\u97f3\u8bc6\u522b\u670d\u52a1&#xff0c;\u4eab\u53d7\u591a\u8bed\u8a00\u8bed\u97f3\u8f6c\u5199\u7684\u4fbf\u5229\u4e86\u3002<\/p>\n<hr \/>\n<p>\u83b7\u53d6\u66f4\u591aAI\u955c\u50cf<\/p>\n<p>\u60f3\u63a2\u7d22\u66f4\u591aAI\u955c\u50cf\u548c\u5e94\u7528\u573a\u666f&#xff1f;\u8bbf\u95ee CSDN\u661f\u56fe\u955c\u50cf\u5e7f\u573a&#xff0c;\u63d0\u4f9b\u4e30\u5bcc\u7684\u9884\u7f6e\u955c\u50cf&#xff0c;\u8986\u76d6\u5927\u6a21\u578b\u63a8\u7406\u3001\u56fe\u50cf\u751f\u6210\u3001\u89c6\u9891\u751f\u6210\u3001\u6a21\u578b\u5fae\u8c03\u7b49\u591a\u4e2a\u9886\u57df&#xff0c;\u652f\u6301\u4e00\u952e\u90e8\u7f72\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SenseVoice-small-onnx\u5f00\u6e90\u8bed\u97f3\u8bc6\u522b\u6a21\u578b\u90e8\u7f72&#xff1a;\u65e0root\u6743\u9650\u670d\u52a1\u5668\u53d7\u9650\u73af\u5883\u9002\u914d<br \/>\n1. \u9879\u76ee\u6982\u8ff0\u4e0e\u6838\u5fc3\u4ef7\u503c<br \/>\nSenseVoice-small-onnx\u662f\u4e00\u4e2a\u57fa\u4e8eONNX\u91cf\u5316\u7684\u591a\u8bed\u8a00\u8bed\u97f3\u8bc6\u522b\u6a21\u578b&#xff0c;\u4e13\u95e8\u9488\u5bf9\u8d44\u6e90\u53d7\u9650\u73af\u5883\u4f18\u5316\u3002\u8fd9\u4e2a\u6a21\u578b\u6700\u5927\u7684\u7279\u70b9\u662f\u5728\u4fdd\u6301\u9ad8\u7cbe\u5ea6\u7684\u540c\u65f6&#xff0c;\u5927\u5e45\u964d\u4f4e\u4e86\u8ba1\u7b97\u8d44\u6e90\u9700\u6c42&#xff0c;\u7279\u522b\u9002\u5408\u5728\u6ca1\u6709root\u6743\u9650\u7684\u670d\u52a1\u5668\u73af\u5883\u4e2d\u90e8\u7f72\u3002<br \/>\n\u5728\u5b9e\u9645\u5e94\u7528\u4e2d&#xff0c;\u5f88\u591a\u5f00\u53d1\u8005\u548c\u4f01\u4e1a\u90fd\u4f1a\u9047\u5230\u8fd9\u6837\u7684\u56f0\u5883&amp;#xf<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7591,9288,1395],"topic":[],"class_list":["post-87126","post","type-post","status-publish","format-standard","hentry","category-server","tag-ai","tag-onnx","tag-1395"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SenseVoice-small-onnx\u5f00\u6e90\u8bed\u97f3\u8bc6\u522b\u6a21\u578b\u90e8\u7f72\uff1a\u65e0root\u6743\u9650\u670d\u52a1\u5668\u53d7\u9650\u73af\u5883\u9002\u914d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/87126.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SenseVoice-small-onnx\u5f00\u6e90\u8bed\u97f3\u8bc6\u522b\u6a21\u578b\u90e8\u7f72\uff1a\u65e0root\u6743\u9650\u670d\u52a1\u5668\u53d7\u9650\u73af\u5883\u9002\u914d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"SenseVoice-small-onnx\u5f00\u6e90\u8bed\u97f3\u8bc6\u522b\u6a21\u578b\u90e8\u7f72&#xff1a;\u65e0root\u6743\u9650\u670d\u52a1\u5668\u53d7\u9650\u73af\u5883\u9002\u914d 1. \u9879\u76ee\u6982\u8ff0\u4e0e\u6838\u5fc3\u4ef7\u503c SenseVoice-small-onnx\u662f\u4e00\u4e2a\u57fa\u4e8eONNX\u91cf\u5316\u7684\u591a\u8bed\u8a00\u8bed\u97f3\u8bc6\u522b\u6a21\u578b&#xff0c;\u4e13\u95e8\u9488\u5bf9\u8d44\u6e90\u53d7\u9650\u73af\u5883\u4f18\u5316\u3002\u8fd9\u4e2a\u6a21\u578b\u6700\u5927\u7684\u7279\u70b9\u662f\u5728\u4fdd\u6301\u9ad8\u7cbe\u5ea6\u7684\u540c\u65f6&#xff0c;\u5927\u5e45\u964d\u4f4e\u4e86\u8ba1\u7b97\u8d44\u6e90\u9700\u6c42&#xff0c;\u7279\u522b\u9002\u5408\u5728\u6ca1\u6709root\u6743\u9650\u7684\u670d\u52a1\u5668\u73af\u5883\u4e2d\u90e8\u7f72\u3002 \u5728\u5b9e\u9645\u5e94\u7528\u4e2d&#xff0c;\u5f88\u591a\u5f00\u53d1\u8005\u548c\u4f01\u4e1a\u90fd\u4f1a\u9047\u5230\u8fd9\u6837\u7684\u56f0\u5883&amp;#xf\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/87126.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-29T12:40:35+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/87126.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/87126.html\",\"name\":\"SenseVoice-small-onnx\u5f00\u6e90\u8bed\u97f3\u8bc6\u522b\u6a21\u578b\u90e8\u7f72\uff1a\u65e0root\u6743\u9650\u670d\u52a1\u5668\u53d7\u9650\u73af\u5883\u9002\u914d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-29T12:40:35+00:00\",\"dateModified\":\"2026-07-29T12:40:35+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/87126.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/87126.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/87126.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SenseVoice-small-onnx\u5f00\u6e90\u8bed\u97f3\u8bc6\u522b\u6a21\u578b\u90e8\u7f72\uff1a\u65e0root\u6743\u9650\u670d\u52a1\u5668\u53d7\u9650\u73af\u5883\u9002\u914d\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SenseVoice-small-onnx\u5f00\u6e90\u8bed\u97f3\u8bc6\u522b\u6a21\u578b\u90e8\u7f72\uff1a\u65e0root\u6743\u9650\u670d\u52a1\u5668\u53d7\u9650\u73af\u5883\u9002\u914d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/87126.html","og_locale":"zh_CN","og_type":"article","og_title":"SenseVoice-small-onnx\u5f00\u6e90\u8bed\u97f3\u8bc6\u522b\u6a21\u578b\u90e8\u7f72\uff1a\u65e0root\u6743\u9650\u670d\u52a1\u5668\u53d7\u9650\u73af\u5883\u9002\u914d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"SenseVoice-small-onnx\u5f00\u6e90\u8bed\u97f3\u8bc6\u522b\u6a21\u578b\u90e8\u7f72&#xff1a;\u65e0root\u6743\u9650\u670d\u52a1\u5668\u53d7\u9650\u73af\u5883\u9002\u914d 1. \u9879\u76ee\u6982\u8ff0\u4e0e\u6838\u5fc3\u4ef7\u503c SenseVoice-small-onnx\u662f\u4e00\u4e2a\u57fa\u4e8eONNX\u91cf\u5316\u7684\u591a\u8bed\u8a00\u8bed\u97f3\u8bc6\u522b\u6a21\u578b&#xff0c;\u4e13\u95e8\u9488\u5bf9\u8d44\u6e90\u53d7\u9650\u73af\u5883\u4f18\u5316\u3002\u8fd9\u4e2a\u6a21\u578b\u6700\u5927\u7684\u7279\u70b9\u662f\u5728\u4fdd\u6301\u9ad8\u7cbe\u5ea6\u7684\u540c\u65f6&#xff0c;\u5927\u5e45\u964d\u4f4e\u4e86\u8ba1\u7b97\u8d44\u6e90\u9700\u6c42&#xff0c;\u7279\u522b\u9002\u5408\u5728\u6ca1\u6709root\u6743\u9650\u7684\u670d\u52a1\u5668\u73af\u5883\u4e2d\u90e8\u7f72\u3002 \u5728\u5b9e\u9645\u5e94\u7528\u4e2d&#xff0c;\u5f88\u591a\u5f00\u53d1\u8005\u548c\u4f01\u4e1a\u90fd\u4f1a\u9047\u5230\u8fd9\u6837\u7684\u56f0\u5883&amp;#xf","og_url":"https:\/\/www.wsisp.com\/helps\/87126.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-29T12:40:35+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/87126.html","url":"https:\/\/www.wsisp.com\/helps\/87126.html","name":"SenseVoice-small-onnx\u5f00\u6e90\u8bed\u97f3\u8bc6\u522b\u6a21\u578b\u90e8\u7f72\uff1a\u65e0root\u6743\u9650\u670d\u52a1\u5668\u53d7\u9650\u73af\u5883\u9002\u914d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-29T12:40:35+00:00","dateModified":"2026-07-29T12:40:35+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/87126.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/87126.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/87126.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"SenseVoice-small-onnx\u5f00\u6e90\u8bed\u97f3\u8bc6\u522b\u6a21\u578b\u90e8\u7f72\uff1a\u65e0root\u6743\u9650\u670d\u52a1\u5668\u53d7\u9650\u73af\u5883\u9002\u914d"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/87126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=87126"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/87126\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=87126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=87126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=87126"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=87126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}