Skip to content

Conversation

@SuryanarayanaY
Copy link
Contributor

@SuryanarayanaY SuryanarayanaY commented Sep 5, 2023

At Line No.157 in neural_machine_translation_with_transformer.py, it was mentioned:

encoder_inputs is the vectorized source sentence and encoder_inputs is the target sentence "so far",

Actually the target sentence "so far" , should be decoder_inputs instead of encoder_inputs

Corrected the same.

Shall fix #1002

at Line No.157 it mentioned: 
`encoder_inputs` is the vectorized source sentence and `encoder_inputs` is the target sentence "so far",

Actually the target sentence "so far" , should be `decoder_inputs`  instead of `encoder_inputs`

Corrected the same.
At this Line No.157 in neural_machine_translation_with_transformer.py, it was mentioned:

encoder_inputs is the vectorized source sentence and encoder_inputs is the target sentence "so far",

Actually the target sentence "so far" , should be decoder_inputs instead of encoder_inputs

Corrected the same in .md file also.
At Line No.157 in neural_machine_translation_with_transformer.py, it was mentioned:

encoder_inputs is the vectorized source sentence and encoder_inputs is the target sentence "so far",

Actually the target sentence "so far" , should be decoder_inputs instead of encoder_inputs

Corrected the same in .ipynb file also.
@pcoet pcoet merged commit 8d636dd into keras-team:master Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typing Mistake in Documentation of English-to-Spanish translation with a sequence-to-sequence Transformer

3 participants