O'Reilly logo

Deep Reinforcement Learning Hands-On by Maxim Lapan

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

Chapter 12. Chatbots Training with RL

In this chapter, we'll take a look at another practical application of Deep Reinforcement Learning (Deep RL), which has become popular over the Past two years: the training of natural language models with RL methods. It started with a paper called Recurrent Models of Visual Attention, published in 2014, and has been successfully applied to a wide variety of problems from the Natural Language Processing (NLP) domain.

To understand the method, we will begin with a brief introduction to the NLP basics, including Recurrent Neural Networks (RNNs), word embeddings, and the seq2seq model. Then we'll discuss similarities between the NLP and RL problems and take a look at original ideas on how to improve NLP seq2seq ...

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