FunASR
FunASR copied to clipboard
A Fundamental End-to-End Speech Recognition Toolkit and Open Source SOTA Pretrained Models, Supporting Speech Recognition, Voice Activity Detection, Text Post-processing etc.
from modelscope.pipelines import pipeline from modelscope.utils.constant import Tasks inference_pipeline = pipeline( task=Tasks.auto_speech_recognition, model='damo/speech_UniASR_asr_2pass-cn-dialect-16k-vocab8358-tensorflow1-offline', output_dir='./output_dir' ) rec_result = inference_pipeline(audio_in='asr_example_zh.wav') print(rec_result) ### Environment - FunASR Version (e.g., 1.0.0): 1.0.20 - ModelScope Version...
Notice: In order to resolve issues more efficiently, please raise issue following the template. (注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节) ## 🐛 Bug 使用这段代码执行: ``` import os import soundfile from funasr import AutoModel model_name =...
Notice: In order to resolve issues more efficiently, please raise issue following the template. (注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节) ## ❓ Questions and Help #### What is your question? 使用paraformer_streaming下finetune脚本微调online模型后,直接使用微调后权重文件可以输出中文,但是导出为onnx文件后输出为乱码 #### What's your environment?...
## 🐛 Bug 识别出来subword 茂名口音, gt : 好 啲 呢 我 觉 得 pred: ho@@ al@@ ding ne@@ un@@ qu@@ ar@@ ter a [2-28-2_00751262_00752898.zip](https://github.com/alibaba-damo-academy/FunASR/files/14522289/2-28-2_00751262_00752898.zip) ### To Reproduce ```python model =...
直接跑demo测试时,语音中间说how are you时how可能会丢失,说happy new year时happy可能会丢失。基本上是形状的单词容易丢失。
## ❓ Questions and Help ### Before asking: 1. search the issues. 2. search the docs. #### What is your question? The necessary files that the main branch depends on...
Notice: In order to resolve issues more efficiently, please raise issue following the template. (注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节) ## 🐛 Bug ### To Reproduce Steps to reproduce the behavior (**always include the command...
## ❓ Questions and Help #### What is your question? Starting from a fresh container environment equipped with pytorch and funasr (via `pip install funasr`), I encountered `ModuleNotFoundError: No module...
ubuntu git clone https://github.com/alibaba-damo-academy/FunASR ```python from funasr import AutoModel # paraformer-zh is a multi-functional asr model # use vad, punc, spk or not as you need model = AutoModel(model="paraformer-zh", vad_model="fsmn-vad",...
## 🐛 Bug - 使用funasr-onnx-online-asr测试paraformer_streaming训练的onnx到处模型出现**c++段错误**, - 报错位置:funasr-onnx-online-asr.cpp文件148行,FunASRInferBuffer推理函数 - 使用modelscope上的基础模型能正常运行:speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-online-onnx ### To Reproduce - 使用funasr-1.0.19 examples/industrial_data_pretraining/paraformer_streaming目录下的微调脚本训练模型 - 基础模型使用iic/speech_paraformer_asr_nat-zh-cn-16k-common-vocab8404-online,并保持config配置一致 - 模型导出使用export.sh #### Code sample ```shell model="outputs" python -m funasr.bin.export \ ++model=${model} \...