1 type derived from WordPieceOptions
Microsoft.ML.Tokenizers (1)
Model\BertOptions.cs (1)
10
public sealed class BertOptions :
WordPieceOptions
2 instantiations of WordPieceOptions
Microsoft.ML.Tokenizers (1)
Model\WordPieceTokenizer.cs (1)
42
options ??=
new
();
Microsoft.ML.Tokenizers.Tests (1)
WordPieceTests.cs (1)
188
WordPieceTokenizer tokenizer = WordPieceTokenizer.Create(vocabFile, new
WordPieceOptions
{ SpecialTokens = specialTokens });
11 references to WordPieceOptions
Microsoft.ML.Tokenizers (11)
Model\WordPieceTokenizer.cs (11)
35
WordPieceOptions
? options)
128
/// If the <see cref="
WordPieceOptions
.PreTokenizer"/> is null, the whitespace pre-tokenizer will be used.
133
WordPieceOptions
? options = null) =>
143
/// If the <see cref="
WordPieceOptions
.PreTokenizer"/> is null, the whitespace pre-tokenizer will be used.
148
WordPieceOptions
? options = null) =>
153
WordPieceOptions
? options,
184
/// If the <see cref="
WordPieceOptions
.PreTokenizer"/> is null, the whitespace pre-tokenizer will be used.
189
WordPieceOptions
? options = null,
205
/// If the <see cref="
WordPieceOptions
.PreTokenizer"/> is null, the whitespace pre-tokenizer will be used.
210
WordPieceOptions
? options = null,
216
WordPieceOptions
? options,