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

transformers ImportError: cannot import name 'PreTrainedTokenizerFast' #7

Open
wondrive opened this issue Nov 30, 2022 · 0 comments
Open
Labels
ML/DL ML/DL python python errors

Comments

@wondrive
Copy link
Owner

wondrive commented Nov 30, 2022

ERROR

  • error message: transformers ImportError: cannot import name 'PreTrainedTokenizerFast'

SOLUTION

  • install the old version of tranformers
    e.g. pip install --users transformers==3.5.1
@wondrive wondrive added the python python errors label Nov 30, 2022
@wondrive wondrive added the ML/DL ML/DL label Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ML/DL ML/DL python python errors
Projects
None yet
Development

No branches or pull requests

1 participant