O'Reilly logo

Hands-On Natural Language Processing with Python by Rajalingappaa Shanmugamani, Rajesh Arumugam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

TensorBoard visualization

We will now briefly look at the graph and loss of the network during training in TensorBoard:

Graph and loss of network during training

We can see that the encoding and decoding layer is fed with the corresponding word embeddings of the source and target text. The attention mechanism couples the encoder output and the decoder through the memory layer weights. You can click on the respective components in TensorBoard to understand the details of the connections and tensor dimensions. We will now take a look at the plot of the cost function during training:

Cost functioning plot

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required