Skip to content

Commit 58b17ef

Browse files
committed
Loading text tutorial: removed +1 from VOCAB_SIZE+1
1 parent e4ab8e0 commit 58b17ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/en/tutorials/load_data/text.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,7 @@
16531653
},
16541654
"outputs": [],
16551655
"source": [
1656-
"model = create_model(vocab_size=VOCAB_SIZE + 1, num_labels=1)\n",
1656+
"model = create_model(vocab_size=VOCAB_SIZE, num_labels=1)\n",
16571657
"model.summary()"
16581658
]
16591659
},

0 commit comments

Comments
 (0)