google-research / bert

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

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

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

google-cla[bot] commented 4 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.