Skip to content
Discussion options

You must be logged in to vote

Good question. The interaction between these is a little subtle.

The initialize block is used when creating the pipeline for training. If you specify a model there, those vectors will be loaded into the pipeline, just like the vectors in the medium and large models. They will also be available in the final pipeline if you want to do something with them directly.

The tok2vec option determines whether tok2vec should use those same vectors when creating its embeddings. The tok2vec layer, and not the original embeddings, will be used for downstream pipeline components. If you've loaded the vectors you'd typically want to do this.

If you set include_static_vectors to be True but don't have any…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nick-antisoc
Comment options

Answer selected by nick-antisoc
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 / vectors Feature: Word vectors and similarity
2 participants