Skip to content

How to use prefix ner tags with skweak aggregation.HMM #86

@javinator48

Description

@javinator48

Currently I am trying to apply aggregation.HMM on pretrained hugging face models on the wikineural dataset( https://huggingface.co/datasets/Babelscape/wikineural) and I have these tags ['O', 'B-PER', 'I-PER', 'B-ORG', 'I-ORG', 'B-LOC', 'I-LOC', 'B-MISC', 'I-MISC']. However I get an error RuntimeError: Initial labels should not have a prefix. How can I handle these type of tags?
Screenshot from 2024-04-02 22-48-18

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