mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update repo
This commit is contained in:
parent
9b7311209e
commit
f4b0377a4f
@ -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 "<unk>" >> ${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 \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user