Open HeinzJS opened 1 month ago
I'm not sure but I believe you have to set the numpy version even lower which is by no means an ideal solution. Instead, it might be worthwhile to use zero-shot BERTopic instead.
Thank you for the reply.
I have previously tried setting both numpy to 1.23.5 and numba to 0.56.0, but it gave me an error:
numba 0.56.0 requires numpy<1.23,>=1.18, but you have numpy 1.23.5 which is incompatible.
As for numba 0.56.4 it still produced the same error as the original post.
I'll have a look at zero-shot approach. Thank you once again!
Hello,
I've been having problems with performing a guided topic approach. The error I have been receiving is as such:
The part of my code is as follows:
The solutions I have tried:
1602 I tried to downgrade numba to version 0.56.0 but it still produced the same error as above.
https://stackoverflow.com/questions/76264783/bertopic-guided-topic-modelling-returns-a-valueerror-inhomogenous-shape I have also tried downgrading numpy to version 1.23.5 but the same error was also produced.
I tried to replicate the example provided in the documentation with the above solutions I attempted but it still produced the same error.
I can't find any other resources online about this so thought I would open a new one.
Here are a list of my current packages