From 9ff194d1eeba77c0d3807defe36979f1f55fb258 Mon Sep 17 00:00:00 2001 From: Aoi <82735346+ryan-minato@users.noreply.github.com> Date: Thu, 26 Dec 2024 21:07:28 +0900 Subject: [PATCH] fix: LightevalTaskConfig.stop_sequence attribute (#463) * fix: LightevalTaskConfig.stop_sequence attribute * fix: linter --------- Co-authored-by: Nathan Habib <30601243+NathanHB@users.noreply.github.com> --- src/lighteval/tasks/lighteval_task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lighteval/tasks/lighteval_task.py b/src/lighteval/tasks/lighteval_task.py index ea01f81e4..b2f26850d 100644 --- a/src/lighteval/tasks/lighteval_task.py +++ b/src/lighteval/tasks/lighteval_task.py @@ -130,7 +130,7 @@ def __post_init__(self): self.hf_avail_splits = tuple(self.hf_avail_splits) if self.hf_avail_splits is not None else None self.evaluation_splits = tuple(self.evaluation_splits) self.suite = tuple(self.suite) - self.stop_sequence = tuple(self.stop_sequence) if self.stop_sequence is not None else None + self.stop_sequence = tuple(self.stop_sequence) if self.stop_sequence is not None else () def print(self): md_writer = MarkdownTableWriter()