Closed zewditu closed 5 months ago
@michaelgsharp investigated that the issue is because of the dataset. The dataset was opened in Excell and Excell adds extra quotes around text. However, Ml.Net should have the way to handle this. @michaelgsharp for more comments. @JakeRadMSFT @luisquintanilla thought?
Closing this issue as its related to invalid data and not ML.NET.
System Information (please complete the following information):
Describe the bug For this dataset the exception is thrown after the training is completed , it seems the issue is in validation step. I am able to reproduce it in Ml.Net repo test case and the issue happed in 'ComputeTopKSpansWithScore' method at https://github.com/dotnet/machinelearning/blob/main/src/Microsoft.ML.TorchSharp/Utils/MetricUtils.cs#L23
Here is the test code
Additional context The reason we used test dataset to train is because it seems that the exception is thrown in validation using test dataset.