Would anyone have some example code on how one would approach to do #semisupervised #topicmodelling with #BERTopic on a dataset of articles and book-length documents in order to do document-level #classification and analyses? I am interested in analyzing how document topics change over time.

https://maartengr.github.io/BERTopic/getting_started/semisupervised/semisupervised.html

Semi-supervised Topic Modeling - BERTopic

Leveraging BERT and a class-based TF-IDF to create easily interpretable topics.