How to fix the following error when trying to load a model "KeyError: 'CaseFoldUTF8' while loading the model"

Viewed 2130

Observing KeyError:'CaseFoldUTF8' while loading the model when loading the model that I had fine-tuned using pre trained BERT from tf-hub

1 Answers

I got the same error. Adding import tensorflow_text at the top worked for me.

Related