July 2024
Intermediate to advanced
526 pages
14h 15m
English
In the previous chapter, we focused on RNNs and used them to deal with sequence learning tasks. However, RNNs may easily suffer from the vanishing gradient problem. In this chapter, we will explore the Transformer neural network architecture, which is designed for sequence-to-sequence tasks and is particularly well suited for Natural Language Processing (NLP). The key innovation is the self-attention mechanism, allowing the model to weigh different parts of the input sequence differently, and enabling it to capture long-range dependencies more effectively than RNNs.
We will learn two cutting-edge models utilizing the Transformer architecture and delve into their practical ...
Read now
Unlock full access