1 write to NumAttentionHeads
Microsoft.ML.GenAI.LLaMA (1)
LlamaConfig.cs (1)
29this.NumAttentionHeads = 32;
4 references to NumAttentionHeads
Microsoft.ML.GenAI.LLaMA (4)
Module\LlamaDecoderLayer.cs (3)
97var headDim = config.HiddenSize / config.NumAttentionHeads; 101numHeads: config.NumAttentionHeads, 104numKeyValueGroups: config.NumAttentionHeads / config.NumKeyValueHeads,
Module\LlamaModel.cs (1)
32var headDim = config.HiddenSize / config.NumAttentionHeads;