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)
81public static SentenceSimilarityTrainer SentenceSimilarity( 101public static SentenceSimilarityTrainer SentenceSimilarity( 103SentenceSimilarityTrainer.SentenceSimilarityOptions options)
Microsoft.ML.TorchSharp.Tests (3)
TextClassificationTests.cs (3)
387var estimator = ML.Regression.Trainers.SentenceSimilarity(sentence1ColumnName: "Sentence", sentence2ColumnName: "Sentence2"); 434var options = new SentenceSimilarityTrainer.SentenceSimilarityOptions() 442var estimator = ML.Regression.Trainers.SentenceSimilarity(options);