You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use zeroshot topic model,but i encounter an error,Can anyone please help me?TypeError: BERTopic.__init__() got an unexpected keyword argument 'zeroshot_topic_list'
#2025
Open
luyixiao31 opened this issue
May 31, 2024
· 1 comment
TypeError: BERTopic.init() got an unexpected keyword argument 'zeroshot_topic_list'
The text was updated successfully, but these errors were encountered:
luyixiao31
changed the title
I'm trying to use zeroshot topiv model,but i encounter an error,Can you please help me?TypeError: BERTopic.__init__() got an unexpected keyword argument 'zeroshot_topic_list'
I'm trying to use zeroshot topic model,but i encounter an error,Can you please help me?TypeError: BERTopic.__init__() got an unexpected keyword argument 'zeroshot_topic_list'
May 31, 2024
luyixiao31
changed the title
I'm trying to use zeroshot topic model,but i encounter an error,Can you please help me?TypeError: BERTopic.__init__() got an unexpected keyword argument 'zeroshot_topic_list'
I'm trying to use zeroshot topic model,but i encounter an error,Can anyone please help me?TypeError: BERTopic.__init__() got an unexpected keyword argument 'zeroshot_topic_list'
May 31, 2024
my bertopic version is bertopicv0.16.2
TypeError Traceback (most recent call last)
Cell In[162], line 57
55 keybert_model = KeyBERTInspired()
56 # build BERTopic
---> 57 topic_model = BERTopic(
58 embedding_model=embedding_model,
59 vectorizer_model=vectorizer_model,
60 # umap_model=umap_model,
61 # hdbscan_model=hdbscan_model,
62 zeroshot_topic_list = zeroshot_topic_list,
63 # seed_topic_list=seed_topic_list,
64 # representation_model=keybert_model
68 # #
69 topics, probs = topic_model.fit_transform(docs, embeddings=embeddings) #
TypeError: BERTopic.init() got an unexpected keyword argument 'zeroshot_topic_list'
The text was updated successfully, but these errors were encountered: