Skip to contents

Create an empty embedder for skipping embedding step of bertopic pipeline

Usage

bt_empty_embedder()

Value

an empty embedding model (Python class)

Details

This refers to the BaseEmbedder() function in the Python BERTopic library and can be used to skip over the document embedding step that occurs as part of fitting the bertopic model to the text data. This is convenient as it allows you to perform document embedding externally to the model which gives full transparency in terms of embedding values and can save time if trialing fitting the model with various parameters.

Examples

empty_emebdder <- bt_empty_embedder()

embedder <- bt_empty_embedder()