From 32905d8cdedd53dad26680b0bd41397aaf0e51ae Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期五, 05 一月 2024 11:52:48 +0800
Subject: [PATCH] funasr1.0
---
examples/industrial_data_pretraining/ct-transformer/infer.sh | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/examples/industrial_data_pretraining/ct-transformer/infer.sh b/examples/industrial_data_pretraining/ct-transformer/infer.sh
index f6c5c23..bd8ac05 100644
--- a/examples/industrial_data_pretraining/ct-transformer/infer.sh
+++ b/examples/industrial_data_pretraining/ct-transformer/infer.sh
@@ -1,14 +1,13 @@
# download model
-local_path_root=./modelscope_models
+local_path_root=../modelscope_models
mkdir -p ${local_path_root}
local_path=${local_path_root}/punc_ct-transformer_zh-cn-common-vocab272727-pytorch
-git clone https://www.modelscope.cn/damo/speech_paraformer-large-contextual_asr_nat-zh-cn-16k-common-vocab8404.git ${local_path}
+git clone https://www.modelscope.cn/damo/punc_ct-transformer_zh-cn-common-vocab272727-pytorch.git ${local_path}
python funasr/bin/inference.py \
+model="${local_path}" \
+input="${local_path}/example/punc_example.txt" \
+output_dir="./outputs/debug" \
-+device="cpu" \
-+debug="true"
++device="cpu"
--
Gitblit v1.9.1