In the context of natural language processing, how are RNNs typically utilized for machine translation?
Answer options
A
As discriminators in GANs
B
Encoding the input sequence and decoding the output
C
sequence
D
For clustering text data
E
As a replacement for CNNs
F
For image classification
Correct answer: Encoding the input sequence and decoding the output, sequence
Explanation
RNNs are used in machine translation via an encoder-decoder (seq2seq) architecture: the encoder RNN processes the source sentence into a context vector, and the decoder RNN generates the translated output sequence. Options [1] and [2] together form the complete answer: 'Encoding the input sequence and decoding the output sequence.'