6 instantiations of BpeOptions
Microsoft.ML.Tokenizers.Tests (6)
BpeTests.cs (6)
261
BpeOptions bpeOptions = new
BpeOptions
(vocabFile, mergesFile)
283
BpeOptions bpeOptions1 = new
BpeOptions
(vocab)
403
new
BpeOptions
(dictionary!)
894
BpeOptions options = new
BpeOptions
(Path.Combine(@"Gpt-2", "vocab.json"), Path.Combine(@"Gpt-2", "merges.txt"))
924
BpeOptions options1 = new
BpeOptions
(options.Vocabulary)
967
BpeOptions bpeOptions = new
BpeOptions
(GetVocabulary(vocabElement));
8 references to BpeOptions
Microsoft.ML.Tokenizers (3)
Model\BpeOptions.cs (2)
18
/// Initializes a new instance of the <see cref="
BpeOptions
"/> class.
33
/// Initializes a new instance of the <see cref="
BpeOptions
"/> class.
Model\BPETokenizer.cs (1)
140
public static BpeTokenizer Create(
BpeOptions
options)
Microsoft.ML.Tokenizers.Tests (5)
BpeTests.cs (5)
261
BpeOptions
bpeOptions = new BpeOptions(vocabFile, mergesFile)
283
BpeOptions
bpeOptions1 = new BpeOptions(vocab)
894
BpeOptions
options = new BpeOptions(Path.Combine(@"Gpt-2", "vocab.json"), Path.Combine(@"Gpt-2", "merges.txt"))
924
BpeOptions
options1 = new BpeOptions(options.Vocabulary)
967
BpeOptions
bpeOptions = new BpeOptions(GetVocabulary(vocabElement));