modelscope-funasr可不可以用whisper模型?但我这么做了后,提示config
使用的这个,只是把模型更换了from funasr import AutoModel
model = AutoModel(model="paraformer-zh", vad_model="fsmn-vad", punc_model="ct-punc-c",
# spk_model="cam++"
)
res = model.generate(input=f"{model.model_path}/example/asr_example.wav",
batch_size_s=300,
hotword='魔搭')
print(res)
可以的,可以看github上介绍。 https://github.com/alibaba-damo-academy/FunASR/tree/main/examples/industrial_data_pretraining/whisper
此回答整理自钉群“modelscope-funasr社区交流”