Skip to content

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

lm ppl recipe

游雁2144444b535a
diff --git a/egs/aishell2/transformerLM/run.sh b/egs/aishell2/transformerLM/run.sh
index 9e7a7135b..a5ea0eac8 100755
--- a/egs/aishell2/transformerLM/run.sh
+++ b/egs/aishell2/transformerLM/run.sh
@@ -232,7 +232,7 @@ gpu_num=1
if [ ${stage} -le 3 ] && [ ${stop_stage} -ge 3 ]; then
echo "Stage 3: Calc perplexity: ${lm_test_text}"
- python ../../../funasr/bin/lm_inference.py \
+ python ../../../funasr/bin/lm_inference_launch.py \
--output_dir "${lm_exp}/perplexity_test" \
--ngpu "${gpu_num}" \
--batch_size 1 \