Attention Model(Part-2)

 Decoder for all the time steps:



For one particular time step in decoder:


Steps of Attention Model:

Step 1: Compute a score for each Encoder State.

Step 2: Compute the attention weights.

Step 3: Compute the Context Vector.

Step 4: Concatenate Context vector with output of previous time step.


Attention Model Decoder:

Comments

Popular posts from this blog

Model Evaluation and Selection

Convolutional Neural Networks(Part-4)

Introduction to Machine Learning(Part-4)