プリンキピア

第11章注意機構とTransformer

11.7.8. Exercises11.7.8 練習問題

  1. Train a deeper Transformer in the experiments. How does it affect the training speed and the translation performance?
    英語のヒント
    実験で、もっと深いTransformerを訓練せよ。それは訓練の速さと翻訳の性能にどう影響するか。
  2. Is it a good idea to replace scaled dot product attention with additive attention in the Transformer? Why?
    英語のヒント
    Transformerで、スケール化内積注意を加法注意に置き換えるのはよい考えか。それはなぜか。
  3. For language modeling, should we use the Transformer encoder, decoder, or both? How would you design this method?
    英語のヒント
    言語のモデリングには、Transformerのエンコーダ、デコーダ、あるいは両方のどれを使うべきか。この方法をどう設計するか。
  4. What challenges can Transformers face if input sequences are very long? Why?
    英語のヒント
    入力系列がとても長いと、Transformerはどんな難題に直面しうるか。それはなぜか。
  5. How would you improve the computational and memory efficiency of Transformers? Hint: you may refer to the survey paper by Tay et al. (2020).
    英語のヒント
    Transformerの計算とメモリの効率をどう改善するか。ヒント:Tay et al. (2020)のサーベイ論文を参照するとよい。