1 write to MaxInputCharsPerWord
Microsoft.ML.Tokenizers (1)
Model\WordPieceTokenizer.cs (1)
70MaxInputCharsPerWord = options.MaxInputCharsPerWord;
5 references to MaxInputCharsPerWord
Microsoft.ML.Tokenizers (4)
Model\WordPieceTokenizer.cs (4)
317if (text.Length > MaxInputCharsPerWord) 323int maxLength = MaxInputCharsPerWord + ContinuingSubwordPrefix.Length; 456if (text.Length > MaxInputCharsPerWord) 463int maxLength = MaxInputCharsPerWord + ContinuingSubwordPrefix.Length;
Microsoft.ML.Tokenizers.Tests (1)
WordPieceTests.cs (1)
41Assert.Equal(100, tokenizer.MaxInputCharsPerWord);