From 8c6d1642f5fbf1d55edb324e35e9fa6e89da25a1 Mon Sep 17 00:00:00 2001
From: Xuning Tan <me@xuning.eu.org>
Date: 星期三, 01 十月 2025 14:45:45 +0800
Subject: [PATCH] fix: correct the deepspeed_config path reference in the finetuning script (#2680)

---
 examples/industrial_data_pretraining/monotonic_aligner/demo.py |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/examples/industrial_data_pretraining/monotonic_aligner/demo.py b/examples/industrial_data_pretraining/monotonic_aligner/demo.py
index cad9aab..35ddb89 100644
--- a/examples/industrial_data_pretraining/monotonic_aligner/demo.py
+++ b/examples/industrial_data_pretraining/monotonic_aligner/demo.py
@@ -5,11 +5,14 @@
 
 from funasr import AutoModel
 
-model = AutoModel(model="damo/speech_timestamp_prediction-v1-16k-offline", model_revision="v2.0.2")
+model = AutoModel(model="iic/speech_timestamp_prediction-v1-16k-offline")
 
-res = model.generate(input=("https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/asr_example_zh.wav",
-                   "娆㈣繋澶у鏉ュ埌榄旀惌绀惧尯杩涜浣撻獙"),
-            data_type=("sound", "text"),
-            batch_size=2,
-            )
+res = model.generate(
+    input=(
+        "https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/asr_example_zh.wav",
+        "娆㈣繋澶у鏉ュ埌榄旀惌绀惧尯杩涜浣撻獙",
+    ),
+    data_type=("sound", "text"),
+    batch_size=2,
+)
 print(res)

--
Gitblit v1.9.1