1 write to UnknownToken
Microsoft.ML.Tokenizers (1)
Model\WordPieceTokenizer.cs (1)
72UnknownToken = unknownToken;
5 references to UnknownToken
Microsoft.ML.Tokenizers (2)
Model\WordPieceTokenizer.cs (2)
374tokens.Add(new EncodedToken(UnknownTokenId, UnknownToken, new Range(offset, offset + text.Length))); 428tokens.Add(new EncodedToken(UnknownTokenId, UnknownToken, new Range(offset, offset + textLength)));
Microsoft.ML.Tokenizers.Tests (3)
BertTokenizerTests.cs (2)
33Assert.Equal("[UNK]", tokenizer.UnknownToken); 100Assert.Equal("[UNK]", tokenizer.UnknownToken);
WordPieceTests.cs (1)
38Assert.Equal("[UNK]", tokenizer.UnknownToken);