28
(Choose 1 answer)
A. B
B. A
C. D
D. C
a<0>
You have finished training a language model RNN and are using it to sample random sentences, as follows:
<1>
<2>
<3>
<Ty>
↑
a<1>
a<2>
a<3>
a<Ty>
x<1>
<1>
<2>
<Tx-1>
What are you doing at each time step tt?
a. (i) Use the probabilities output by the RNN to pick the highest probability word for that time-step as (ii) Then pass the ground-truth word from the training set to the next time-step.
b. (i) Use the probabilities output by the RNN to randomly sample a chosen word for that time-step as (ii) Then pass the ground-truth word from the training set to the next time-step.
c. (i) Use the step as probabilities output by the RNN to pick the highest probability word for that time-(ii) Then pass this selected word to the next time-step.
d. (i) Use the probabilities output by the RNN to randomly sample a chosen word for that time-