-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Description
Hello, has anyone successfully got BERTopic running on AzureML?
Environment: Azure ML 3.8
Having installed the BERTopic (pip install BERTopic), I then use the following starter code (from the BERTopic GitHub):
from bertopic import BERTopic
from sklearn.datasets import fetch_20newsgroups
docs = fetch_20newsgroups(subset='all', remove=('headers', 'footers', 'quotes'))['data']
topic_model = BERTopic()
topics, probs = topic_model.fit_transform(docs)
After running for around 4 minutes, this gives the following error:
UFuncTypeError: ufunc 'correct_alternative_cosine' did not contain a loop with signature matching types <class 'numpy.dtype[float32]'> -> None
Any support would be gratefully received!
Regards,
James
Metadata
Metadata
Assignees
Labels
No labels