kpe / bert-for-tf2

A Keras TensorFlow 2.0 implementation of BERT, ALBERT and adapter-BERT.
https://github.com/kpe/bert-for-tf2
MIT License
802 stars 193 forks source link

Fix for #91 for newer versions of tensorflow #94

Open bcazur opened 2 years ago

bcazur commented 2 years ago

Replaced "from tensorflow.python import keras" with "from tensorflow import keras".