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 tried running the demo notebook but apparently the requirements are not sorted out properly. The model and weights are roughly from 2021/2022 and torch and other libraries have evolved since.
So FWIW this setup worked for me. I had to use Python 3.8:
The tokenizer version that is installed is 0.10.3. In the transformers package, the version requirement for tokenizers is >=0.10.1,<0.11. Still, this was giving the error packaging.version.InvalidVersion: Invalid version: '0.10.1,<0.11'. So changed the tokenizers version requirement in lib/python3.8/site-packages/transformers/dependency_versions_table.py from tokenizers>=0.10.1,<0.11 to tokenizers>=0.10.1. This worked.
I tried running the demo notebook but apparently the requirements are not sorted out properly. The model and weights are roughly from 2021/2022 and torch and other libraries have evolved since.
So FWIW this setup worked for me. I had to use Python 3.8:
The text was updated successfully, but these errors were encountered: