Named Entity Recognition csv import bug

Open
#3,048 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
machine-learning

Research direction

Start by reproducing the failure in the Named Entity Recognition model's file-selection dialog with the reported .txt and CSV-like inputs, including a minimal sample. Trace how the dialog validates the file and reports errors; done means valid input imports successfully and invalid encoding, separator, header, or quoting issues identify the cause.

Written by the indexing model from the issue text.

Description

I created a new ml model and I select "Named Entity Recognition"
I tried with several files, including sample files on Microsoft but all I get is this error message.


Error

Invalid file type. This file will not be used. Try selecting another file (.txt).

OK

The error messages in this file selection are not informative. I dont understand if the problem is UTF header, or seperator or anything else. Which line? or is it a quote problem or does it expect a fixed column header...?

But it is certain the file type is correct. I gave it a txt file.

I tried it with several versions of visual studio including 2022, and latest preview.
Please provide a sample 3 line txt file in this dialog to make it clear or add informative error messages.

Dominant language
Dockerfile
Stars
285
Forks
66
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/machinelearning-modelbuilder

All issues in dotnet/machinelearning-modelbuilder

Similar issues

More Machine Learning issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.