1. Home
  2. Data Science
  3. Recurrent Neural Networks (RNNs)
  4. In a sequence-to-sequence (seq2seq) model for translation…

Added 2 Nov 2026

In a sequence-to-sequence (seq2seq) model for translation, the encoder:

  1. Checks the grammar of the translated output sentence
  2. Compresses the input sentence into a context representation Correct answer
  3. Counts word frequencies in the source sentence
  4. Generates the translated sentence one word at a time

Correct answer

B. Compresses the input sentence into a context representation

15 views

MCQSEXAM

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

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Recurrent Neural Networks (RNNs) MCQs

Practise all Recurrent Neural Networks (RNNs) MCQs

Similar MCQs