From the course: Deep Learning Foundations: Natural Language Processing with TensorFlow

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Introduction to text generation

Introduction to text generation - TensorFlow Tutorial

From the course: Deep Learning Foundations: Natural Language Processing with TensorFlow

Start my 1-month free trial

Introduction to text generation

- [Instructor] Do you know that we can get a body of text extract the full vocabulary from it and then create datasets from that. Where we make it phrase the training features which are called the X, and the next word in that phrase is called the Y, which is the label. Now up until now, we have learned about solving text classification problems with deep learning, but what about if you want to generate new text? Now this might sound like a complex and unknown directory but actually, we simply need to build on what we have learned so far. So in this chapter, we are going to focus on the text generation which is more of a prediction problem rather than a classification problem. So, how are we going to create the dataset, train the model, and how do we predict based on the C-Text that we provide and generate new texts? Let's look at the steps for that. So, here is a step-by-step guide to generate text. First of all, we create a…

Contents