8
Transformers and Their Applications
In this chapter, we will learn about transformers and how to apply them to perform various NLP tasks. Typical tasks in the NLP domain involve loading and processing data so that it can be used downstream seamlessly. Once the data is read, another task is that of transforming the data into a form that the various models can use. Once the data is transformed into the requisite format, we use it to perform the actual tasks, such as classification, text generation, and language translation.
Here is a list of the recipes in this chapter:
- Loading a dataset
- Tokenizing the text in your dataset
- Using the tokenized text to perform classification with Transformer models
- Using different Transformer models based on ...
Get Python Natural Language Processing Cookbook - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.