プリンキピア

第15章自然言語処理:事前学習

15.8.8. Exercises15.8.8 練習問題

  1. All other things being equal, will a masked language model require more or fewer pretraining steps to converge than a left-to-right language model? Why?
    英語のヒント
    ほかの条件がすべて同じなら、マスク言語モデルは、左から右への言語モデルよりも、収束するのに多くの事前学習ステップを必要とするか、それとも少なくてすむか。それはなぜか。
  2. In the original implementation of BERT, the positionwise feed-forward network in BERTEncoder (via d2l.TransformerEncoderBlock) and the fully connected layer in MaskLM both use the Gaussian error linear unit (GELU) (Hendrycks and Gimpel, 2016) as the activation function. Research into the difference between GELU and ReLU.
    英語のヒント
    BERTの元の実装では、(d2l.TransformerEncoderBlockを通じた)BERTEncoderの位置ごとのフィードフォワードネットワークと、MaskLMの全結合層は、どちらも活性化関数としてガウス誤差線形ユニット(GELU)(Hendrycks and Gimpel, 2016)を使う。GELUとReLUの違いを調べよ。