From bd540ad4397aeab05de20cb450a32705bc5b3ebe Mon Sep 17 00:00:00 2001 From: Sadra Barikbin Date: Thu, 26 Dec 2024 22:14:39 +0330 Subject: [PATCH] Remove redundant change --- src/lighteval/tasks/lighteval_task.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lighteval/tasks/lighteval_task.py b/src/lighteval/tasks/lighteval_task.py index 1249dc27..b2f26850 100644 --- a/src/lighteval/tasks/lighteval_task.py +++ b/src/lighteval/tasks/lighteval_task.py @@ -388,7 +388,7 @@ def construct_requests( sample_index=document_id_seed, request_index=0, context=context, - stop_sequence=self.stop_sequence or [], + stop_sequence=self.stop_sequence, generation_size=self.generation_size, generation_grammar=self.generation_grammar, num_samples=max(self.num_samples), @@ -476,7 +476,7 @@ def construct_requests( sample_index=document_id_seed, request_index=0, context=context, - stop_sequence=self.stop_sequence or [], + stop_sequence=self.stop_sequence, generation_size=self.generation_size, metric_categories=[MetricCategory.LLM_AS_JUDGE_MULTI_TURN], )