From 4b7a767211b3541293f6cb28372ad4148b417c29 Mon Sep 17 00:00:00 2001 From: Irina Efode Date: Fri, 20 Dec 2024 14:25:12 +0400 Subject: [PATCH] Update greedy_causal_lm.cpp --- samples/cpp/text_generation/greedy_causal_lm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/cpp/text_generation/greedy_causal_lm.cpp b/samples/cpp/text_generation/greedy_causal_lm.cpp index acdd8b690d..b5ca59095b 100644 --- a/samples/cpp/text_generation/greedy_causal_lm.cpp +++ b/samples/cpp/text_generation/greedy_causal_lm.cpp @@ -13,7 +13,7 @@ int main(int argc, char* argv[]) try { ov::genai::LLMPipeline pipe(models_path, device); ov::genai::GenerationConfig config; - config.max_new_tokens = 100; + config.max_new_tokens = 100; std::string result = pipe.generate(prompt, config); std::cout << result << std::endl; } catch (const std::exception& error) {