You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an ImportError when I use the language and style_or_domain parameters upon initializing a SaT model when using the most recent version huggingface-hub version (0.26.x), which is installed by default:
Thanks for catching this! Indeed, I can reproduce this issue. This comes from the adapters library which we use for loading LoRA modules, and there also exists an issue for their library: #750
It could take some time until the fix will end up in their pypi version, so I will go ahead and merge your PR. Thanks for contributing!
Once their fix ended up in pypi, we should remove fixing the huggingface-hub version again.
I get an
ImportError
when I use thelanguage
andstyle_or_domain
parameters upon initializing aSaT
model when using the most recent versionhuggingface-hub
version (0.26.x), which is installed by default:The initialization does work without the additional arguments:
The error does not appear with older
huggingface-hub
versions (<= 0.25):This is on Mac Os with Python 3.11, but seems to occur across OS's and Python versions.
The text was updated successfully, but these errors were encountered: