Skip to content

[BUG] FileNotFoundError with newest lighteval 0.11.0 #988

@jxmorris12

Description

@jxmorris12

Describe the bug

I receive a FileNotFoundError:

│ /home/jxm/anaconda3/lib/python3.12/site-packages/datasets/load.py:1033 in dataset_module_factory                                                                                                                                             │
│                                                                                                                                                                                                                                              │
│   1030 │   │   │   │   │   ) from None                                                                                                                                                                                                       │
│   1031 │   │   │   │   raise e1 from None                                                                                                                                                                                                    │
│   1032 │   else:                                                                                                                                                                                                                             │
│ ❱ 1033 │   │   raise FileNotFoundError(f"Couldn't find any data file at {relative_to_absolute_p                                                                                                                                              │
│   1034                                                                                                                                                                                                                                       │
│   1035                                                                                                                                                                                                                                       │
│   1036 def load_dataset_builder(                                                                                                                                                                                                             │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
FileNotFoundError: Couldn't find any data file at /home/jxm/lighteval/openai/gsm8k.

To Reproduce

lighteval accelerate "model_name=gpt2" "lighteval|gsm8k|0|0"

Expected behavior

I expect it to work and run evaluation.

Version info

0.11.0 on linux with conda/uv pip

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