Skip to content
Discussion options

You must be logged in to vote

If you put the tok2vec in frozen_components, it's not run at all during training. If you want to train a component that depends on its output, then you also need to add tok2vec to annotating_components so that it's run in order to set doc.tensors during training. See: https://spacy.io/usage/training#annotating-components

annotating_components requires spaCy v3.1+.

Replies: 1 comment

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
training Training and updating models feat / pipeline Feature: Processing pipeline and components
2 participants
Converted from issue

This discussion was converted from issue #9210 on September 16, 2021 10:13.