Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

test_cer

游雁3dc499dbdcaa
diff --git a/funasr/runtime/python/benchmark_libtorch.md b/funasr/runtime/python/benchmark_libtorch.md
index 52927b190..2aafe2544 100644
--- a/funasr/runtime/python/benchmark_libtorch.md
+++ b/funasr/runtime/python/benchmark_libtorch.md
@@ -22,12 +22,18 @@ pip install -r requirements.txt
#### Recipe
+##### test_rtf
set the model, data path and output_dir
-
```shell
nohup bash test_rtf.sh &> log.txt &
```
+##### test_cer
+set the model, data path and output_dir
+```shell
+nohup bash test_cer.sh &> log.txt &
+```
+
## [Paraformer-large](https://www.modelscope.cn/models/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/summary)
diff --git a/funasr/runtime/python/benchmark_onnx.md b/funasr/runtime/python/benchmark_onnx.md
index ffae8f90d..2863ff8cb 100644
--- a/funasr/runtime/python/benchmark_onnx.md
+++ b/funasr/runtime/python/benchmark_onnx.md
@@ -22,12 +22,18 @@ pip install -r requirements.txt
#### Recipe
-set the model, data path and output_dir
+##### test_rtf
+set the model, data path and output_dir
```shell
nohup bash test_rtf.sh &> log.txt &
```
+##### test_cer
+set the model, data path and output_dir
+```shell
+nohup bash test_cer.sh &> log.txt &
+```
## [Paraformer-large](https://www.modelscope.cn/models/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/summary)
diff --git a/funasr/runtime/python/utils/infer.py b/funasr/runtime/python/utils/test_cer.py
similarity index 100%
rename from funasr/runtime/python/utils/infer.py
rename to funasr/runtime/python/utils/test_cer.py
diff --git a/funasr/runtime/python/utils/infer.sh b/funasr/runtime/python/utils/test_cer.sh
similarity index 98%
rename from funasr/runtime/python/utils/infer.sh
rename to funasr/runtime/python/utils/test_cer.sh
index c9a1b775b..da4cd08fd 100644
--- a/funasr/runtime/python/utils/infer.sh
+++ b/funasr/runtime/python/utils/test_cer.sh
@@ -1,6 +1,6 @@
split_scps_tool=split_scp.pl
-inference_tool=infer.py
+inference_tool=test_cer.py
proce_text_tool=proce_text.py
compute_wer_tool=compute_wer.py