topical_word_embeddings
topical_word_embeddings copied to clipboard
A demo code for topical word embedding
请问在用TWE-1代码得到word_vector.txt和topic_vector.txt文件后,如何计算得到topical word embeddings?
topical_word_embeddings/TWE-1/gensim/models/word2vec.py", line 901 NameError: global name 'train_sentence_topic' is not defined
hi all, I tried this code, got many problems: 1, What is the parameter setting of GibbsLDA to reproduce paper's result? 2, UserWarning: Cython compilation failed, training will be slow....
python train.py wordmap tassign topic_number /topical_word_embeddings-master/TWE-1/gensim/models/word2vec.py:405: UserWarning: Cython compilation failed, training will be slow. Do you have Cython installed? `pip install cython` warnings.warn("Cython compilation failed, training will be slow. Do...