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

NMT for French to English using attention

In this section, we will use the same dataset as the one we used in SMT. We will build the network based on the attention mechanism. You will also find that the network resembles the same architecture as described in the chapter on text summarization. The complete Python notebook for this example is found under Chapter10/02_example.ipynb in this book's code repository.

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