Skip to content
Discussion options

You must be logged in to vote

Can you explain in more detail which model you're starting from, which entities it already is able to predict, which type of (new and old) entities you're feeding into the model for retraining, and which problems in accuracy you're seeing?

The code above is not really a minimal reproducible snippet. The way you've pasted it, it looks like TRAIN_DATA is defined several times:

TRAIN_DATA = []
for entry in labeled_data:
    ...
    TRAIN_DATA.append(spacy_entry)      

...

LABEL = "OIL"
TRAIN_DATA = [
        (
            "Horses are too tall and they pretend to care about your feelings",
            {"entities": [(0, 6, LABEL)]},
        ),
...
]

Note that in the second definition of TRA…

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by svlandeg
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@svlandeg
Comment options

@svlandeg
Comment options

@aravind-812
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@polm
Comment options

@shrinidhin
Comment options

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
4 participants
Converted from issue

This discussion was converted from issue #6843 on January 28, 2021 18:11.