From cbf1910eaa6fc1782d882259b43307726a27c81a Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Tue, 20 Feb 2024 09:43:45 +0800 Subject: [PATCH] Increase the right chunk size of streaming paraformer to 3 --- 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