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
嘉渊a43b3da4be85
diff --git a/.github/workflows/UnitTest.yml b/.github/workflows/UnitTest.ymlindex 8ced9e489..ae7542bfe 100644--- a/.github/workflows/UnitTest.yml+++ b/.github/workflows/UnitTest.yml@@ -6,9 +6,7 @@ on:- mainpush:branches:- - dev_wjm- dev_jy- - dev_wjm_inferjobs:build:diff --git a/.github/workflows/main.yml b/.github/workflows/main.ymlindex 26a47c478..332d35e61 100644--- a/.github/workflows/main.yml+++ b/.github/workflows/main.yml@@ -5,7 +5,6 @@ on:- mainpush:branches:- - dev_wjm- main- dev_lyhdiff --git a/egs/aishell/branchformer/conf/train_asr_branchformer.yaml b/egs/aishell/branchformer/conf/train_asr_branchformer.yamlindex cb8ac3b17..a5f8704b1 100644--- a/egs/aishell/branchformer/conf/train_asr_branchformer.yaml+++ b/egs/aishell/branchformer/conf/train_asr_branchformer.yaml@@ -34,20 +34,27 @@ decoder_conf:self_attention_dropout_rate: 0.src_attention_dropout_rate: 0.+# frontend related+frontend: wav_frontend+frontend_conf:+ fs: 16000+ window: hamming+ n_mels: 80+ frame_length: 25+ frame_shift: 10+ lfr_m: 1+ lfr_n: 1+# hybrid CTC/attentionmodel_conf:ctc_weight: 0.3lsm_weight: 0.1 # label smoothing optionlength_normalized_loss: false-# minibatch related-batch_type: numel-batch_bins: 25000000-# optimization relatedaccum_grad: 1grad_clip: 5-max_epoch: 60+max_epoch: 180val_scheduler_criterion:- valid- acc@@ -65,10 +72,6 @@ scheduler: warmuplrscheduler_conf:warmup_steps: 35000-num_workers: 4 # num of workers of data loader-use_amp: true # automatic mixed precision-unused_parameters: false # set as true if some params are unused in DDP-specaug: specaugspecaug_conf:apply_time_warp: true@@ -84,3 +87,18 @@ specaug_conf:- 0.- 0.05num_time_mask: 10++dataset_conf:+ data_names: speech,text+ data_types: sound,text+ shuffle: True+ shuffle_conf:+ shuffle_size: 2048+ sort_size: 500+ batch_conf:+ batch_type: token+ batch_size: 25000+ num_workers: 8++log_interval: 50+normalize: None\ No newline at end of filediff --git a/egs/aishell/branchformer/run.sh b/egs/aishell/branchformer/run.shindex b5aeae73f..6bb4a0cc5 100755--- a/egs/aishell/branchformer/run.sh+++ b/egs/aishell/branchformer/run.sh@@ -3,8 +3,8 @@. ./path.sh || exit 1;# machines configuration-CUDA_VISIBLE_DEVICES="0,1"-gpu_num=2+CUDA_VISIBLE_DEVICES="0,1,2,3"+gpu_num=4count=1gpu_inference=true # Whether to perform gpu decoding, set false for cpu decoding# for gpu decoding, inference_nj=ngpu*njob; for cpu decoding, inference_nj=njob