subpath / ChatBot

ChatBot with seq2seq Neural Network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChatBot

ChatBot with seq2seq Neural Network

Here you can find ChatBot made with seq2seq architecture and trained on Cornell Movie - Dialogs Corpus.

You can start using this chat bot by importing it from ChatBot.py file:

from Chatbot import ChatBot
bot = ChatBot()

method .reply takes string as an input and returns predicted string

bot.reply('Where are you from?')
>> "no , i really do n't know . i 'm sorry ...""

If you wanna retrain bot on a different data or with different parameters, then file ChatBot_trainig.py contains everything you need

Medium article: https://medium.com/cindicator/building-chatbot-weekend-of-a-data-scientist-8388d99db093

About

ChatBot with seq2seq Neural Network

License:MIT License


Languages

Language:Python 100.0%