google-research / bert

TensorFlow code and pre-trained models for BERT
https://arxiv.org/abs/1810.04805
Apache License 2.0
38.23k stars 9.62k forks source link

prime->[update] `tf.gfile` to `tf.io.gfile` #1412

Closed ghost closed 4 months ago

ghost commented 4 months ago

The tokenization.py file should be updated to tf.io.gfile on line 125 to avoid the error message:

AttributeError: module 'tensorflow' has no attribute 'gfile'.

-Michael