Skip to content

Conversation

@regisss
Copy link
Collaborator

@regisss regisss commented Jul 21, 2025

What does this PR do?

From Datasets v4, datasets that require the execution of remote code cannot be loaded anymore. This PR ensures references to these datasets are updated.

Impacted datasets:

  • Common Language ✔️
  • LM eval:
    • PIQA ✔️
    • MathQA ✔️

For uploading a v4-compatible version of dataset, you can do ass follow:

  1.  pip install datasets==3.6.0
    
  2.  huggingface-cli login --token <token_with_write_rights>
    
  3.  from datasets import load_dataset
    
     ds = load_dataset(<dataset_name>)
     ds.push_to_hub(<new_dataset_name>)  # e.g. "regisss/piqa" for PIQA

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

@HuggingFaceDocBuilderDev

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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants