-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels