Skip to content
Discussion options

You must be logged in to vote

Hello 😄 Thanks for the detailed description!
At first glance, I don't see anything wrong with the config so my first guess is that either something is wrong with the data or you're running out of memory.

If it fails/hangs silently, one thing that you could do to further debug this is to run the training repeatedly and kill it with ctrl+c. The traceback will show what it was doing. If you do that a few times and it's always in the same place you can be confident that's where it's spending time processing.

I also saw that your batch_size in [nlp] is set to 1000, have you tried to lower that number?
And to spare you the many sizes in the suggester you can also use this:

[components.spancat.s…

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@thomashacker
Comment options

@jussikuusisto
Comment options

@jussikuusisto
Comment options

@thomashacker
Comment options

@jussikuusisto
Comment options

Answer selected by jussikuusisto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / training Feature: Training utils, Example, Corpus and converters feat / spancat Feature: Span Categorizer
2 participants