From e451eb799a5bccd53dfd4b86cf66a4668b0088b7 Mon Sep 17 00:00:00 2001 From: shixian.shi <shixian.shi@alibaba-inc.com> Date: 星期三, 06 三月 2024 15:31:47 +0800 Subject: [PATCH] infer for word punc model --- examples/industrial_data_pretraining/whisper/demo_from_openai.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/industrial_data_pretraining/whisper/demo_from_openai.py b/examples/industrial_data_pretraining/whisper/demo_from_openai.py index 0b88a95..046e9c6 100644 --- a/examples/industrial_data_pretraining/whisper/demo_from_openai.py +++ b/examples/industrial_data_pretraining/whisper/demo_from_openai.py @@ -7,8 +7,8 @@ # model = AutoModel(model="Whisper-small", hub="openai") # model = AutoModel(model="Whisper-medium", hub="openai") -model = AutoModel(model="Whisper-large-v2", hub="openai") -# model = AutoModel(model="Whisper-large-v3", hub="openai") +# model = AutoModel(model="Whisper-large-v2", hub="openai") +model = AutoModel(model="Whisper-large-v3", hub="openai") res = model.generate( language=None, -- Gitblit v1.9.1