Skip to content
Discussion options

You must be logged in to vote

Without getting into exactly what is going wrong here, is there a reason you're not using config-based training? We strongly recommend not writing your own training loop in order to avoid errors. If you don't want to use the config, we also expose the internal training loop as a function you can use.

Also, it looks like something went wrong when you pasted your code and the indentation is off and maybe some parts are missing - you don't use entity_offsets and it's not clear where annotations is defined. Can you double-check your code?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Romulus-5
Comment options

Answer selected by Romulus-5
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 / spancat Feature: Span Categorizer
2 participants