For this next task, we'll leverage a couple libraries discussed in Chapter 8, Classifying Images with Convolutional Neural Networks, TensorFlow and Keras. Both can be pip installed if you haven't done that already.
We're also going to use the type of advanced modeling discussed earlier in the chapter; it's a type of deep learning called sequence-to-sequence modeling. This is frequently used in machine translation and question-answering applications, as it allows us to map an input sequence of any length to an output sequence of any length:
Source: https://blog.keras.io/a-ten-minute-introduction-to-sequence-to-sequence-learning-in-keras.html
Francois Chollet has an excellent introduction to this type of model on the blog for Keras: https://blog.keras.io/a-ten-minute-introduction-to-sequence-to-sequence-learning-in...