Skip to content
Discussion options

You must be logged in to vote

If you don't want the default overlapping strided spans, you need to use a different "span getter". There's one for sentences, but you need to be sure that senter is in annotating_components for the sentences to be set at the point when the transformer component runs. See: https://spacy.io/api/transformer#span_getters. If a sentence span is too long for the transformer model, it will be truncated.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by svlandeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / vectors Feature: Word vectors and similarity
2 participants