From 69414331db25e8f10e4430a3b3ae382c8a820fce Mon Sep 17 00:00:00 2001 From: Irina Efode Date: Wed, 25 Sep 2024 17:55:45 +0400 Subject: [PATCH] Update generation_config.cpp --- src/cpp/src/generation_config.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/cpp/src/generation_config.cpp b/src/cpp/src/generation_config.cpp index 2ae2b7d4c..5e2a25639 100644 --- a/src/cpp/src/generation_config.cpp +++ b/src/cpp/src/generation_config.cpp @@ -171,9 +171,6 @@ GenerationConfig beam_search() { GenerationConfig greedy() { GenerationConfig greedy_config; - greedy_config.temperature = 0.0f; - greedy_config.ignore_eos = true; - greedy_config.num_return_sequences = 1; greedy_config.max_new_tokens = 30; return greedy_config; }