MaartenGr / MaartenGr/BERTopic
Issues Loading BERTopic
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.8k
- Forks
- 920
- Avg merge
- 22h 24m
- Merged PRs (30d)
- 5
Description
Hi Maarten,
Huge fan of your work! However, since today, I receive the following error message, when loading BERTopic:
TypeError: Dispatcher._rebuild() got an unexpected keyword argument 'impl_kind'
How I load the model:
```
from bertopic import BERTopic
import umap.umap_ as umap
import numpy as np
topic_model = BERTopic.load("mymodel")
```
I use:
bertopic 0.16.0
numba 0.59.0
umap-learn 0.5.5
numpy 1.23.5
Can you help :)?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the BERTopic.load("mymodel") failure using the loading snippet and the listed bertopic, numba, umap-learn, and numpy versions. Start by checking the dependency combination behind Dispatcher._rebuild() and verify that loading the saved model completes without the unexpected impl_kind argument error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100