Skip to content

recall and f1-score is pretty low (~0.65) for unseen instances of custom entity on transfer-learned model. #9283

Discussion options

You must be logged in to vote

Can you give a specific example of what kind of entities you're trying to recognize?

Typical solutions for poor generalization are to get more training data or to use data augmentation to make your model more robust. If your model is failing to generalize it's usually because it doesn't have enough data to find patterns.

Your train, validation, and test sets shouldn't have any overlap - it's OK if there's some, but being different datasets is the point. The fact that the model can perfectly recall stuff from the train set isn't interesting.

Also, depending on what you're trying to recognize 70F1 isn't that bad. There's lots of NER applications where that's low but maybe you have a hard ca…

Replies: 1 comment 2 replies

Comment options

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

@polm
Comment options

Answer selected by polm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / ner Feature: Named Entity Recognizer perf / accuracy Performance: accuracy
2 participants