Building Transformers Models with ATTENTION - Stefania Cristina - Mehreen Saeed

Introduction
- It is discovered that attention without recurrent neural network is not only possible, but also better in many situations.
- Recurrent Neural Network (RNN) : researchers noticed that when using a RNN for translation from one language to another, the neural network reads one word at a time but never sees the entire sentence. Therefore, the traditional way of using an RNN means it will lose the context.
- You will learn how to transform a word in a language to an embedding vector, how to implement the attention mechanism, to how a transformer is constructed, and eventually, use it to perform a language translation task.
I- Foundations of Attention
1- What is Attention
- Interestingly, research has also observed that different subjects tend to be attracted to the same salient visual cues.
- Research has also discovered several forms of interaction between memory and attention.
- If we are processing an input sequence of words, then this will first be fed into an encoder, which will output a vector for every element in the sequence.
- This type of artificial attention is thus a form of iterative re-weighting.
Aucun commentaire:
Enregistrer un commentaire