-
Notifications
You must be signed in to change notification settings - Fork 229
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
Don't use deprecated DatasetFilter
+ update deps
#527
Conversation
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. |
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.
|
No worries, that's fine I think. Just wanted to make sure we don't forget. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
No updates on this? |
Hello! Apologies for the delay! I've merged these changes into
|
DatasetFilter
has been deprecated since version0.21.0
and will be removed in next version ofhuggingface_hub
(0.24.0). This PR updates the code to get rid ofDatasetFilter
and use plain args instead. I also took the liberty to update the minimalhuggingface_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