The ctm_topics container adds contextualized topic modeling to the framework. The model is taken from https://github.com/MilaNLProc/contextualized-topic-models. We have (not yet) made any adjustments to the model. It is copied “as is”. We only provide a (smart) wrapper to access the models. “Smart” means:

Use this model if (almost) no apriori knowledge of the topics to be discussed is known. If (generic) topics are known beforehand, you might want to use the module a2t.

Technical Framework

The wrapper is written in R and uses reticulate package to access contextualized topic model Python scripts.

Main Contributor

Valentin Gold