Skip to content
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

Don't use deprecated DatasetFilter + update deps #527

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

Conversation

Wauplin
Copy link

@Wauplin Wauplin commented May 22, 2024

DatasetFilter has been deprecated since version 0.21.0 and will be removed in next version of huggingface_hub (0.24.0). This PR updates the code to get rid of DatasetFilter and use plain args instead. I also took the liberty to update the minimal huggingface_hub version. For the record transformers/datasets/diffusers latest versions are already set to use 0.22.0+ so should be fine. I also removed tests for Python3.7 since latest versions don't support it (since June 2023).

Related deprecation PR: huggingface/huggingface_hub#2028.

cc @tomaarsen

@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.

@tomaarsen
Copy link
Member

I appreciate it. I'll look at this PR (and others on SetFit) after the v3.0 Sentence Transformers release (scheduled this month). Apologies for the delays.

  • Tom Aarsen

@Wauplin
Copy link
Author

Wauplin commented May 22, 2024

No worries, that's fine I think. Just wanted to make sure we don't forget.

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.

None yet

3 participants