Skip to content

[BUG] test split forced to hit Careful warning #801

Description

@jamesbraza

Describe the bug

Using hf_avail_splits=["test"] with LightevalTaskConfig you are forced to hit:

[2025-06-06 18:21:10,501] [ WARNING]: Careful, the task community|foo is using evaluation data to build the few shot examples. (lighteval_task.py:260)

To Reproduce

Since "test" isn't a value in allowed_splits at https://github.com/huggingface/lighteval/blob/v0.10.0/src/lighteval/tasks/lighteval_task.py#L251.

Expected behavior

Not forced to hit a warning with hf_avail_splits=["test"], since test is a commonly used split.

Version info

lighteval==0.10.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions