1 write to _paddingIdx
Microsoft.ML.GenAI.Phi (1)
Module\Phi3Model.cs (1)
31
this.
_paddingIdx
= config.PadTokenId ?? 32000;
1 reference to _paddingIdx
Microsoft.ML.GenAI.Phi (1)
Module\Phi3Model.cs (1)
35
this.embed_tokens = nn.Embedding(config.VocabSize, config.HiddenSize, padding_idx: this.
_paddingIdx
, dtype: config.DType);