Skip to content

Commit

Permalink
fix: LightevalTaskConfig.stop_sequence attribute (#463)
Browse files Browse the repository at this point in the history
* fix: LightevalTaskConfig.stop_sequence attribute

* fix: linter

---------

Co-authored-by: Nathan Habib <30601243+NathanHB@users.noreply.github.com>
  • Loading branch information
ryan-minato and NathanHB authored Dec 26, 2024
1 parent 801c21a commit 9ff194d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lighteval/tasks/lighteval_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 9ff194d

Please sign in to comment.