Skip to content
Discussion options

You must be logged in to vote

The config contains state about the pipeline components, but it doesn't contain all the state, so when you make a new pipeline and initialize it from the old config you get all the same components but they aren't ready to go. You don't get patterns, and components aren't initialized, which is why you get that error. You can read more about this process in "serializing the pipeline".

As far as I can tell, the to_disk and from_disk methods means saving and loading a default set of patterns, but I have different patterns for different use cases.

I am not sure what you mean by "a default set of patterns", but those methods should save all your patterns. You could save one Language per use c…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by polm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / serialize Feature: Serialization, saving and loading feat / config Feature: Training config
2 participants