net6.0-windows
namespace Microsoft.ML.TorchSharp
{
    public static class TorchSharpCatalog
    {
        public static SentenceSimilarityTrainer SentenceSimilarity(this RegressionTrainers catalog, string labelColumnName = "Label", string scoreColumnName = "Score", string sentence1ColumnName = "Sentence1", string sentence2ColumnName = "Sentence2", int batchSize = 32, int maxEpochs = 10, BertArchitecture architecture = BertArchitecture.Roberta, IDataView validationSet = null);
    }
}
nuget.org
0.0 %
Reference this API
.NET 5.06.07.08.09.0
.NET Core 2.02.12.23.03.1
.NET Framework 4.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard 2.02.1
Information specific to net6.0
Assembly

Microsoft.ML.TorchSharp , Version=1.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

Your project needs a package reference to Microsoft.ML.TorchSharp.

Package Microsoft.ML.TorchSharp (0.22.0) netstandard2.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API

11/13/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙