Even if the tensorflow is installed, this error is persistent while running following codes
bert = TFAutoModel.from_pretrained(‘bert-base-cased’)
tfbert_model = TFBertModel.from_pretrained(“bert-base-uncased”)
What I have done so far…
-
Re-installed Anaconda
-
Updated the pip version
-
checked upgraded tensroflow version