Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
update docs
雾聪59ed2cfc1b24
diff --git a/runtime/docs/SDK_advanced_guide_offline.md b/runtime/docs/SDK_advanced_guide_offline.mdindex 87e4ed6c6..130eee715 100644--- a/runtime/docs/SDK_advanced_guide_offline.md+++ b/runtime/docs/SDK_advanced_guide_offline.md@@ -94,7 +94,9 @@ Introduction to run_server.sh parameters:--punc-quant: True for quantized PUNC model, False for non-quantized PUNC model. Default is True.--itn-dir modelscope model ID or local model path.--port: Port number that the server listens on. Default is 10095.---decoder-thread-num: Number of inference threads that the server starts. Default is 8.+--decoder-thread-num: The number of thread pools on the server side that can handle concurrent requests. The default value is 8.+--model-thread-num: The number of internal threads for each recognition route to control the parallelism of the ONNX model.+ The default value is 1. It is recommended that decoder-thread-num * model-thread-num equals the total number of threads.--io-thread-num: Number of IO threads that the server starts. Default is 1.--certfile <string>: SSL certificate file. Default is ../../../ssl_key/server.crt. If you want to close ssl,set 0--keyfile <string>: SSL key file. Default is ../../../ssl_key/server.key.diff --git a/runtime/docs/SDK_advanced_guide_offline_en.md b/runtime/docs/SDK_advanced_guide_offline_en.mdindex 1e5342221..4985984bf 100644--- a/runtime/docs/SDK_advanced_guide_offline_en.md+++ b/runtime/docs/SDK_advanced_guide_offline_en.md@@ -73,7 +73,9 @@ Introduction to run_server.sh parameters:--punc-quant: True for quantized PUNC model, False for non-quantized PUNC model. Default is True.--itn-dir modelscope model ID or local model path.--port: Port number that the server listens on. Default is 10095.---decoder-thread-num: Number of inference threads that the server starts. Default is 8.+--decoder-thread-num: The number of thread pools on the server side that can handle concurrent requests. The default value is 8.+--model-thread-num: The number of internal threads for each recognition route to control the parallelism of the ONNX model.+ The default value is 1. It is recommended that decoder-thread-num * model-thread-num equals the total number of threads.--io-thread-num: Number of IO threads that the server starts. Default is 1.--certfile <string>: SSL certificate file. Default is ../../../ssl_key/server.crt. If you want to close ssl,set 0--keyfile <string>: SSL key file. Default is ../../../ssl_key/server.key.diff --git a/runtime/docs/SDK_advanced_guide_offline_en_zh.md b/runtime/docs/SDK_advanced_guide_offline_en_zh.mdindex 2cedccd47..046ca331d 100644--- a/runtime/docs/SDK_advanced_guide_offline_en_zh.md+++ b/runtime/docs/SDK_advanced_guide_offline_en_zh.md@@ -158,7 +158,8 @@ nohup bash run_server.sh \--punc-quant True为量化PUNC模型,False为非量化PUNC模型,默认是True--itn-dir modelscope model ID 或者 本地模型路径--port 服务端监听的端口号,默认为 10095---decoder-thread-num 服务端启动的推理线程数,默认为 8+--decoder-thread-num 服务端线程池个数(支持的最大并发路数),默认为 8+--model-thread-num 每路识别的内部线程数(控制ONNX模型的并行),默认为 1,其中建议 decoder-thread-num*model-thread-num 等于总线程数--io-thread-num 服务端启动的IO线程数,默认为 1--certfile ssl的证书文件,默认为:../../../ssl_key/server.crt,如果需要关闭ssl,参数设置为0--keyfile ssl的密钥文件,默认为:../../../ssl_key/server.keydiff --git a/runtime/docs/SDK_advanced_guide_offline_zh.md b/runtime/docs/SDK_advanced_guide_offline_zh.mdindex fe1f2f6d2..f14a0b55d 100644--- a/runtime/docs/SDK_advanced_guide_offline_zh.md+++ b/runtime/docs/SDK_advanced_guide_offline_zh.md@@ -175,7 +175,8 @@ nohup bash run_server.sh \--lm-dir modelscope model ID 或者 本地模型路径--itn-dir modelscope model ID 或者 本地模型路径--port 服务端监听的端口号,默认为 10095---decoder-thread-num 服务端启动的推理线程数,默认为 8+--decoder-thread-num 服务端线程池个数(支持的最大并发路数),默认为 8+--model-thread-num 每路识别的内部线程数(控制ONNX模型的并行),默认为 1,其中建议 decoder-thread-num*model-thread-num 等于总线程数--io-thread-num 服务端启动的IO线程数,默认为 1--certfile ssl的证书文件,默认为:../../../ssl_key/server.crt,如果需要关闭ssl,参数设置为0--keyfile ssl的密钥文件,默认为:../../../ssl_key/server.keydiff --git a/runtime/docs/SDK_advanced_guide_online.md b/runtime/docs/SDK_advanced_guide_online.mdindex ea52c556a..384b13bec 100644--- a/runtime/docs/SDK_advanced_guide_online.md+++ b/runtime/docs/SDK_advanced_guide_online.md@@ -111,7 +111,9 @@ nohup bash run_server_2pass.sh \--punc-quant: True for quantized PUNC model, False for non-quantized PUNC model. Default is True.--itn-dir modelscope model ID or local model path.--port: Port number that the server listens on. Default is 10095.---decoder-thread-num: Number of inference threads that the server starts. Default is 8.+--decoder-thread-num: The number of thread pools on the server side that can handle concurrent requests. The default value is 8.+--model-thread-num: The number of internal threads for each recognition route to control the parallelism of the ONNX model.+ The default value is 1. It is recommended that decoder-thread-num * model-thread-num equals the total number of threads.--io-thread-num: Number of IO threads that the server starts. Default is 1.--certfile <string>: SSL certificate file. Default is ../../../ssl_key/server.crt. If you want to close ssl,set 0--keyfile <string>: SSL key file. Default is ../../../ssl_key/server.key.diff --git a/runtime/docs/SDK_advanced_guide_online_zh.md b/runtime/docs/SDK_advanced_guide_online_zh.mdindex d8da63fb2..033259ab2 100644--- a/runtime/docs/SDK_advanced_guide_online_zh.md+++ b/runtime/docs/SDK_advanced_guide_online_zh.md@@ -120,7 +120,8 @@ nohup bash run_server_2pass.sh \--punc-quant True为量化PUNC模型,False为非量化PUNC模型,默认是True--itn-dir modelscope model ID 或者 本地模型路径--port 服务端监听的端口号,默认为 10095---decoder-thread-num 服务端启动的推理线程数,默认为 8+--decoder-thread-num 服务端线程池个数(支持的最大并发路数),默认为 8+--model-thread-num 每路识别的内部线程数(控制ONNX模型的并行),默认为 1,其中建议 decoder-thread-num*model-thread-num 等于总线程数--io-thread-num 服务端启动的IO线程数,默认为 1--certfile ssl的证书文件,默认为:../../../ssl_key/server.crt,如果需要关闭ssl,参数设置为0--keyfile ssl的密钥文件,默认为:../../../ssl_key/server.key