5 references to R50kBase
Microsoft.ML.Tokenizers.Tests (5)
TiktokenTests.cs (5)
103yield return new object[] { R50kBase, @"https://openaipublic.blob.core.windows.net/encodings/r50k_base.tiktoken" }; 379IReadOnlyList<int> encoded = R50kBase.EncodeToIds(text); 380int idsCount = R50kBase.CountTokens(text); 390Assert.Equal(text, R50kBase.Decode(encoded)); 391TestDecodingWithSpan((R50kBase as TiktokenTokenizer)!, encoded.ToArray(), text);