Skip to content

custom text classification using spacy v 3.1.3 #9839

Discussion options

You must be logged in to vote

when I am training the model with command(python -m spacy train config.cfg --verbose --output ./output) with Dataset2 no scores are printed like LOSS TEXTCAT CATS_SCORE SCORE , and in the output folder, there are no subfolders like model best and model last.

If no scores are being printed what's probably happening is there's some issue initializing the model. spaCy has no limit on the number of labels, but adding more labels would require more memory, and it's possible you're out of memory.

It sounds like the command exits on its own, is that correct? If so it may be killed due to OOM errors. On Linux you should be able to check the dmesg log for evidence of that.

Some other things to c…

Replies: 10 comments

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
0 replies
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
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
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / textcat Feature: Text Classifier perf / memory Performance: memory use
2 participants
Converted from issue

This discussion was converted from issue #9807 on December 09, 2021 03:51.