/Neural-Topic-Model

Two common Neural Topic Model implemented by Pytorch

Primary LanguagePython

Neural-Topic-Model

Two common Neural Topic Model implemented by Pytorch: ProdLDA and NVDM

model.py: 1. ProdLDA 2. NVDM

preprocess.py: preprocess the text and get BoW

train.py: train and calculate Perplexity, also can run unsupervised text classification