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

CONLL Conversion drops NER labels from token classification #254

@MattHag

Description

@MattHag

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions