Skip to content
Discussion options

You must be logged in to vote

Have you tried just increasing your patience limit? The default value is not special, if it's much smaller than the size of your epoch you should change that.

It sounds like you might be having issues with imbalanced data. Somewhat inbalanced data should be OK but it would be better if you could balance your dataset somewhat. You can do that by finding more examples of rare classes, using augmentation to create artificial examples of rare classes, and reducing examples of common classes somewhat.

If you have 32k examples but only 20 of a given class I don't think there's any way for the model to learn to handle the minority class reasonably. One thing you could do is use a classifier to s…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nashcaps2255
Comment options

Answer selected by adrianeboyd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / textcat Feature: Text Classifier
2 participants