From 0ee33ed14b24bf13ea70197c4b0cc6770e0d1639 Mon Sep 17 00:00:00 2001
From: 彭震东 <zhendong.peng@qq.com>
Date: 星期一, 18 三月 2024 21:56:20 +0800
Subject: [PATCH] fix typo (#1510)

---
 README_zh.md |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/README_zh.md b/README_zh.md
index 4f4e15d..3e58aa7 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -106,7 +106,7 @@
 from funasr import AutoModel
 # paraformer-zh is a multi-functional asr model
 # use vad, punc, spk or not as you need
-model = AutoModel(model="paraformer-zh",  vad_model="fsmn-vad", punc_model="ct-punc-c", 
+model = AutoModel(model="paraformer-zh",  vad_model="fsmn-vad", punc_model="ct-punc", 
                   # spk_model="cam++"
                   )
 res = model.generate(input=f"{model.model_path}/example/asr_example.wav", 
@@ -216,7 +216,7 @@
 funasr-export ++model=paraformer ++quantize=false
 ```
 
-### 浠巔ython鎸囦护瀵煎嚭
+### 浠嶱ython瀵煎嚭
 ```python
 from funasr import AutoModel
 
@@ -225,6 +225,20 @@
 res = model.export(quantize=False)
 ```
 
+### 娴嬭瘯ONNX
+```python
+# pip3 install -U funasr-onnx
+from funasr_onnx import Paraformer
+model_dir = "damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch"
+model = Paraformer(model_dir, batch_size=1, quantize=True)
+
+wav_path = ['~/.cache/modelscope/hub/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/example/asr_example.wav']
+
+result = model(wav_path)
+print(result)
+```
+
+鏇村渚嬪瓙璇峰弬鑰� [鏍蜂緥](runtime/python/onnxruntime)
 
 <a name="鏈嶅姟閮ㄧ讲"></a>
 ## 鏈嶅姟閮ㄧ讲

--
Gitblit v1.9.1