2 references to EncodeToIdsFromEndWithCache
Microsoft.ML.Tokenizers (2)
Model\BPETokenizer.cs (2)
568tokenCount += EncodeToIdsFromEndWithCache(textSpanToEncode.Slice(split.Offset, split.Length), null, maxTokenCount - tokenCount, out int textIndex, ref priorityQueue); 577tokenCount = EncodeToIdsFromEndWithCache(textSpanToEncode, null, maxTokenCount, out int charsConsumed, ref priorityQueue);