Skip to content
Discussion options

You must be logged in to vote

Sorry you're having trouble with this.

Normally we apprecitate a lot of detail with questions, but in this case you have provided too much and it makes your question hard to follow, partly just because it's a lot to read. In this case, it would have helped if you narrowed things down to just the error you're getting and the code that caused it.

Looking at the specific error you're getting, you're passing invalid values to Example.from_dict. I'm not sure how you came up with your get_example_from_doc code, but it won't work - the format of data you're passing is not what that function is designed for. Instead what you should do is just set your spans on a Doc and save a DocBin. Assuming yo…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@jamnicki
Comment options

@polm
Comment options

@jamnicki
Comment options

@polm
Comment options

@jamnicki
Comment options

Answer selected by jamnicki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / spancat Feature: Span Categorizer
2 participants