From 0b5ab0709e8292447b314f4f02c74becafd6ce76 Mon Sep 17 00:00:00 2001 From: 游雁 <zhifu.gzf@alibaba-inc.com> Date: 星期二, 19 九月 2023 12:33:53 +0800 Subject: [PATCH] wechat --- funasr/runtime/docs/SDK_advanced_guide_online.md | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/funasr/runtime/docs/SDK_advanced_guide_online.md b/funasr/runtime/docs/SDK_advanced_guide_online.md index 5b25c9b..e8a8e8c 100644 --- a/funasr/runtime/docs/SDK_advanced_guide_online.md +++ b/funasr/runtime/docs/SDK_advanced_guide_online.md @@ -24,7 +24,8 @@ --vad-dir damo/speech_fsmn_vad_zh-cn-16k-common-onnx \ --model-dir damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-onnx \ --online-model-dir damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-online-onnx \ - --punc-dir damo/punc_ct-transformer_zh-cn-common-vad_realtime-vocab272727-onnx > log.out 2>&1 & + --punc-dir damo/punc_ct-transformer_zh-cn-common-vad_realtime-vocab272727-onnx \ + --itn-dir thuduj12/fst_itn_zh > log.out 2>&1 & # If you want to close ssl锛宲lease add锛�--certfile 0 ``` @@ -76,6 +77,7 @@ --vad-quant True for quantized VAD models, False for non-quantized VAD models, default is True --punc-dir modelscope model ID --punc-quant True for quantized PUNC models, False for non-quantized PUNC models, default is True +--itn-dir modelscope model ID --port Port number that the server should listen on, default is 10095 --decoder-thread-num The number of inference threads the server should start, default is 8 --io-thread-num The number of IO threads the server should start, default is 1 @@ -88,5 +90,6 @@ [Paraformer-lagre online](https://www.modelscope.cn/models/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-online-onnx/summary ) [Paraformer-lagre](https://www.modelscope.cn/models/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-onnx/summary) [CT-Transformer](https://www.modelscope.cn/models/damo/punc_ct-transformer_zh-cn-common-vad_realtime-vocab272727-onnx/summary) +[FST-ITN](https://www.modelscope.cn/models/thuduj12/fst_itn_zh/summary) If you wish to deploy your fine-tuned model (e.g., 10epoch.pb), you need to manually rename the model to model.pb and replace the original model.pb in ModelScope. Then, specify the path as `model_dir`. -- Gitblit v1.9.1