From 14c7fa6de09a2779314f52ae9780faae34211767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=82osz=20=C5=BBeglarski?= Date: Fri, 2 Aug 2024 11:16:10 +0200 Subject: [PATCH] Update src/cpp/src/sampler.hpp --- src/cpp/src/sampler.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/src/sampler.hpp b/src/cpp/src/sampler.hpp index 2ce87531ff..7aa17ad1c6 100644 --- a/src/cpp/src/sampler.hpp +++ b/src/cpp/src/sampler.hpp @@ -434,7 +434,7 @@ void GroupBeamSearcher::select_next_tokens(const ov::Tensor& logits, SamplerOutp Sequence::Ptr forked_sequence = m_sequence_group->fork_sequence(candidate.m_sequence); // and finish immidiately forked_sequence->set_status(SequenceStatus::FINISHED); - // Setting length since this function is used when sequence generated eos token + // Setting stop since this function is used when sequence generated eos token forked_sequence->set_finish_reason(GenerationFinishReason::STOP); // TODO: make it more simplier