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
Hi, I had a problem. When I run the file I get an error:
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/generic.py", line 376, in pop
raise Exception(f"You cannot use pop on a {self.class.name} instance.")
Exception: You cannot use pop on a ModelOutput instance.
I saw here on GitHub that some ppl solve this by downgrading the transformers library at version 4.23.0, but when I try to do the same thing I get an error on installation:
ERROR: Failed building wheel for tokenizers
Failed to build tokenizers
ERROR: Could not build wheels for tokenizers, which is required to install pyproject.toml-based projects
Any ideas?
I saw on the internet that some ppl solve this by installing rust, but I get the same error.
Thanks
The text was updated successfully, but these errors were encountered:
and install it with this version, but for me after this i got an error with tokenizer(you cand see my comment in linke above) and i manage to solve all of this by using python 3.10 or 3.9.x but not python 3.11. Just create a new env and it should be ok.
Hi, I had a problem. When I run the file I get an error:
File "/usr/local/lib/python3.10/dist-packages/transformers/utils/generic.py", line 376, in pop
raise Exception(f"You cannot use
pop
on a {self.class.name} instance.")Exception: You cannot use
pop
on a ModelOutput instance.I saw here on GitHub that some ppl solve this by downgrading the transformers library at version 4.23.0, but when I try to do the same thing I get an error on installation:
ERROR: Failed building wheel for tokenizers
Failed to build tokenizers
ERROR: Could not build wheels for tokenizers, which is required to install pyproject.toml-based projects
Any ideas?
I saw on the internet that some ppl solve this by installing rust, but I get the same error.
Thanks
The text was updated successfully, but these errors were encountered: