1 write to EscapeWhiteSpaces
Microsoft.ML.Tokenizers (1)
Model\SentencePieceTokenizer.cs (1)
71
EscapeWhiteSpaces
= modelProto.NormalizerSpec.EscapeWhitespaces;
5 references to EscapeWhiteSpaces
Microsoft.ML.Tokenizers (4)
Model\SentencePieceTokenizer.cs (4)
76
_normalizer = new SentencePieceNormalizer(modelProto.NormalizerSpec.RemoveExtraWhitespaces, AddDummyPrefix,
EscapeWhiteSpaces
, modelProto.TrainerSpec.TreatWhitespaceAsSuffix, specialTokens);
1558
char prefixSuffixChar =
EscapeWhiteSpaces
? SentencePieceNormalizer.DummyPrefix : ' ';
1674
return
EscapeWhiteSpaces
? sb.ToString(SentencePieceNormalizer.DummyPrefix, ' ') : sb.ToString();
1807
char prefixSuffixChar =
EscapeWhiteSpaces
? SentencePieceNormalizer.DummyPrefix : ' ';
Microsoft.ML.Tokenizers.Tests (1)
LlamaTests.cs (1)
373
Assert.True(bpe.
EscapeWhiteSpaces
);