2 instantiations of SentenceSimilarityTrainer
Microsoft.ML.TorchSharp (2)
TorchSharpCatalog.cs (2)
91
=> new
SentenceSimilarityTrainer
(CatalogUtils.GetEnvironment(catalog), labelColumnName, scoreColumnName, sentence1ColumnName, sentence2ColumnName, batchSize, maxEpochs, validationSet, architecture);
104
=> new
SentenceSimilarityTrainer
(CatalogUtils.GetEnvironment(catalog), options);
6 references to SentenceSimilarityTrainer
Microsoft.ML.TorchSharp (3)
TorchSharpCatalog.cs (3)
81
public static
SentenceSimilarityTrainer
SentenceSimilarity(
101
public static
SentenceSimilarityTrainer
SentenceSimilarity(
103
SentenceSimilarityTrainer
.SentenceSimilarityOptions options)
Microsoft.ML.TorchSharp.Tests (3)
TextClassificationTests.cs (3)
387
var
estimator = ML.Regression.Trainers.SentenceSimilarity(sentence1ColumnName: "Sentence", sentence2ColumnName: "Sentence2");
434
var options = new
SentenceSimilarityTrainer
.SentenceSimilarityOptions()
442
var
estimator = ML.Regression.Trainers.SentenceSimilarity(options);