|
`encoder_inputs` is the vectorized source sentence and `encoder_inputs` is the target sentence "so far", |
Inputs For Transformers
1. Encoder Inputs - The encoder of Transformer takes in vectorized source sentences the way they are.
2. Decoder Inputs - The decoder of Transformer takes in the vectorized target sentence, till the previous time step.
Error

Here, encoder_inputs is the target sentence "so far" is wrong. It should be-
decoder_inputs is the target_sentence "so far".