You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
Hi,
I have one issue related to the next word prediction, because by given word and previous hidden states we could try to predict the next most probable word according to softmax probability distribution. The same problem was discussed here #96.
When I did it with the trained model (default settings, wiki-2 dataset) the result was not so good:
original: an English film , television and theatre actor . He had a guest @-@ starring role on the television series The Bill in 2000 . This was followed by a starring role in the play Herons written by Simon Stephens , which was performed in 2001 at the Royal Court Theatre . He had a guest role in the television predicted: @-@ , and , . , also a appearance seller in the series , and the , was the by a in in the film , . by . who was released by the . the Academy of in was previously appearance in the film series
When I used another frameworks for language modelling (e.g. TensorFlow, Keras) and the same function to predict the next words, it gives me more meaningful results.
Maybe I should modify your code in some way for this task?
Thanks.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I have one issue related to the next word prediction, because by given word and previous hidden states we could try to predict the next most probable word according to softmax probability distribution. The same problem was discussed here #96.
When I did it with the trained model (default settings, wiki-2 dataset) the result was not so good:
When I used another frameworks for language modelling (e.g. TensorFlow, Keras) and the same function to predict the next words, it gives me more meaningful results.
Maybe I should modify your code in some way for this task?
Thanks.
The text was updated successfully, but these errors were encountered: