2 references to Vocabulary
Microsoft.ML.Tokenizers.Tests (2)
EnglishRobertaTests.cs (2)
287
var reverseVocab = robertaModel.
Vocabulary
.ToDictionary(kvp => kvp.Value, kvp => kvp.Key);
303
Assert.Equal(encodingIds[i], robertaModel.
Vocabulary
[tokens[i]]);