1 write to Vocabulary
Microsoft.ML.Tokenizers (1)
Model\BpeOptions.cs (1)
25Vocabulary = vocabulary;
3 references to Vocabulary
Microsoft.ML.Tokenizers (3)
Model\BPETokenizer.cs (3)
142if (options.Vocabulary is null) 144throw new ArgumentNullException(nameof(options.Vocabulary), "The vocabulary cannot be null."); 149foreach ((string token, int id) in options.Vocabulary)