Skip to content
Discussion options

You must be logged in to vote

So my question is, what do these vectors do, or how are they used during training?

Static vectors are used for one of the pretraining objectives called "LMAO" where the model attempts to reproduce the vectors. Also as indicated in the static vectors docs they can be used as a feature in the tok2vec representation.

That raise the question: which component sets the vectors that are responsible for the similarity?

As indicated in the docs similarity uses an average of word vectors by default (the non-default cause is a user hook to override this). The vector value is just Doc.vector (or Span or Token). That value uses word vectors if available, and if not (as in the small models), falls …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@BramVanroy
Comment options

@polm
Comment options

@adrianeboyd
Comment options

@BramVanroy
Comment options

Answer selected by adrianeboyd
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
3 participants