Skip to content

Is it possible to train NER with custom data labeled for named entities while keeping the base model's ability to do DEP and POS taggin? #4112

Discussion options

You must be logged in to vote

If you're using code to disable the pipes like:

with nlp.disable_pipes('tagger', 'parser'):
    nlp.begin_training()

Once you leave the with statement the pipes are enabled again and you can use them. So you could save your model to disk or directly run some NLP tasks with the model loaded.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
training Training and updating models feat / ner Feature: Named Entity Recognizer
2 participants
Converted from issue

This discussion was converted from issue #4112 on December 10, 2020 14:06.