Skip to content

[BUG] 187 multilingual/QA tasks can't load on datasets>=4 (script-based datasets); ifeval-fr/gpqa-fr/bac-fr repos are gone #1406

Open

Description

@David-Wu1119

Describe the bug

lighteval requires datasets>=4.0.0, and datasets 4 dropped support for loading scripts. Six task modules still point at script-based datasets, so every task in them fails before any evaluation runs:

RuntimeError: Dataset scripts are no longer supported, but found mlqa.py
module hf_repo task configs
multilingual/tasks/mkqa.py apple/mkqa 168
multilingual/tasks/mintaka.py AmazonScience/mintaka 9
multilingual/tasks/mlqa.py facebook/mlqa 6
tasks/headqa.py lighteval/headqa_harness 2
multilingual/tasks/faquad.py eraldoluis/faquad 1
multilingual/tasks/squad_es.py ccasimiro/squad_es 1

That is 187 task configs in total. Separately, ifeval-fr, gpqa-fr and bac-fr in multilingual/tasks/french.py use fr-gouv-coordination-ia/{IFEval-fr,gpqa-fr,bac-fr}. That organization has no public datasets any more, so those three tasks fail with RepositoryNotFoundError.

siqa (allenai/social_i_qa) and mathqa (allenai/math_qa) also ship loading scripts, but they still load on datasets 5.0.1, so they aren't affected.

To Reproduce

import datasets
datasets.load_dataset("facebook/mlqa", "mlqa.de.de", split="test")
# RuntimeError: Dataset scripts are no longer supported, but found mlqa.py

I checked every config in TASKS_TABLE of the modules above (189 configs) by loading its hf_repo, hf_subset and first evaluation split. The checked versions are lighteval main at b634749 and datasets 5.0.1.

Expected behavior

The tasks load.

Hub's auto-converted parquet exists for all six repos on the refs/convert/parquet branch, with one directory per config. Setting only hf_revision="refs/convert/parquet" isn't enough on datasets 5: load_dataset("facebook/mlqa", "mlqa.de.de", revision="refs/convert/parquet") fails with BuilderConfig 'mlqa.de.de' not found. Loading the per-config files does work:

datasets.load_dataset(
    "parquet",
    data_files={"test": "hf://datasets/facebook/mlqa@refs%2Fconvert%2Fparquet/mlqa.de.de/test/*.parquet"},
    split="test",
)  # 4517 rows; the same approach gives 4000 rows for AmazonScience/mintaka "de"

So these tasks could either use hf_data_files pointing at those files, or be re-uploaded as parquet mirrors under the lighteval org (as was done for lighteval/siqa). I'm happy to open a PR for whichever approach you prefer. I don't know where the French datasets went.

Version info

lighteval main (b634749), datasets 5.0.1, huggingface_hub 1.33, Python 3.12, macOS.

🤖 Generated with Claude Code

Activity

  1. irvallensar commented on Oct 1, 2026

    @irvallensar

    Hello, I can pick this up right now. Since option 2 requires org permissions, I'll implement option 1 and update the configs to point hf_data_files to the auto-converted parquet files on the refs/convert/parquet branch. I'll also comment out the missing French datasets with a FIXME note so they stop crashing the suite.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions