From 3d2c7fad744a36cfbbfa215edc947f3aa6a67807 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Tue, 20 Feb 2024 09:44:40 +0800 Subject: [PATCH] Increase the right chunk size of streaming paraformer to 3 (#588) --- sherpa-onnx/csrc/online-recognizer-paraformer-impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sherpa-onnx/csrc/online-recognizer-paraformer-impl.h b/sherpa-onnx/csrc/online-recognizer-paraformer-impl.h index a084e0da6..313115e10 100644 --- a/sherpa-onnx/csrc/online-recognizer-paraformer-impl.h +++ b/sherpa-onnx/csrc/online-recognizer-paraformer-impl.h @@ -457,7 +457,7 @@ class OnlineRecognizerParaformerImpl : public OnlineRecognizerImpl { // (61 - 7) / 6 + 1 = 10 int32_t left_chunk_size_ = 5; - int32_t right_chunk_size_ = 2; + int32_t right_chunk_size_ = 3; }; } // namespace sherpa_onnx