Documenation for using a trained model for inference? #13574
-
I've looked high and low and I don't see any example for how to actually use a trained model to score on unseened data--say in a production pipeline with new data coming in at a regular cadence. I did find a stackoverflow post which said I need to load the train model and create an nlp object. I assume since the nlp object is just a pipline that uses existing trained models to score examples, I can just use |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Does this command do what you need? https://spacy.io/api/cli#apply |
Beta Was this translation helpful? Give feedback.
-
That looks good to me! Thanks for the response and quick reply! |
Beta Was this translation helpful? Give feedback.
Does this command do what you need? https://spacy.io/api/cli#apply