petery233
Results
3
comments of
petery233
@Mega4alik You can change `next_word_probs = model.forward_propagation(new_sentence)` to `next_word_probs, _ = model.forward_propagation(new_sentence)` or `next_word_probs = model.forward_propagation(new_sentence)[0]`, in my test it can run again.
Is the code you pasted here a complete copy? You may have to read the original data to get `index_to_word`, just `load_model_parameters` is not enough (since you have to map...
Hhh Interesting Question