Skip to content

Instantly share code, notes, and snippets.

@aravindpai
Last active June 11, 2019 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aravindpai/8ce5a5638a543f581916d5cea942afbf to your computer and use it in GitHub Desktop.
Save aravindpai/8ce5a5638a543f581916d5cea942afbf to your computer and use it in GitHub Desktop.
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