Skip to content
Discussion options

You must be logged in to vote

Hi @karndeepsingh ,

When you first train via spaCy, you'd always get the model-best and model-last in the output directory that you supplied. If you want to resume training from them, you can supply their paths to the source parameter of your components in the configuration file. Something like this:

[components.ner]
source = "./output/model-last"  # or model-best

[components.tok2vec]
source = "./output/model-last"  # or model-best

Note that, it won't always be 100% equivalent because the rest of the training settings (like the optimizer, batcher, etc.) will be reset.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@karndeepsingh
Comment options

Answer selected by svlandeg
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
training Training and updating models
2 participants