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