Open timo-obrecht opened 6 months ago
Thanks for this! It would indeed be much nicer to raise an expectation and explain what the user should do. If you want, a PR would be much appreciated.
Hi, I believe I have a PR for this if that is okay: #2181
In bertopic/representation/_utils.py, line 57,
tokenizer
is possiblyNone
. In this case, an exception asking the user to explicitly set tokenizer should be raised.