Skip to content

Commit

Permalink
Remove reinstalling TF 2
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 303697751
  • Loading branch information
TensorFlow Hub Authors authored and akhorlin committed Mar 31, 2020
1 parent 46d62f9 commit fb8a2e5
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions examples/colab/tf2_text_classification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -115,21 +115,6 @@
"This notebook uses [tf.keras](https://www.tensorflow.org/guide/keras), a high-level API to build and train models in TensorFlow, and [TensorFlow Hub](https://www.tensorflow.org/hub), a library and platform for transfer learning. For a more advanced text classification tutorial using `tf.keras`, see the [MLCC Text Classification Guide](https://developers.google.com/machine-learning/guides/text-classification/)."
]
},
{
"cell_type": "code",
"execution_count": 0,
"metadata": {
"colab": {},
"colab_type": "code",
"id": "qqb0PzPs0Imt"
},
"outputs": [],
"source": [
"!pip uninstall -y tf-nightly tensorflow\n",
"!pip install tf-nightly-2.0-preview --quiet\n",
"!pip install \"tensorflow-hub\u003e=0.3\""
]
},
{
"cell_type": "code",
"execution_count": 0,
Expand Down Expand Up @@ -607,8 +592,7 @@
"name": "basic-text-classification.ipynb",
"private_outputs": true,
"provenance": [],
"toc_visible": true,
"version": "0.3.2"
"toc_visible": true
},
"kernelspec": {
"display_name": "Python 3",
Expand Down

0 comments on commit fb8a2e5

Please sign in to comment.