4 types derived from NasBertOptions
Microsoft.ML.TorchSharp (4)
NasBert\NerTrainer.cs (1)
67
public class NerOptions :
NasBertOptions
NasBert\SentenceSimilarityTrainer.cs (1)
63
public class SentenceSimilarityOptions :
NasBertOptions
NasBert\TextClassificationTrainer.cs (1)
64
public class TextClassificationOptions : NasBertTrainer.
NasBertOptions
Roberta\QATrainer.cs (1)
38
public sealed class Options :
NasBertOptions
2 instantiations of NasBertOptions
Microsoft.ML.TorchSharp (2)
NasBert\SentenceSimilarityTrainer.cs (1)
233
var options = new
NasBertOptions
()
NasBert\TextClassificationTrainer.cs (1)
257
var options = new
NasBertOptions
()
21 references to NasBertOptions
Microsoft.ML.TorchSharp (21)
NasBert\Models\BaseModel.cs (2)
12
protected readonly NasBertTrainer.
NasBertOptions
Options;
24
protected BaseModel(NasBertTrainer.
NasBertOptions
options)
NasBert\Models\ModelPrediction.cs (1)
19
public ModelForPrediction(NasBertTrainer.
NasBertOptions
options, int padIndex, int symbolsCount, int numClasses)
NasBert\Models\NasBertModel.cs (1)
19
public NasBertModel(NasBertTrainer.
NasBertOptions
options, int padIndex, int symbolsCount)
NasBert\Models\NerModel.cs (1)
18
public NerModel(NasBertTrainer.
NasBertOptions
options, int padIndex, int symbolsCount, int numLabels)
NasBert\NasBertTrainer.cs (4)
167
internal readonly NasBertTrainer.
NasBertOptions
BertOptions;
171
BertOptions = options as NasBertTrainer.
NasBertOptions
;
413
internal readonly NasBertTrainer.
NasBertOptions
BertOptions;
419
internal NasBertTransformer(IHostEnvironment env, NasBertTrainer.
NasBertOptions
options, NasBertModel model, DataViewSchema.DetachedColumn labelColumn)
NasBert\NerTrainer.cs (2)
111
return new NerTransformer(host, options as
NasBertOptions
, model as NasBertModel, labelColumn);
258
internal NerTransformer(IHostEnvironment env,
NasBertOptions
options, NasBertModel model, DataViewSchema.DetachedColumn labelColumn) : base(env, options, model, labelColumn)
NasBert\Optimizers\Adam.cs (1)
15
public Adam(NasBertTrainer.
NasBertOptions
options, IEnumerable<Parameter> parameters)
NasBert\Optimizers\BaseOptimizer.cs (3)
26
public static BaseOptimizer GetOptimizer(NasBertTrainer.
NasBertOptions
options, IEnumerable<Parameter> parameters)
31
protected NasBertTrainer.
NasBertOptions
Options { get; set; }
37
protected BaseOptimizer(string name, NasBertTrainer.
NasBertOptions
options, IEnumerable<Parameter> parameters)
NasBert\SentenceSimilarityTrainer.cs (3)
110
return new SentenceSimilarityTransformer(host, options as
NasBertOptions
, model as ModelForPrediction, labelColumn);
190
internal SentenceSimilarityTransformer(IHostEnvironment env,
NasBertOptions
options, ModelForPrediction model, DataViewSchema.DetachedColumn labelColumn) : base(env, options, model, labelColumn)
233
var
options = new NasBertOptions()
NasBert\TextClassificationTrainer.cs (3)
110
return new TextClassificationTransformer(host, options as
NasBertOptions
, model as NasBertModel, labelColumn);
195
internal TextClassificationTransformer(IHostEnvironment env,
NasBertOptions
options, NasBertModel model, DataViewSchema.DetachedColumn labelColumn) : base(env, options, model, labelColumn)
257
var
options = new NasBertOptions()