jonathanpeppers / inclusive-code-reviews-ml

Machine learning for code reviews!
MIT License
14 stars 6 forks source link

Investigate using TorchSharp, when ONNX export is available #21

Open jonathanpeppers opened 2 years ago

jonathanpeppers commented 2 years ago

Context: https://devblogs.microsoft.com/dotnet/introducing-the-ml-dotnet-text-classification-api-preview/

This would be a small change to our pipeline here:

https://github.com/jonathanpeppers/inclusive-code-reviews-ml/blob/7ecf6a4c2cae94359da674973f89fc1fbe7d3fc9/ml.net/InclusiveCodeReviews.ConsoleApp/ModelBuilder.cs#L55-L65

The problem is this isn't exportable to .onnx yet. But we should investigate using this when it is supported.