October 2018
Intermediate to advanced
472 pages
10h 57m
English
Here, we will build our question-answering system. For the project, we need a dataset with question and answer pairs, as shown in the following screenshot. Both of the columns contain sequences of words, which is what we need to feed into our seq2seq model. Also, note that our sentences can be of dynamic length:

The dataset which we prepared with set of questions and answers
Let's load them and perform the same data processing using build_dataset(). In the end, we will have a dictionary with words as keys, where the associated values are the counts of the word in the respective corpus. Also, we have four extras values that ...
Read now
Unlock full access