プリンキピア

第11章注意機構とTransformer

11.8.7. Exercises11.8.7 練習問題

  1. How does the value of img_size affect training time?
    英語のヒント
    img_sizeの値は訓練時間にどう影響するか。
  2. Instead of projecting the “<cls>” token representation to the output, how would you project the averaged patch representations? Implement this change and see how it affects the accuracy.
    英語のヒント
    「<cls>」トークンの表現を出力に射影する代わりに、平均したパッチの表現をどう射影するか。この変更を実装し、正解率にどう影響するか見よ。
  3. Can you modify hyperparameters to improve the accuracy of the vision Transformer?
    英語のヒント
    ハイパーパラメータを変えて、視覚のTransformerの正解率を改善できるか。