How to use a TfidfVectorizer model in real-time with endpoints

0

During training, I created a TfidfVectorizer model and trained it to generate features from a database. How can I reuse this model to generate the representation of new texts, which will be classified by the endpoint?

1 Answer
0

You can try SageMaker Inference Pipeline, and add the TfidfVectorizer as a preprocessing step. Also take a look at this step-by-step blog example.

AWS
S Lyu
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions