Similarly, when the number of words is more than 25 in a sentence, then a warning highlighted in red is given. 2 Installation 2.1 Python I built this on Python 3.4.5. So first we need to install Python. On Mac, I used Homebrew to install Python e.g. one can use this command: To...
Python fromfunasrimportAutoModelmodel=AutoModel(model="paraformer",device="cpu")res=model.export(quantize=False) Test ONNX # pip3 install -U funasr-onnxfromfunasr_onnximportParaformermodel_dir="damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch"model=Paraformer(model_di...