Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CONLL Conversion drops NER labels from token classification #254

Open
MattHag opened this issue Nov 6, 2023 · 0 comments
Open

CONLL Conversion drops NER labels from token classification #254

MattHag opened this issue Nov 6, 2023 · 0 comments

Comments

@MattHag
Copy link

MattHag commented Nov 6, 2023

There is a bug in the conversion from .json to .conll, where many labels for token classifications are lost in translation. I discovered it when exporting NER labeled data as .conll from Label Studio.

Example to replicate

The same error happens when converting the exported JSON with the converter using my example_data.zip.

label-studio-converter export -i export_json.json -c label_studio_config.xml -o output_dir -f CONLL2003

The provided JSON export contains 3 "-hdmi" and 3 "-displayport" labels. The converted CONLL contains no "-displayport" label anymore.

Versions

label-studio: 1.8.2.post1
label-studio-converter: 0.0.57
macOS: 14.0

@MattHag MattHag closed this as completed Nov 28, 2023
@MattHag MattHag reopened this Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant