lm ppl recipe

This commit is contained in:
游雁 2023-07-26 17:14:40 +08:00
parent 5b7c0c17b4
commit 2144444b53

View File

@ -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 \