April 2018
Beginner to intermediate
566 pages
12h 17m
English
We have covered the entire concept that can help us implement the DMN-based chatbot. In order to implement this approach, we will be using Keras with the TensorFlow backend. Without wasting any time, we will jump to the implementation section. You can refer to the code for this approach using this GitHub link: https://github.com/jalajthanaki/Chatbot_based_on_bAbI_dataset_using_Keras.
Here, we will train our model on the given bAbI task 1 dataset. First of all, we need to parse the stories and build the vocabulary. You can refer to the code in the following figure:

Figure 8.34: Code snippet for parsing ...
Read now
Unlock full access