プリンキピア

第10章現代のリカレントニューラルネットワーク

10.7.10. Exercises10.7.10 練習問題

  1. Can you adjust the hyperparameters to improve the translation results?
    英語のヒント
    ハイパーパラメータを調整して、翻訳の結果を改善できるか。
  2. Rerun the experiment without using masks in the loss calculation. What results do you observe? Why?
    英語のヒント
    損失の計算でマスクを使わずに実験をやり直せ。どんな結果が観察されるか。それはなぜか。
  3. If the encoder and the decoder differ in the number of layers or the number of hidden units, how can we initialize the hidden state of the decoder?
    英語のヒント
    エンコーダとデコーダで層の数や隠れユニットの数が違う場合、デコーダの隠れ状態はどう初期化できるか。
  4. In training, replace teacher forcing with feeding the prediction at the previous time step into the decoder. How does this influence the performance?
    英語のヒント
    訓練で、教師強制を、前の時間ステップの予測をデコーダに入れるやり方に置き換えよ。これは性能にどう影響するか。
  5. Rerun the experiment by replacing GRU with LSTM.
    英語のヒント
    GRUをLSTMに置き換えて実験をやり直せ。
  6. Are there any other ways to design the output layer of the decoder?
    英語のヒント
    デコーダの出力層を設計するほかの方法はあるか。