hardStudy question · answer published in Transformers interview questions, so no pointstransformersattention
Parameters in a multi-head attention block
A multi-head attention block has d_model = 512 and 8 heads, with Q, K, V and output projections and no biases. How many parameters does it have?
Discussion 0
Join free to post in the discussion.
Related questions
- The attention formulaMachine Learning Engineer
- Size of each attention headMachine Learning Engineer
- How BERT is pretrainedMachine Learning Engineer
- Patches in a Vision TransformerMachine Learning Engineer
- Model type for ticket classificationMachine Learning Engineer
- Scaling factor in attentionMachine Learning Engineer
- Activation in BERT and GPT feed-forwardsMachine Learning Engineer
- What LayerNorm normalises overMachine Learning Engineer