A simple open domain generative based chatbot based on Recurrent Neural Networks
- python 3.5.4
- tensorflow 1.0.0
IMPORTING THE DATASET
Please refer to the link below to download the open source dataset. https://www.cs.cornell.edu/~cristian/Cornell_Movie-Dialogs_Corpus.html
The dataset will contain many files out of which two files are to be used by us.
Copy both of these files into the github repository containing main.py file. These files are imported on the line 17 “#Importing the dataset”. Please let me know if you have any questions. And do give a star to my GitHub repo if it is of help to you.
USING PRETRAINED WEIGHTS
THE PREDEFINED WEIGHTS HAVE BEEN UPLOADED at https://gofile.io/?c=mV7ySi
For a better understanding please refer to my article https://medium.com/@harshpanwar9524/understanding-rnns-lstm-and-seq2seq-model-using-a-practical-implementation-of-chatbot-in-2b9ab76d1eda