How to fix the following error when trying to load a model "KeyError: 'CaseFoldUTF8' while loading the model"
How to fix the following error when trying to load a model "KeyError: 'CaseFoldUTF8' while loading the model"
在加载我使用来自 tf-hub
的预训练 BERT 微调的模型时观察 KeyError:'CaseFoldUTF8' while loading the model
我遇到了同样的错误。在顶部添加 import tensorflow_text
对我有用。
在加载我使用来自 tf-hub
的预训练 BERT 微调的模型时观察KeyError:'CaseFoldUTF8' while loading the model
我遇到了同样的错误。在顶部添加 import tensorflow_text
对我有用。