Skip to content

Latest commit

 

History

History

examples

How to run example code

  1. install requirements
pip install -r requirements.txt
  1. first, it is good to know about python-fire in https://github.com/google/python-fire, if you haven't heard yet.

  2. run w2v experiments on various setting (e.g. skip gram with hierarchical softmax)

python example_w2v.py run_experiments --sg0=True --hs0=True
  1. run lda experiments
python example_lda.py run_experiments