Skip to content
Discussion options

You must be logged in to vote

Let me go from general recommendations to the specific questions:

  • In general, we strongly recommend using spacy train instead of a custom training loop. If you prefer to do it programmatically, you can also access the training methods directly in spacy.training.loop.

  • If you want to update tagger without modifying any other components in the pipeline, then use replace_listeners to create an internal copy of the tok2vec model within the tagger so that the tagger can be updated independently of all other components.

  • If you want to update tagger without replacing the listener:

    • You need to have tok2vec enabled in the pipeline.
    • If you want to update tagger without modifying tok2vec, then…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andreacimino
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
usage General spaCy usage training Training and updating models
2 participants