Skip to content

Commit

Permalink
Update Tutorial.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanRaiman committed Jan 19, 2016
1 parent 68d8403 commit cde036d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tutorial.ipynb
Expand Up @@ -806,7 +806,8 @@
"source": [
"# train:\n",
"for i in range(10000):\n",
" error = model.update_fun(numerical_lines, numerical_lengths) if i % 100 == 0:\n",
" error = model.update_fun(numerical_lines, numerical_lengths)\n",
" if i % 100 == 0:\n",
" print(\"epoch %(epoch)d, error=%(error).2f\" % ({\"epoch\": i, \"error\": error}))\n",
" if i % 500 == 0:\n",
" print(vocab(model.greedy_fun(vocab.word2index[\"the\"])))"
Expand Down

0 comments on commit cde036d

Please sign in to comment.