Skip to content

Latest commit

 

History

History
60 lines (44 loc) · 3.65 KB

File metadata and controls

60 lines (44 loc) · 3.65 KB
page_type name description urlFragment languages products
sample
ML.NET 2.0 AutoML & Deep Learning Samples
Collection of samples for ML.NET 2.0 showcasing AutoML and TorchSharp implementations of NAS-BERT transformer models for text classification and sentence similarity
mlnet-2-samples
csharp
dotnet
aspnet-core
mlnet

ML.NET 2.0 Samples

ML.NET version Status App Type Data type Scenario ML Task Algorithms
v2.0.0 Up-to-date Console App .csv file AutoML, Text Classification, Sentence Similarity Regression,Text Classification,Sentence Similarity Sdca, NAS-BERT

This directory contains samples for ML.NET 2.0.

Data

The samples in this directory use the following datasets:

How to use these samples

To use these samples, download the datasets above and place them in the Data directory.

In Visual Studio, set any of the projects as the Startup project and run the application.

dotnet CLI

You may have to update the dataPath in the console apps. Then, in the terminal, navigate to the project directory and enter dotnet run.

Samples

AutoML

  • AutoMLQuickStart - C# console application that shows how to get started with the AutoML API.
  • AutoMLAdvanced - C# console application that shows the following concepts:
    • Modifying column inference results
    • Excluding trainers
    • Configuring monitoring
    • Choosing tuners
    • Cancelling experiments
  • AutoMLEstimators - C# console application that shows how to:
    • Customize search spaces
    • Create sweepable estimators
  • AutoMLTrialRunner - C# console application that shows how to create your own trial runner for the Text Classification API.

Natural Language Processing (NLP)