From f4b0377a4febc165bd300ff982bad2198406ecf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=98=89=E6=B8=8A?= Date: Wed, 24 May 2023 19:14:58 +0800 Subject: [PATCH] update repo --- egs/aishell/paraformer/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/aishell/paraformer/run.sh b/egs/aishell/paraformer/run.sh index 0c6b73c9c..2487b293d 100755 --- a/egs/aishell/paraformer/run.sh +++ b/egs/aishell/paraformer/run.sh @@ -101,7 +101,6 @@ if [ ${stage} -le 2 ] && [ ${stop_stage} -ge 2 ]; then utils/text2token.py -s 1 -n 1 --space "" ${feats_dir}/data/$train_set/text | cut -f 2- -d" " | tr " " "\n" \ | sort | uniq | grep -a -v -e '^\s*$' | awk '{print $0}' >> ${token_list} echo "" >> ${token_list} - vocab_size=$(cat ${token_list} | wc -l) fi # LM Training Stage @@ -215,6 +214,7 @@ fi if [ ${stage} -le 6 ] && [ ${stop_stage} -ge 6 ]; then echo "stage 6: ModelScope Preparation" cp ${feats_dir}/data/${train_set}/cmvn/am.mvn ${exp_dir}/exp/${model_dir}/am.mvn + vocab_size=$(cat ${token_list} | wc -l) python utils/gen_modelscope_configuration.py \ --am_model_file $inference_asr_model \ --mode paraformer \