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

TypeError: 'BertTokenizerFast' object is not callable #2

Closed
williamhoole opened this issue Jun 16, 2023 · 2 comments
Closed

TypeError: 'BertTokenizerFast' object is not callable #2

williamhoole opened this issue Jun 16, 2023 · 2 comments

Comments

@williamhoole
Copy link

Hi,
i get the following error when running flask_api.py: TypeError: 'BertTokenizerFast' object is not callable.
I'm not sure if this has to do with the version of transformers i am using.
What version did you use for this project ?

@Rishabbh-Sahu
Copy link
Owner

Rishabbh-Sahu commented Jun 17, 2023

Hello, Thanks for noticing this.
I'm not very sure but it looks like I used v4.5.1 version. There have been a lot of updates to this library lately, You can please check with this version, hope this will help.

@williamhoole
Copy link
Author

Hi, sorry for the late reply. This helped me solve the problem.

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

2 participants