I am attempting to use a BERT model to help predict whether an update is urgent or not. I am able to tokenize the updates, with this output:
However, when I go to define the model, I keep getting CASEFOLDUTF8 errors. All packages are updated, I've attempted in Docker and google colab, optimally running an applemacbook m2 chip.
RuntimeError: Op type not registered 'CaseFoldUTF8' in binary running on MacBook-Pro-21.local. Make sure the Op and Kernel are registered in the binary running in this process. Note that if you are loading a saved graph which used ops from tf.contrib (e.g.
tf.contrib.resampler), accessing should be done before importing the graph, as contrib ops are lazily registered when the module is first accessed.
Updated tensorflow with same result. Restarted kernal, same result. Attempted in google colab, same result.
I encountered a similar problem in Google Colab. This is a pip dependency error problem. Steps I followed to resolve:
Hope this helps! Thanks, Jordan