Skip to content

Fix set using wrong syntax#1057

Merged
NathanHB merged 1 commit intohuggingface:mainfrom
francesco-bertolotti:f14-ifbench-set-fix
Nov 13, 2025
Merged

Fix set using wrong syntax#1057
NathanHB merged 1 commit intohuggingface:mainfrom
francesco-bertolotti:f14-ifbench-set-fix

Conversation

@f14-bertolotti
Copy link
Copy Markdown
Contributor

the check_following method in src/lighteval/tasks/tasks/ifbench/instructions.py is using the wrong syntax for the getting a set out of a list of items

set(1,2,3) -> {1,2,3}

set(1,2,3) -> {1,2,3}

Co-authored-by: Francesco Bertolotti <francesco.bertolotti@gmail.com>
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown
Collaborator

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@NathanHB NathanHB merged commit cb97d5c into huggingface:main Nov 13, 2025
4 checks passed
rolshoven pushed a commit to rolshoven/lighteval that referenced this pull request Mar 17, 2026
set(1,2,3) -> {1,2,3}

Co-authored-by: Francesco Bertolotti <francesco.bertolotti@igenius.ai>
Co-authored-by: Francesco Bertolotti <francesco.bertolotti@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants