MaartenGr / MaartenGr/BERTopic
joblib.externals.loky.process_executor. TerminatedWorkerError:
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.8k
- Forks
- 920
- Avg merge
- 22h 24m
- Merged PRs (30d)
- 5
Description
bertopic = 0.15.0
joblib = 1.2.0
>>> # train the model
>>> topic_model = BERTopic(
... n_gram_range=(1,2),
... verbose=True,
... calculate_probabilities=True,
... )
>>>
>>> topics, probs = topic_model.fit_transform(text)
**Batches: 100%|██████████| 1050/1050 [07:47<00:00, 2.24it/s]
2023-07-31 14:37:25,655 - BERTopic - Transformed documents to Embeddings
2023-07-31 14:38:07,059 - BERTopic - Reduced dimensionality
.......
joblib.externals.loky.process_executor.TerminatedWorkerError: A worker process managed by the executor was unexpectedly terminated. This could be caused by a segmentation fault while calling the function or by an excessive memory usage causing the Operating System to kill the worker.**
please help @MaartenGr
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 reproducing the reported BERTopic 0.15.0 and joblib 1.2.0 fit_transform call with the shown configuration. Investigate the TerminatedWorkerError after dimensionality reduction and determine whether the failure is reproducible, then document a verified project-level fix or guidance; no source file or test is identified in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100