Skip to content

Conversation

@Ashish570raj
Copy link

Fixes #4910

This PR fixes a bug where passing the same keyword in builder_kwargs and
config_kwargs caused a TypeError in load_dataset_builder.

The kwargs are now merged safely so config_kwargs override builder_kwargs
without duplication. A regression test is added to prevent this from
happening again.

@Ashish570raj
Copy link
Author

Hi HuggingFace team
This PR fixes issue #4910 by safely merging builder_kwargs and config_kwargs to avoid duplicate keyword errors.
A regression test is included to ensure this does not happen again.

Please let me know if you’d like any changes. Thanks!

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.

Identical keywords in build_kwargs and config_kwargs lead to TypeError in load_dataset_builder()

1 participant