Hello! I'm currently working on my project, and I have a specific NLP task using BERTopic - Zero-shot Topic Modeling. Unfortunately, a bug exists when I try to form the model.
Hmmm, not sure what is happening here. Which version of BERTopic are you using? Also, could you try again without using vectorizer_model_en and nr_topics?
Hello! I'm currently working on my project, and I have a specific NLP task using BERTopic - Zero-shot Topic Modeling. Unfortunately, a bug exists when I try to form the model.
Here is my model formation:
And when I run:
topics_en, probs_en = topic_model_en.fit_transform(df_comment_1['text_en'], embeddings_en)
I get the following error:
How can I fix that error? Thank you.