In a sequence-to-sequence (seq2seq) model for translation, the encoder:
A
Checks the grammar of the translated output sentence
B
Compresses the input sentence into a context representation
Correct answer
C
Counts word frequencies in the source sentence
D
Generates the translated sentence one word at a time
Correct answer
B. Compresses the input sentence into a context representation
15 views
⚔️
Challenge a friend on Recurrent Neural Networks (RNNs)
Same MCQs, timed, live leaderboard. Send the link on WhatsApp – no sign-up needed.
Create challenge
Explanation
The encoder reads the source sequence into hidden states, and the decoder generates the target sequence from them. Attention later let the decoder look back at all encoder states.
Reference
Asked in: Data Science Interviews, GATE DA
Doubts & discussionNot sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ
‹ Previous MCQ Which RNN variant solves vanishing gradient? Next MCQ › What allows an RNN to process sequences of any length with a fixed number of parameters?