Chord is a distributed (using Downpour) implementation of Google's word2vec using Chapel. The project contains both a 'lexical' port of the original word2vec code (word2vec_classic.chpl) and a distributed variant which takes advantage of Chapel's locality features (word2vec_dsgd.chpl).
Install Chapel. All demo scripts expect a multi-node Chapel installation.
Visit http://chapel.cray.com/download.html and download
To setup Chapel to run locally, add this to your ~/.bash_profile
cd $CHAPEL_HOME source ./util/setchplenv.sh export CHPL_COMM=gasnet export GASNET_SPAWNFN=L export CHPL_TARGET_ARCH=native
cd $CHAPEL_HOME make make check
Run demo-word.sh on multiple locales:
cd scripts ./demo-word.sh
Run word2vec_classic in local mode:
cd scripts ./demo-word-classic.sh