-
Notifications
You must be signed in to change notification settings - Fork 44
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
cached_download deprecated #8
Comments
I have used this recently but I do not seem to run with any error running it on collab. |
many thanks for the reply. the error triggers when I try to import Bertalign, but it'd be useful to see your code. |
any update on this? the library is currently broken |
I updated requirements.txt to use the latest version of sentence-transformers. That seems to be working on Colab. |
Hello, thanks for your awesome aligner!
Unfortunately, a recent change in the huggingface_hub has broken your code: https://github.com/huggingface/huggingface_hub/releases/tag/v0.26.0
The cached_download() method was completely removed and bertalign complains that
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/opt/conda/lib/python3.10/site-packages/huggingface_hub/__init__.py)
How can we fix the issue?
The text was updated successfully, but these errors were encountered: