Unable to run "bert-base-multilingual-cased-pos-english" model

#6
by csesaswati - opened

I am using Google Colab to run the model "bert-base-multilingual-cased-pos-english". Before running the model I installed "torch" and "transformer" by using the pip command. When I tried to run the code that was described with this model I received errors

ImportError: tokenizers>=0.11.1,!=0.11.3,<0.14 is required for a normal functioning of this module, but found tokenizers==0.15.0.
Try: pip install transformers -U or pip install -e '.[dev]' if you're working with git main

Then I installed tokenizers using the command "pip install tokenizers==0.11.3".
Then I received the error

error: subprocess-exited-with-error

Γ— Building wheel for tokenizers (pyproject.toml) did not run successfully.
β”‚ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for tokenizers (pyproject.toml) ... error
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

What other libraries do I need to install to overcome this problem?

Thank you.

Sign up or log in to comment