Gustavo2531 / ChatBotWithCornell

A Chatbot using a Seq2Seq and Recurrent Neural Network, the chatbot learns from the script of the Cornell Movie Dialogs Corpus https://www.cs.cornell.edu/~cristian/Cornell_Movie-Dialogs_Corpus.html . It is inspired by the udemy course Deep Learning and NLP A-Z™: How to create a ChatBot of Hadelin de Ponteves, Kirill Eremenko and SuperDataScience Team
6 stars 5 forks source link

tensorflow seq2seq model have no attribute prepare_attention() #1

Open puneet-10 opened 6 years ago

joelvarma commented 6 years ago

Install the tensorflow 1.0.0, prepare_attention() is not available for other tensorflow updates. Hope you have solved it by now 👍

siddharth1109 commented 5 years ago

Please give the files for trained weights too

AsinaMilic commented 5 years ago

any link with how i can replace that code with newer versions of tensorflow? O.o not just downgrading it

mightycandle commented 4 years ago

@smorbrt here you go: import tensorflow.compat.v1 as tfv1 and use tfv1 in place of tf everywhere. It functions as tensorflow 1.0.0