游雁
2024-04-15 199f6e630af9d9ccfb8c50bcd1f7ba0392c9bd5e
bugfix
2个文件已修改
3 ■■■■ 已修改文件
examples/industrial_data_pretraining/paraformer/finetune.sh 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
funasr/models/sense_voice/model.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
examples/industrial_data_pretraining/paraformer/finetune.sh
@@ -10,7 +10,6 @@
## option 1, download model automatically
model_name_or_model_dir="iic/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch"
model_name_or_model_dir="iic/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch"
## option 2, download model by git
#local_path_root=${workspace}/modelscope_models
funasr/models/sense_voice/model.py
@@ -96,7 +96,7 @@
        options = whisper.DecodingOptions(**DecodingOptions)
        
        result = whisper.decode(self.model, speech, options)
        text = f"{result.text}\n"
        text = f"{result.text}"
        results = []
        result_i = {"key": key[0], "text": text}