Skip to content

feat: add subset_name as alias for name in load_dataset #7657

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ArjunJagdale
Copy link
Contributor

@ArjunJagdale ArjunJagdale commented Jun 29, 2025

fixes #7637

This PR introduces subset_name as a user-facing alias for the name (previously config_name) argument in load_dataset. It aligns terminology with the Hugging Face Hub UI (which shows “Subset”), reducing confusion for new users.

Supports subset_name in load_dataset()

Adds .subset_name property to DatasetBuilder

Maintains full backward compatibility

Raises clear error if name and subset_name conflict

@ArjunJagdale ArjunJagdale changed the title Update load.py feat: add subset_name as alias for name in load_dataset Jun 29, 2025
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.

Introduce subset_name as an alias of config_name
1 participant