bert icon indicating copy to clipboard operation
bert copied to clipboard

Colab notebook is out of sync with the latest update

Open kramea opened this issue 8 years ago • 3 comments

Hi, I am trying to run the Colab notebook: https://colab.research.google.com/github/tensorflow/tpu/blob/master/tools/colab/bert_finetuning_with_cloud_tpus.ipynb

I was able to run it yesterday before the last git update. There were substantial changes to run_classifier.py code (eg. convert_examples_to_features function now requires "output_file" argument which is not there in the colab notebook, input_fn_builder function does not recognize 'features' argument anymore, but requires 'input_file' and so on).

Will the colab notebook be updated soon to reflect these changes? Thanks.

kramea avatar Nov 05 '18 17:11 kramea

I just un-did the latest change so that now the Colab (and people's code who depended on it) should work again. The new versions are called filed_based_convert_examples_to_features and file_based_input_fn_builder and the old versions of convert_examples_to_features and input_fn_builder are still in run_classifier.py.

jacobdevlin-google avatar Nov 05 '18 17:11 jacobdevlin-google

Please let me know if it's working for you again (without any changes to the Colab)!

jacobdevlin-google avatar Nov 05 '18 17:11 jacobdevlin-google

Thank you! It works now.

kramea avatar Nov 05 '18 18:11 kramea