We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It contains the following code:
assert np.mean(train_history[:10]) > np.mean(train_history[-10:]), "The model didn't converge."
This is incorrect because train_history is a list of pairs (i, loss). A correct way is:
train_history
(i, loss)
assert np.mean(train_history[:10], axis=0)[1] > np.mean(train_history[-10:], axis=0)[1], "The model didn't converge."
Also, a couple of lines further it refers to rnn_lm instead of window_lm.
rnn_lm
window_lm
The text was updated successfully, but these errors were encountered:
Thank you, wise scholar of the ways of spaghetti. We fixed it.
Sorry, something went wrong.
No branches or pull requests
It contains the following code:
This is incorrect because
train_history
is a list of pairs(i, loss)
. A correct way is:Also, a couple of lines further it refers to
rnn_lm
instead ofwindow_lm
.The text was updated successfully, but these errors were encountered: