Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
update repo
嘉渊f4b0377a4feb
diff --git a/egs/aishell/paraformer/run.sh b/egs/aishell/paraformer/run.shindex 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 ]; thenutils/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 @@ fiif [ ${stage} -le 6 ] && [ ${stop_stage} -ge 6 ]; thenecho "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 \