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