cached_download deprecated
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?
I have used this recently but I do not seem to run with any error running it on collab. If you need I can share the piece of code with which I got it running 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. I have tried both with Python 3.10.13 and 3.10.14. Bertalign does not compile with Python > 3.10
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.