Replace tfhub.dev/google/tf2-preview/nnlm-en-dim50/1 with tfhub.dev/google/nnlm-en-dim50/2

main
Aurélien Geron 2021-09-19 17:07:47 +12:00
parent 7616237b11
commit 5976ed3d1e
1 changed files with 1 additions and 1 deletions

View File

@ -1855,7 +1855,7 @@
"source": [ "source": [
"import tensorflow_hub as hub\n", "import tensorflow_hub as hub\n",
"\n", "\n",
"hub_layer = hub.KerasLayer(\"https://tfhub.dev/google/tf2-preview/nnlm-en-dim50/1\",\n", "hub_layer = hub.KerasLayer(\"https://tfhub.dev/google/nnlm-en-dim50/2\",\n",
" output_shape=[50], input_shape=[], dtype=tf.string)\n", " output_shape=[50], input_shape=[], dtype=tf.string)\n",
"\n", "\n",
"model = keras.Sequential()\n", "model = keras.Sequential()\n",