fit_transform tries to access embedding_model if representation_model is not None #2189
Open
1 task done
Labels
bug
Something isn't working
Have you searched existing issues? 🔎
Desribe the bug
I was using BERTopic on a cluster of queries with my own embeddings (computed on a model that is hard to pass as a parameter) and it was working as expected.
After trying to use
representation_model = KeyBERTInspired()
and addingrepresentation_model=representation_model
to BERTopic as a parameter. I got this error :Reproduction
BERTopic Version
0.16.4
The text was updated successfully, but these errors were encountered: