MaartenGr / MaartenGr/BERTopic
Have reduce_topics return a new model
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.8k
- Forks
- 920
- Avg merge
- 22h 24m
- Merged PRs (30d)
- 5
Description
### Feature request
Can we have `reduce_topics' return a new model instead of modify the existing one in place?
I would like to try a bunch of different topic reductions without re-training the whole model from scratch each time
### Motivation
See above
### Your contribution
See above
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
Start by locating the `reduce_topics` method and reading how it currently changes the model. Determine which model state must be preserved for independent topic reductions. Done means the method returns a separate model while leaving the original usable and unchanged; add or update coverage for that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100