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
嘉渊e610c8ce0086
diff --git a/egs/aishell/paraformerbert/run.sh b/egs/aishell/paraformerbert/run.shindex cc12a3329..e65ad2c71 100755--- a/egs/aishell/paraformerbert/run.sh+++ b/egs/aishell/paraformerbert/run.sh@@ -210,5 +210,4 @@ if [ ${stage} -le 4 ] && [ ${stop_stage} -ge 4 ]; thentail -n 3 ${_dir}/text.cer > ${_dir}/text.cer.txtcat ${_dir}/text.cer.txtdone-fi-+fi\ No newline at end of filediff --git a/egs/aishell2/paraformerbert/run.sh b/egs/aishell2/paraformerbert/run.shindex 3b42e3494..ef74dd144 100755--- a/egs/aishell2/paraformerbert/run.sh+++ b/egs/aishell2/paraformerbert/run.sh@@ -117,7 +117,6 @@ if [ ${stage} -le 3 ] && [ ${stop_stage} -ge 3 ]; thenif ! "${skip_extract_embed}"; thenecho "extract embeddings..."local/extract_embeds.sh \- --bert_model_root ${bert_model_root} \--bert_model_name ${bert_model_name} \--raw_dataset_path ${feats_dir}fi@@ -134,22 +133,24 @@ if [ ${stage} -le 3 ] && [ ${stop_stage} -ge 3 ]; thenrank=$ilocal_rank=$igpu_id=$(echo $CUDA_VISIBLE_DEVICES | cut -d',' -f$[$i+1])- asr_train_paraformer.py \+ train.py \+ --task_name asr \--gpu_id $gpu_id \--use_preprocessor true \- --dataset_type $dataset_type \- --token_type $token_type \+ --token_type char \--token_list $token_list \- --train_data_file $feats_dir/$dumpdir/${train_set}/data_bert.list \- --valid_data_file $feats_dir/$dumpdir/${valid_set}/data_bert.list \+ --data_dir ${feats_dir}/data \+ --train_set ${train_set} \+ --valid_set ${valid_set} \+ --embed_path ${feats_dir}/data \+ --cmvn_file ${feats_dir}/data/${train_set}/cmvn/cmvn.mvn \+ --speed_perturb ${speed_perturb} \+ --dataset_type $dataset_type \--resume true \--output_dir ${exp_dir}/exp/${model_dir} \--config $asr_config \- --allow_variable_data_keys true \- --input_size $feats_dim \--ngpu $gpu_num \--num_worker_count $count \- --multiprocessing_distributed true \--dist_init_method $init_method \--dist_world_size $world_size \--dist_rank $rank \@@ -213,5 +214,4 @@ if [ ${stage} -le 4 ] && [ ${stop_stage} -ge 4 ]; thentail -n 3 ${_dir}/text.cer > ${_dir}/text.cer.txtcat ${_dir}/text.cer.txtdone-fi-+fi\ No newline at end of file