From 3919d7454c070702e94b149e4032e9db08d28fa3 Mon Sep 17 00:00:00 2001
From: zhifu gao <zhifu.gzf@alibaba-inc.com>
Date: 星期一, 22 一月 2024 15:42:45 +0800
Subject: [PATCH] Funasr1.0 (#1279)
---
README_zh.md | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/README_zh.md b/README_zh.md
index dc20302..b19e7c2 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -87,12 +87,13 @@
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", model_revision="v2.0.2", \
- vad_model="fsmn-vad", vad_model_revision="v2.0.2", \
- punc_model="ct-punc-c", punc_model_revision="v2.0.2", \
- spk_model="cam++", spk_model_revision="v2.0.2")
+model = AutoModel(model="paraformer-zh", model_revision="v2.0.2",
+ vad_model="fsmn-vad", vad_model_revision="v2.0.2",
+ punc_model="ct-punc-c", punc_model_revision="v2.0.3",
+ # spk_model="cam++", spk_model_revision="v2.0.2",
+ )
res = model.generate(input=f"{model.model_path}/example/asr_example.wav",
- batch_size=64,
+ batch_size_s=300,
hotword='榄旀惌')
print(res)
```
@@ -182,7 +183,7 @@
res = model.generate(input=(wav_file, text_file), data_type=("sound", "text"))
print(res)
```
-鏇村璇︾粏鐢ㄦ硶锛圼绀轰緥](examples/industrial_data_pretraining)锛�
+鏇村璇︾粏鐢ㄦ硶锛圼绀轰緥](https://github.com/alibaba-damo-academy/FunASR/tree/main/examples/industrial_data_pretraining)锛�
<a name="鏈嶅姟閮ㄧ讲"></a>
--
Gitblit v1.9.1