Question 9
Consider the following configuration for the Vannila transformer architecture with one encoder layer and one decoder layer.
- Source vocabulary size
- Target vocabulary size
- maximum sequence length
- length of context window for both encoder and decoder
- number of heads
Based on the above data, answer the given subquestions.
How many parameters are there in the multi-head attention layer of the encoder (exclude the parameters in the WO matrix used for linear transformation and FFN layer)?