1 write to NumAttentionHeads
Microsoft.ML.GenAI.Mistral (1)
MistralConfig.cs (1)
24
this.
NumAttentionHeads
= 32;
4 references to NumAttentionHeads
Microsoft.ML.GenAI.Mistral (4)
MistralConfig.cs (1)
34
this.HeadDim = this.HiddenSize / this.
NumAttentionHeads
;
MistralDecoderLayer.cs (3)
91
var headDim = config.HiddenSize / config.
NumAttentionHeads
;
95
numHeads: config.
NumAttentionHeads
,
98
numKeyValueGroups: config.
NumAttentionHeads
/ config.NumKeyValueHeads,