Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant