2 writes to QuestionColumnName
Microsoft.ML.TorchSharp (2)
13 references to QuestionColumnName
Microsoft.ML.TorchSharp (13)
Roberta\QATrainer.cs (13)
107Contracts.AssertValue(options.QuestionColumnName);
272DataViewRowCursor cursor = input.GetRowCursor(input.Schema[Parent.Option.ContextColumnName], input.Schema[Parent.Option.QuestionColumnName], input.Schema[Parent.Option.TrainingAnswerColumnName], input.Schema[Parent.Option.AnswerIndexStartColumnName]);
275var questionGetter = cursor.GetGetter<ReadOnlyMemory<char>>(input.Schema[Parent.Option.QuestionColumnName]);
537if (!inputSchema.TryFindColumn(Option.QuestionColumnName, out var questionCol))
538throw Host.ExceptSchemaMismatch(nameof(inputSchema), "Question", Option.QuestionColumnName);
540throw Host.ExceptSchemaMismatch(nameof(inputSchema), "Question", Option.QuestionColumnName,
623if (!inputSchema.TryFindColumn(Options.QuestionColumnName, out var questionCol))
624throw Host.ExceptSchemaMismatch(nameof(inputSchema), "Question", Options.QuestionColumnName);
626throw Host.ExceptSchemaMismatch(nameof(inputSchema), "Question", Options.QuestionColumnName,
656ctx.SaveNonEmptyString(Options.QuestionColumnName);
720if (inputSchema.TryGetColumnIndex(parent.Options.QuestionColumnName, out col))
782getQuestion = input.GetGetter<ReadOnlyMemory<char>>(input.Schema[_parent.Options.QuestionColumnName]);
809getQuestion = input.GetGetter<ReadOnlyMemory<char>>(input.Schema[_parent.Options.QuestionColumnName]);