Giter Site home page Giter Site logo

topical_word_embeddings's People

Contributors

largelymfs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

topical_word_embeddings's Issues

Cannot reproduce the result due to exceptions and what is the parameter setting?

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. Do you have Cython installed? pip install cython
3, File "/home/sbai/Downloads/topical_word_embeddings-master/TWE-1/gensim/models/word2vec.py", line 901, in
job_words = sum(train_sentence_topic(self, sentence, alpha, work) for sentence in job)
NameError: global name 'train_sentence_topic' is not defined

environment: ubuntu14.04 python2.7 64bit.

TWE-1结果如何使用

请问在用TWE-1代码得到word_vector.txt和topic_vector.txt文件后,如何计算得到topical word embeddings?

TWE-1 train failed

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 you have Cython installed? `pip install cython

but i have installed the cython, anything else should I do ?

Exception when running TWE3

I'm running TWE1 and TWE2 successfully, but failed when running TW3, the printed result is shown as below.Does anyone meet same problem? Hopefully can get the answer.

截屏2020-08-21 下午6 22 57

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.