Skip to content
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

Importing error of Transformers #103

Open
Rofidagamal opened this issue May 3, 2023 · 4 comments
Open

Importing error of Transformers #103

Rofidagamal opened this issue May 3, 2023 · 4 comments

Comments

@Rofidagamal
Copy link

ImportError: cannot import name 'DNATokenizer' from 'transformers' (/usr/local/lib/python3.9/dist-packages/transformers/init.py)

I try several tries to get it put there is no solution, how can I solve it ?

@OPUS-Lightphenexx
Copy link

Have you solved the problem yet?

@Rofidagamal
Copy link
Author

No

@OPUS-Lightphenexx
Copy link

You could try upgrading the transformer module using pip install transformers --upgrade, and then it worked out fine. but however, i reproduced the model all over again with a new one.

@nehmea
Copy link

nehmea commented Apr 18, 2024

I tried "pip install transformers --upgrade", and still not working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants