2 types derived from NasBertModel
Microsoft.ML.TorchSharp (2)
NasBert\Models\ModelPrediction.cs (1)
10
internal sealed class ModelForPrediction :
NasBertModel
NasBert\Models\NerModel.cs (1)
10
internal class NerModel :
NasBertModel
8 references to NasBertModel
Microsoft.ML.TorchSharp (8)
NasBert\NasBertTrainer.cs (4)
181
public new
NasBertModel
Model;
206
NasBertModel
model;
419
internal NasBertTransformer(IHostEnvironment env, NasBertTrainer.NasBertOptions options,
NasBertModel
model, DataViewSchema.DetachedColumn labelColumn)
608
return (Parent.Model as
NasBertModel
).forward(inputTensor);
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\TextClassificationTrainer.cs (2)
109
return new TextClassificationTransformer(host, options as NasBertOptions, model as
NasBertModel
, labelColumn);
194
internal TextClassificationTransformer(IHostEnvironment env, NasBertOptions options,
NasBertModel
model, DataViewSchema.DetachedColumn labelColumn) : base(env, options, model, labelColumn)