After going through the theoretical part of this chapter, we are ready to dive into coding. I hope you grasp the fundamental behind the GRU model and will feel comfortable seeing the notations in the TensorFlow program. It consists of five parts, most of which may be familiar to you from Chapter 2, Building Your First RNN with TensorFlow:
- Obtaining the book text: this one is really straightforward. Your task is to assure a lot of plain text is ready for training.
- Encoding the text: this one can be challenging, since we need to accommodate the encoding with the proper dimensions. Sometimes, this operation can take more time than expected but it is a requirement for compiling the program flawlessly. There are different types of encoding algorithms and we will choose a fairly simple one so you fully understand its true essence.
- Building the TensorFlow...