-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with import statement of transformer #52
Comments
Hello, I also have the same problem. I am using a single GPU running code. Have you resolved it? How to solve it? |
I was finally able to run their code by repeating the following process:
I forgot about exactly what versions of each module worked, so you might have to explore the same way. |
Thank you so so so much!I'll try it.:) |
requirements.txt |
This import statement raises an error:
ImportError: cannot import name 'swish' from 'transformers.activations'
Why does this happen? Is it related to the version of transformers you use? How should we make the code runnable?
The text was updated successfully, but these errors were encountered: