dotnet / machinelearning-modelbuilder

Simple UI tool to build custom machine learning models.
Creative Commons Attribution 4.0 International
265 stars 56 forks source link

Question Answering: There are 3 predicted answers and there are no obvious separators between the 3 answers when running the generated Web API project. #2984

Open v-Hailishi opened 2 days ago

v-Hailishi commented 2 days ago

System Information (please complete the following information): Windows OS: Windows-11-Enterprise-24H2 ML.Net Model Builder 2022: 17.19.0.2455701 (Main Build) Microsoft Visual Studio Enterprise: 2022(17.11.5) .Net: 6.0,7.0

Describe the bug

TestMatrix Smallsuad.tsv.txt

To Reproduce Steps to reproduce the behavior:

  1. Select Create a new project from the Visual Studio start window.
  2. Choose the C# Console App (.NET Core) project template.
  3. Add model builder by right click on the project.
  4. Select "Question Answering" scenario.
  5. On Data page, choose the data source to completed training.
  6. Go to the Consume page, click "Add to solution" button to generate Web API project.
  7. Run the generated Web API project and check the predicted result.

Expected behavior The predicted result needs formatting to separate the 3 answers or jus single answer with the highest score.

Screenshot Image

Additional context

v-Hailishi commented 2 days ago

This issue has been discussed in bug 2795, but it was closed. Hence, I open this new bug to tracking the issue.