Skip to content

Improve error message for deprecated dataset scripts with migration guidance#8017

Open
suryanshbt211 wants to merge 1 commit intohuggingface:mainfrom
suryanshbt211:improve-dataset-script-error
Open

Improve error message for deprecated dataset scripts with migration guidance#8017
suryanshbt211 wants to merge 1 commit intohuggingface:mainfrom
suryanshbt211:improve-dataset-script-error

Conversation

@suryanshbt211
Copy link

Summary
This PR improves the RuntimeError message raised when deprecated local dataset scripts are detected.
Previously, the error message:
"Dataset scripts are no longer supported"
did not provide actionable migration guidance.
Improvements

  • Clarifies the new architecture
  • Provides explicit migration steps
  • Includes link to official documentation
  • Adds a focused unit test to validate error clarity
    This should reduce confusion for contributors migrating legacy dataset scripts.

@suryanshbt211
Copy link
Author

Hi team! I’m just checking in on this PR to see if there is any additional information or documentation I can provide to help with the review process. Thanks for your time!

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.

2 participants