2 references to EncodeToIdsFromEndInternal
Microsoft.ML.Tokenizers (2)
Model\EnglishRobertaTokenizer.cs (2)
572
tokenCount +=
EncodeToIdsFromEndInternal
(textSpanToEncode.Slice(split.Offset, split.Length), null, out int textIndex, maxTokenCount - tokenCount);
581
tokenCount =
EncodeToIdsFromEndInternal
(textSpanToEncode, null, out int charsConsumed, maxTokenCount);