Last active
June 11, 2019 14:51
-
-
Save aravindpai/8ce5a5638a543f581916d5cea942afbf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in range(len(x_val)): | |
print("Review:",seq2text(x_val[i])) | |
print("Original summary:",seq2summary(y_val[i])) | |
print("Predicted summary:",decode_sequence(x_val[i].reshape(1,max_len_text))) | |
print("\n") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment