Skip to content

Adding lemmatizer to trained NER modelΒ #10615

@spatiebalk

Description

@spatiebalk

I am training a NER model that also needs to have a lemmatizer. This lemmatizer I initialized with the source model en_core_web_sm as that is fine and does not need to be trained in my use case. However, after training, the NER goes fine, but the lemmatizer gives a different result than the en_core_web_sm model itself.

I was wondering whether something is wrong in my config file (here added as .txt but used as .cfg) and whether I can fix this without having to retrain the entire NER model?

I see there is a lemmatizer file in my model: trained_model/lemmatizer/lookups/lookups.bin. so is it maybe possible to replace this with the file used by en_core_web_sm? If so, where could I find this file?

config_NER_model_txt.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions