5 references to GetEncoder
Microsoft.ML.Tokenizers.Tests (5)
TiktokenTests.cs (5)
119IReadOnlyDictionary<ReadOnlyMemory<byte>, int> encoder = GetEncoder(tiktoken)!; 120IReadOnlyDictionary<ReadOnlyMemory<byte>, int> externalEncoder = GetEncoder(externalTokenizer)!; 479Assert.Equal(GetEncoder(tiktoken1), GetEncoder(tiktoken)); 516int entriesCount = GetEncoder((tokenizer as TiktokenTokenizer)!)!.Count;