1 write to VocabSize
Microsoft.ML.GenAI.Phi (1)
Phi2\Config.cs (1)
20
this.
VocabSize
= 51200;
2 references to VocabSize
Microsoft.ML.GenAI.Phi (2)
Module\Phi2Model.cs (1)
41
this.embed_tokens = nn.Embedding(config.
VocabSize
, config.HiddenSize, dtype: config.Dtype);
Phi2\Phi2ForCasualLM.cs (1)
28
this.lm_head = new GenAILinear(config.HiddenSize, config.
VocabSize
, dtype: config.Dtype);