From d7642ff1e938a7cff43129a48d9fbb5f5f7a4234 Mon Sep 17 00:00:00 2001 From: laurent Date: Thu, 19 Jun 2025 15:34:49 +0200 Subject: [PATCH] Add a comment with the different time horizons. --- stt-rs/src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stt-rs/src/main.rs b/stt-rs/src/main.rs index 43d8243..4f81327 100644 --- a/stt-rs/src/main.rs +++ b/stt-rs/src/main.rs @@ -172,8 +172,9 @@ impl Model { for asr_msg in asr_msgs.iter() { match asr_msg { moshi::asr::AsrMsg::Step { prs, .. } => { - // prs is the probability of voice activity for different time horizons. - // The first element is the most recent time horizon. + // prs is the probability of having no voice activity for different time + // horizons. + // In kyutai/stt-1b-en_fr-candle, these horizons are 0.5s, 1s, 2s, and 3s. if self.vad && prs[2][0] > 0.5 && !printed_eot { printed_eot = true; if !self.timestamps {