Replace tfhub.dev/google/tf2-preview/nnlm-en-dim50/1 with tfhub.dev/google/nnlm-en-dim50/2
parent
108fe1fa53
commit
e054967e8f
|
@ -1855,7 +1855,7 @@
|
|||
"source": [
|
||||
"import tensorflow_hub as hub\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",
|
||||
"\n",
|
||||
"model = keras.Sequential()\n",
|
||||
|
|
Loading…
Reference in New Issue