1 write to embed_tokens
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);
1 reference to embed_tokens
Microsoft.ML.GenAI.Phi (1)
Module\Phi3Model.cs (1)
79
inputsEmbeds = this.
embed_tokens
.forward(inputIds);