Closed carschno closed 4 weeks ago
See e.g. this run for failing build.
The fix in #136 makes the build pass again.
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.