Skip to content

Transformer based word vectors #6511

Discussion options

You must be logged in to vote

Have a look at how it was done in the previous version of spacy-transformers: https://github.com/explosion/spacy-transformers/blob/ebef817af5c0077e8f7019b77d6768da1fd482eb/spacy_transformers/pipeline/tok2vec.py#L202-L246

(To be clear, this may not be exactly what you want, in particular sum, but it shows how to set up the user hooks.)

Replies: 11 comments 10 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
4 replies
@danielvasic
Comment options

@svlandeg
Comment options

@danielvasic
Comment options

@danielvasic
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by danielvasic
Comment options

You must be logged in to vote
6 replies
@danielvasic
Comment options

@simonschoe
Comment options

@danielvasic
Comment options

@perrozzi
Comment options

@danielvasic
Comment options

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 / vectors Feature: Word vectors and similarity feat / transformer Feature: Transformer
7 participants
Converted from issue

This discussion was converted from issue #6511 on December 11, 2020 13:13.