This is the source code of article how to create a chatbot in python . i.e A chatbot using the Reformer, also known as the efficient Transformer, to generate dialogues between two bots. You will feed conversations to our model and it will learn how to understand the context of each one. Not only will it learn how to answer questions but it will also know how to ask questions if it needs more info.
part one is available at https://medium.com/analytics-vidhya/how-to-create-a-chatbot-in-python-7ab924f10125
part two is available at https://medium.com/analytics-vidhya/how-to-create-a-chabot-in-python-5080f0d0029