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
add lora finetune code
haoneng.lhn3e8159e5b0f6
diff --git a/egs_modelscope/asr/paraformer/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/finetune.py b/egs_modelscope/asr/paraformer/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/finetune.pyindex eb24e82f3..5c8c85bdb 100644--- a/egs_modelscope/asr/paraformer/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/finetune.py+++ b/egs_modelscope/asr/paraformer/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/finetune.py@@ -31,7 +31,7 @@ if __name__ == '__main__':params.data_path = "./example_data/" # 数据路径params.dataset_type = "small" # 小数据量设置small,若数据量大于1000小时,请使用largeparams.batch_bins = 2000 # batch size,如果dataset_type="small",batch_bins单位为fbank特征帧数,如果dataset_type="large",batch_bins单位为毫秒,- params.max_epoch = 5 # 最大训练轮数+ params.max_epoch = 20 # 最大训练轮数params.lr = 0.00005 # 设置学习率init_param = []freeze_param = []diff --git a/funasr/bin/build_trainer.py b/funasr/bin/build_trainer.pyindex b79448465..e7f28edd1 100644--- a/funasr/bin/build_trainer.py+++ b/funasr/bin/build_trainer.py@@ -1,7 +1,6 @@import osimport yaml-import loggingdef update_dct(fin_configs, root):if root == {}: