Skip to content

Instantly share code, notes, and snippets.

@aravindpai aravindpai/predictions.py
Last active Jun 11, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.