From 476dc3f30c014e0d2ebdc46ce0283ddbfe63eeb8 Mon Sep 17 00:00:00 2001 From: VirtuosoQ <2416050435@qq.com> Date: 星期日, 28 四月 2024 16:37:54 +0800 Subject: [PATCH] 16:37 java_http_client --- examples/industrial_data_pretraining/paraformer_streaming/demo.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/examples/industrial_data_pretraining/paraformer_streaming/demo.py b/examples/industrial_data_pretraining/paraformer_streaming/demo.py index 9fcee3a..57356b8 100644 --- a/examples/industrial_data_pretraining/paraformer_streaming/demo.py +++ b/examples/industrial_data_pretraining/paraformer_streaming/demo.py @@ -10,7 +10,7 @@ chunk_size = [0, 10, 5] #[0, 10, 5] 600ms, [0, 8, 4] 480ms encoder_chunk_look_back = 4 #number of chunks to lookback for encoder self-attention decoder_chunk_look_back = 1 #number of encoder chunks to lookback for decoder cross-attention -model = AutoModel(model="iic/speech_paraformer_asr_nat-zh-cn-16k-common-vocab8404-online", model_revision="v2.0.4") +model = AutoModel(model="iic/speech_paraformer_asr_nat-zh-cn-16k-common-vocab8404-online") wav_file = os.path.join(model.model_path, "example/asr_example.wav") res = model.generate(input=wav_file, -- Gitblit v1.9.1