2 writes to MaxByteId
Microsoft.ML.Tokenizers (2)
Model\SentencePieceBpeModel.cs (1)
36
MaxByteId
= i;
Model\SentencePieceUnigramModel.cs (1)
58
MaxByteId
= i;
8 references to MaxByteId
Microsoft.ML.Tokenizers (8)
Model\SentencePieceBaseModel.cs (6)
168
if (current <=
MaxByteId
&& ByteFallback)
186
if (current <=
MaxByteId
&& ByteFallback)
218
if (current <=
MaxByteId
&& ByteFallback)
393
if (current <=
MaxByteId
&& ByteFallback)
415
if (current <=
MaxByteId
&& ByteFallback)
491
if (current <=
MaxByteId
&& ByteFallback)
Model\SentencePieceBpeModel.cs (1)
40
ByteCodeToIdOffset = _vocab.TryGetValue("<0x00>", out (int Id, float Score, byte Type) value) ? value.Id :
MaxByteId
;
Model\SentencePieceUnigramModel.cs (1)
67
ByteCodeToIdOffset = _vocab.TryGetValue("<0x00>", out int id) ? id :
MaxByteId
;