Closed SinlinLi closed 2 weeks ago
Notice: In order to resolve issues more efficiently, please raise issue following the template. (注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节)
Paraformer-zh模型不加载VAD模型无法识别标点
因为我这边的业务已经先过一遍VAD了,所以ASR这边不需要开VAD。经过多次尝试之后发现如果不加载VAD模型,即使加载了PT也无法转录标点
self.model = AutoModel(model=model_name, device=device, disable_update=True, punc_model="ct-punc")
pip
Yeah. But it is not a bug.
Notice: In order to resolve issues more efficiently, please raise issue following the template. (注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节)
🐛 Bug
Paraformer-zh模型不加载VAD模型无法识别标点
To Reproduce
因为我这边的业务已经先过一遍VAD了,所以ASR这边不需要开VAD。经过多次尝试之后发现如果不加载VAD模型,即使加载了PT也无法转录标点
Code sample
self.model = AutoModel(model=model_name, device=device, disable_update=True, punc_model="ct-punc")
Expected behavior
Environment
pip
, source):