yuewang-cuhk / TAKG

The official implementation of ACL 2019 paper "Topic-Aware Neural Keyphrase Generation for Social Media Language"
https://www.aclweb.org/anthology/P19-1240
MIT License
154 stars 33 forks source link

neural topic model #4

Closed zk1127 closed 4 years ago

zk1127 commented 4 years ago

Hello, when I only train the neural topic model (100 epochs), I cannot determine the original text corresponding to the generated topwords (eg topwords_e10.txt)? Where are they? Thank you

yuewang-cuhk commented 4 years ago

You can look at the way how I print "topwords_e10.txt" in the file "pykp/model.py", where you can find the print_topic_words function in NTM model class. Thanks~