Features
- Add
Flairto allow for more (custom) token/document embeddings - Option to use custom UMAP, HDBSCAN, and CountVectorizer
- Added
low_memoryparameter to reduce memory during computation - Improved verbosity (shows progress bar)
- Improved testing
- Use the newest version of
sentence-transformersas it speeds ups encoding significantly - Return the figure of
visualize_topics() - Expose all parameters with a single function:
get_params() - Option to disable the saving of
embedding_model, should reduce BERTopic size significantly - Add FAQ page
Fixes
- To simplify the API, the parameters
stop_wordsandn_neighborswere removed. These can still be used when a custom UMAP or CountVectorizer is used. - Set
calculate_probabilitiesto False as a default. Calculating probabilities with HDBSCAN significantly increases computation time and memory usage. Better to remove calculating probabilities or only allow it by manually turning this on.