Chatbot based Seq2Seq model with bidirectional rnn and attention mechanism with tensorflow, trained on Cornell Movie-Dialogs Corpus and deployed on a Flask Server
This Chatbot is a TensorFlow implementation of Seq2Seq Mode. It make use of a seq2seq model RNN for sentence predictions. The chatbot is trained on Cornell Movie Dialogs Corpus on Conversation of lenghth between 5 to 2 words
To run this chabtot you will need:
Chat_UI_Web
and runpip install -r requirment.txt
python run.py
pip install -r requirment.txt
python chat.py
To Train Model from Python Console:
config.py
file for desired training hyperparameterspython train.py
datasets
folderModel was able to train to Accuracy of 62%
and Loss of 19%
and after that it was overfitting
Human: who are you
Bot: girlfriend
Human: who am i
Bot: doctor livingston
Human: where are you from
Bot: southern california
Human: how old are you
Bot: nineteen or
Human: are you a boy
Bot: i am trying
Human: are you a girl
Bot: something like that
Human: do you drink
Bot: no thanks
Some Funny Result