1 write to Vocabulary
Microsoft.ML.Tokenizers.Tests (1)
UnigramTests.cs (1)
68options.Vocabulary = GetVocabulary(root);
5 references to Vocabulary
Microsoft.ML.Tokenizers (5)
Model\SentencePieceBaseModel.cs (2)
69if (options.Vocabulary is null) 71throw new ArgumentNullException(nameof(options.Vocabulary));
Model\SentencePieceBpeModel.cs (2)
51Debug.Assert(options.Vocabulary is not null); 54foreach (var item in options.Vocabulary!)
Model\SentencePieceUnigramModel.cs (1)
100foreach ((string Token, float Score) item in options.Vocabulary!)