The Startup
Published in

The Startup

How To Design Seq2Seq Chatbot Using Keras Framework

Seq2Seq chatbot connected to Telegram bot

Some theory

Well, let’s assume that we have a dialog corpus that could be divided into pairs of questions and answers. And we need some kind of neural network that will predict the next word based on the previous ones.

We also know that the input of neural network must be a matrix with values from -1 to 1 or 0 to 1. But our text consists of…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store