Attention Model (Part-1)

 

Encoder Decoder Model


Seq2Seq Model


Seq2Seq Embedding

Seq2Seq Teacher Forcing

We can either give the output of previous step or the actual value as input to next step.

Teacher Forcing uses ground truth  (actual value) of previous step as input of current step. Used in training step. 

In teting phase output of previous step is used as input to current step.

Limitation Of Seq2Seq Modeling

As we are using the final encoder state only for every decoder prediction we are not using the alignment of individual elements of input sequence to each element of output sequence.

Comments

Popular posts from this blog

Supervised Learning(Part-5)

Supervised Learning(Part-2)

Convolutional Neural Networks(Part-2)