Update dependency datasets to v2.21.0#4456
Update dependency datasets to v2.21.0#4456renovate-bot wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request updates the Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates the datasets dependency from 2.18.0 to 2.21.0. I've reviewed the release notes for the new versions and analyzed how the datasets library is used in prepare_dataset.py. The most significant change is trust_remote_code now defaulting to False in v2.20.0, which enhances security. This change does not affect the project's current implementation, as it loads local data using built-in loaders. The update appears safe to merge.
Note: Security Review has been skipped due to the limited scope of the PR.
33da84f to
40f5def
Compare
40f5def to
b2bc9b6
Compare
This PR contains the following updates:
==2.18.0→==2.21.0Release Notes
huggingface/datasets (datasets)
v2.21.0Compare Source
Features
What's Changed
HF_HUB_OFFLINEinstead ofHF_DATASETS_OFFLINEby @Wauplin in #696883e5c05New Contributors
Full Changelog: huggingface/datasets@2.20.0...2.21.0
v2.20.0Compare Source
Important
trust_remote_code=Trueby @lhoestq in #6954trust_remote_code=Trueto be usedDatasets features
checkpoint and resume an iterable dataset (e.g. when streaming):
Returns:
General improvements and bug fixes
.pthsupport for torch tensors by @lhoestq in #6920dataset_module_factoryby @Wauplin in #6959New Contributors
Full Changelog: huggingface/datasets@2.19.0...2.20.0
v2.19.2Compare Source
Bug fixes
Full Changelog: huggingface/datasets@2.19.1...2.19.2
v2.19.1Compare Source
Bug fixes
Full Changelog: huggingface/datasets@2.19.0...2.19.1
v2.19.0Compare Source
Dataset Features
.to_polars();fsspecsupport forto_json,to_csv, andto_parquetby @alvarobartt in #6096modeparameter toImagefeature by @mariosasko in #6735General improvements and bug fixes
remove_columns/rename_columnsdoc fixes by @mariosasko in #6772uvin CI by @mariosasko in #6779_check_legacy_cache2by @lhoestq in #6792DatasetBuilder._split_generatorsincomplete type annotation by @JonasLoos in #6799CachedDatasetModuleFactoryandCacheby @izhx in #6754os.path.relpathinresolve_patternsby @mariosasko in #6815Dataset.__getitem__by @mariosasko in #6817New Contributors
Full Changelog: huggingface/datasets@2.18.0...2.19.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.