From 9cc37eaa8af50db2ffad3fc02746547ef995a870 Mon Sep 17 00:00:00 2001 From: 雾聪 <wucong.lyb@alibaba-inc.com> Date: 星期四, 28 九月 2023 15:47:43 +0800 Subject: [PATCH] add postprocess for en-bpe --- funasr/runtime/docs/SDK_advanced_guide_online.md | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/funasr/runtime/docs/SDK_advanced_guide_online.md b/funasr/runtime/docs/SDK_advanced_guide_online.md index 03948b8..e8a8e8c 100644 --- a/funasr/runtime/docs/SDK_advanced_guide_online.md +++ b/funasr/runtime/docs/SDK_advanced_guide_online.md @@ -19,12 +19,15 @@ After Docker is launched, start the funasr-wss-server-2pass service program: ```shell cd FunASR/funasr/runtime -./run_server_2pass.sh \ +nohup bash run_server_2pass.sh \ --download-model-dir /workspace/models \ --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 + --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 ``` For a more detailed description of server parameters, please refer to [Server Introduction]() ### Client Testing and Usage @@ -74,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 @@ -86,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