第11章注意機構とTransformer
11.5.4. Exercises11.5.4 練習問題
- Visualize attention weights of multiple heads in this experiment.
英語のヒント
この実験で、複数のヘッドの注意の重みを可視化せよ。 - Suppose that we have a trained model based on multi-head attention and we want to prune less important attention heads to increase the prediction speed. How can we design experiments to measure the importance of an attention head?
英語のヒント
マルチヘッド注意にもとづく訓練済みのモデルがあり、予測の速さを上げるために、重要度の低い注意ヘッドを刈り込みたいとする。注意ヘッドの重要度を測る実験をどう設計できるか。