Skip to content

Commit 52d089f

Browse files
authored
Update 15-transformer.ipynb (Atcold#525)
1 parent 72691ef commit 52d089f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

15-transformer.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@
486486
"outputs": [],
487487
"source": [
488488
"num_words = 50_000\n",
489-
"text.build_vocab(ds_train, max_size=num_words, specials=['<pad>','<unk>'])\n",
489+
"text.build_vocab(ds_train, max_size=num_words)\n",
490490
"label.build_vocab(ds_train)\n",
491491
"vocab = text.vocab"
492492
]

0 commit comments

Comments
 (0)