Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request yl4579#42 from yl4579/yl4579-patch-1
Browse files Browse the repository at this point in the history
Update train.ipynb
  • Loading branch information
yl4579 authored Jan 8, 2024
2 parents 592293a + 85bd638 commit 4198635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
" \n",
" bert = AlbertModel(albert_base_configuration)\n",
" bert = MultiTaskModel(bert, \n",
" num_vocab=max([m['token'] for m in token_maps.values()]), \n",
" num_vocab=1 + max([m['token'] for m in token_maps.values()]), \n",
" num_tokens=config['model_params']['vocab_size'],\n",
" hidden_size=config['model_params']['hidden_size'])\n",
" \n",
Expand Down

0 comments on commit 4198635

Please sign in to comment.