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

Supervised Learning(Part-5)

Supervised Learning(Part-2)

Text Analysis (Part - 4)