1 write to MaxPositionEmbeddings
Microsoft.ML.GenAI.Phi (1)
Phi3\Config.cs (1)
29
this.
MaxPositionEmbeddings
= 4096;
4 references to MaxPositionEmbeddings
Microsoft.ML.GenAI.Phi (4)
Module\Phi3DecoderLayer.cs (1)
151
maxPositionEmbeddings: config.
MaxPositionEmbeddings
,
Module\Phi3Model.cs (1)
49
null => new RotaryEmbedding(config.RopeTheta, config.
MaxPositionEmbeddings
, headDim),
Module\Phi3SuScaledRotaryEmbedding.cs (2)
26
: base(config.RopeTheta, config.
MaxPositionEmbeddings
, dim)
34
this._maxPositionEmbeddings = config.
MaxPositionEmbeddings
;