2 instantiations of QATrainer
Microsoft.ML.TorchSharp (2)
TorchSharpCatalog.cs (2)
270
=> new
QATrainer
(CatalogUtils.GetEnvironment(catalog), contextColumnName, questionColumnName, trainingAnswerColumnName, answerIndexColumnName, predictedAnswerColumnName, scoreColumnName, topK, batchSize, maxEpochs, validationSet, architecture);
283
=> new
QATrainer
(CatalogUtils.GetEnvironment(catalog), options);
12 references to QATrainer
Microsoft.ML.TorchSharp (11)
Roberta\Models\RobertaModel.cs (1)
39
protected RobertaModel(
QATrainer
.Options options)
Roberta\Models\RobertaModelForQA.cs (1)
21
public RobertaModelForQA(
QATrainer
.Options options)
Roberta\QATrainer.cs (6)
104
Host = Contracts.CheckRef(env, nameof(env)).Register(nameof(
QATrainer
));
185
protected readonly
QATrainer
Parent;
192
public Trainer(
QATrainer
parent, IChannel ch, IDataView input)
561
internal readonly
QATrainer
.Options Options;
572
internal QATransformer(IHostEnvironment env,
QATrainer
.Options options, RobertaModelForQA model)
688
var options = new
QATrainer
.Options()
TorchSharpCatalog.cs (3)
257
public static
QATrainer
QuestionAnswer(
280
public static
QATrainer
QuestionAnswer(
282
QATrainer
.Options options)
Microsoft.ML.TorchSharp.Tests (1)
QATests.cs (1)
87
var
estimator = ML.MulticlassClassification.Trainers.QuestionAnswer(maxEpochs: 30);