Skip to content

Commit

Permalink
Merge pull request #2256 from vaharoni:vaharoni/text-classification-fix
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 578942418
  • Loading branch information
copybara-github committed Nov 2, 2023
2 parents eb0f9bf + a0901ae commit 60abeb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/en/tutorials/keras/text_classification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@
"outputs": [],
"source": [
"model = tf.keras.Sequential([\n",
" layers.Embedding(max_features + 1, embedding_dim),\n",
" layers.Embedding(max_features, embedding_dim),\n",
" layers.Dropout(0.2),\n",
" layers.GlobalAveragePooling1D(),\n",
" layers.Dropout(0.2),\n",
Expand Down

0 comments on commit 60abeb0

Please sign in to comment.