-
Notifications
You must be signed in to change notification settings - Fork 610
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
ImportError: cannot import name 'DatasetFilter' from 'huggingface_hub' (/opt/conda/lib/python3.10/site-packages/huggingface_hub/init.py) #2401
Comments
Hi @JayeetaP, sorry for the inconvenience this is caused by a recent breaking change introduce in 0.24.0 release. The use of |
Thanks for the response @Wauplin! I am on the latest version of |
+1, seeing the same issue. |
I replied in huggingface/setfit#544 (comment) about the fuller context. 2 solutions while waiting for a proper fix: either downgrade @JayeetaP I'm surprised installing |
like I mentioned in huggingface/setfit#544 (comment), I had to uninstall, re-install, and restart so now huggingface_hub version 0.23.5 works. I am unblocked for now! :) |
Describe the bug
Hi,
I have been using Setfit for the last month with no errors. This morning when I tried to rerun the same code, with no changes, looks 'DatasetFilter' import from huggingface_hub is failing.
The associated issue in setfit branch: huggingface/setfit#544
Reproduction
from setfit import SetFitModel, Trainer, TrainingArguments
Logs
System info
The text was updated successfully, but these errors were encountered: