4 instantiations of TrainerSpec
Microsoft.ML.Tokenizers (4)
SentencepieceModel.cs (4)
121
private static readonly pb::MessageParser<TrainerSpec> _parser = new pb::MessageParser<TrainerSpec>(() => new
TrainerSpec
());
209
return new
TrainerSpec
(this);
4145
TrainerSpec = new global::Sentencepiece.
TrainerSpec
();
4240
TrainerSpec = new global::Sentencepiece.
TrainerSpec
();
29 references to TrainerSpec
Microsoft.ML.Tokenizers (29)
Model\LlamaTokenizer.cs (1)
47
if (modelProto.TrainerSpec.ModelType !=
TrainerSpec
.Types.ModelType.Bpe)
SentencepieceModel.cs (28)
101
new pbr::GeneratedClrTypeInfo(typeof(global::Sentencepiece.
TrainerSpec
), global::Sentencepiece.
TrainerSpec
.Parser, new[]{ "Input", "InputFormat", "ModelPrefix", "ModelType", "VocabSize", "AcceptLanguage", "SelfTestSampleSize", "EnableDifferentialPrivacy", "DifferentialPrivacyNoiseLevel", "DifferentialPrivacyClippingThreshold", "CharacterCoverage", "InputSentenceSize", "ShuffleInputSentence", "MiningSentenceSize", "TrainingSentenceSize", "SeedSentencepieceSize", "ShrinkingFactor", "MaxSentenceLength", "NumThreads", "NumSubIterations", "MaxSentencepieceLength", "SplitByUnicodeScript", "SplitByNumber", "SplitByWhitespace", "TreatWhitespaceAsSuffix", "AllowWhitespaceOnlyPieces", "SplitDigits", "PretokenizationDelimiter", "ControlSymbols", "UserDefinedSymbols", "RequiredChars", "ByteFallback", "VocabularyOutputPieceScore", "HardVocabLimit", "UseAllVocab", "UnkId", "BosId", "EosId", "PadId", "UnkPiece", "BosPiece", "EosPiece", "PadPiece", "UnkSurface", "TrainExtremelyLargeCorpus", "SeedSentencepiecesFile" }, null, new[]{ typeof(global::Sentencepiece.
TrainerSpec
.Types.ModelType) }, null, null),
116
internal sealed partial class TrainerSpec : pb::IExtendableMessage<
TrainerSpec
>
121
private static readonly pb::MessageParser<
TrainerSpec
> _parser = new pb::MessageParser<
TrainerSpec
>(() => new TrainerSpec());
123
private pb::ExtensionSet<
TrainerSpec
> _extensions;
124
private pb::ExtensionSet<
TrainerSpec
> _Extensions { get { return _extensions; } }
129
public static pb::MessageParser<
TrainerSpec
> Parser { get { return _parser; } }
153
public TrainerSpec(
TrainerSpec
other) : this() {
208
public
TrainerSpec
Clone() {
299
private readonly static global::Sentencepiece.
TrainerSpec
.Types.ModelType ModelTypeDefaultValue = global::Sentencepiece.
TrainerSpec
.Types.ModelType.Unigram;
301
private global::Sentencepiece.
TrainerSpec
.Types.ModelType modelType_;
304
public global::Sentencepiece.
TrainerSpec
.Types.ModelType ModelType {
1597
return Equals(other as
TrainerSpec
);
1602
public bool Equals(
TrainerSpec
other) {
2243
public void MergeFrom(
TrainerSpec
other) {
2605
ModelType = (global::Sentencepiece.
TrainerSpec
.Types.ModelType) input.ReadEnum();
2785
public TValue GetExtension<TValue>(pb::Extension<
TrainerSpec
, TValue> extension) {
2788
public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<
TrainerSpec
, TValue> extension) {
2791
public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<
TrainerSpec
, TValue> extension) {
2794
public void SetExtension<TValue>(pb::Extension<
TrainerSpec
, TValue> extension, TValue value) {
2797
public bool HasExtension<TValue>(pb::Extension<
TrainerSpec
, TValue> extension) {
2800
public void ClearExtension<TValue>(pb::Extension<
TrainerSpec
, TValue> extension) {
2803
public void ClearExtension<TValue>(pb::RepeatedExtension<
TrainerSpec
, TValue> extension) {
3940
private global::Sentencepiece.
TrainerSpec
trainerSpec_;
3946
public global::Sentencepiece.
TrainerSpec
TrainerSpec {