A query from a user about create a test for BERTopic. What this user has is top topic words (or terms for all .extract_ingredients.* methods).
It should be possible to create an input_model_s3 object with just topic topic words. Let's call this input_model_s3_dummy.
K is the number of columns; all_terms is all unique terms in terms; V is the length of all_terms
A query from a user about create a test for BERTopic. What this user has is top topic words (or
termsfor all.extract_ingredients.*methods).It should be possible to create an
input_model_s3object with just topic topic words. Let's call thisinput_model_s3_dummy.Kis the number of columns;all_termsis all unique terms interms;Vis the length ofall_terms