mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
23 lines
1.1 KiB
Bash
23 lines
1.1 KiB
Bash
|
|
cmd="funasr/bin/inference.py"
|
|
|
|
python $cmd \
|
|
+model="/Users/zhifu/Downloads/modelscope_models/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch" \
|
|
+input="/Users/zhifu/Downloads/asr_example.wav" \
|
|
+output_dir="/Users/zhifu/Downloads/ckpt/funasr2/exp2" \
|
|
+device="cpu" \
|
|
|
|
python $cmd \
|
|
+model="/Users/zhifu/Downloads/modelscope_models/speech_paraformer-large-contextual_asr_nat-zh-cn-16k-common-vocab8404" \
|
|
+input="/Users/zhifu/Downloads/asr_example.wav" \
|
|
+output_dir="/Users/zhifu/Downloads/ckpt/funasr2/exp2" \
|
|
+device="cpu" \
|
|
+"hotword='达魔院 魔搭'"
|
|
|
|
#+input="/Users/zhifu/funasr_github/test_local/asr_example.wav" \
|
|
#+input="/Users/zhifu/funasr_github/test_local/aishell2_dev_ios/asr_task_debug_len.jsonl" \
|
|
#+model="/Users/zhifu/modelscope_models/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch" \
|
|
|
|
#+model="/Users/zhifu/modelscope_models/speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-pytorch" \
|
|
#+model="/Users/zhifu/modelscope_models/speech_paraformer-large-contextual_asr_nat-zh-cn-16k-common-vocab8404" \
|
|
#+"hotword='达魔院 魔搭'" |