1 write to embed_tokens
Microsoft.ML.GenAI.Phi (1)
Module\Phi2Model.cs (1)
41this.embed_tokens = nn.Embedding(config.VocabSize, config.HiddenSize, dtype: config.Dtype);
1 reference to embed_tokens
Microsoft.ML.GenAI.Phi (1)
Module\Phi2Model.cs (1)
68inputEmbeddings = this.embed_tokens.forward(inputIds);