1 write to BertOptions
Microsoft.ML.TorchSharp (1)
NasBert\NasBertTrainer.cs (1)
422
BertOptions
= options;
11 references to BertOptions
Microsoft.ML.TorchSharp (11)
NasBert\NasBertTrainer.cs (11)
434
if (
BertOptions
.TaskType == BertTaskType.TextClassification)
464
if (
BertOptions
.Sentence2ColumnName != default ||
BertOptions
.TaskType == BertTaskType.SentenceRegression)
485
ctx.SaveNonEmptyString(
BertOptions
.Sentence1ColumnName);
486
ctx.SaveStringOrNull(
BertOptions
.Sentence2ColumnName);
507
if (inputSchema.TryGetColumnIndex(Parent.
BertOptions
.Sentence1ColumnName, out var col))
510
if (Parent.
BertOptions
.Sentence2ColumnName != default || Parent.
BertOptions
.TaskType == BertTaskType.SentenceRegression)
511
if (inputSchema.TryGetColumnIndex(Parent.
BertOptions
.Sentence2ColumnName, out col))
517
if (Parent.
BertOptions
.TaskType == BertTaskType.TextClassification)
539
else if (Parent.
BertOptions
.TaskType == BertTaskType.NamedEntityRecognition)